• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ata/

Lines Matching defs:port_base

253 static void inic_reset_port(void __iomem *port_base)
255 void __iomem *idma_ctl = port_base + PORT_IDMA_CTL;
270 writeb(0xff, port_base + PORT_IRQ_STAT);
303 void __iomem *port_base = inic_port_base(ap);
305 readb(port_base + PORT_RPQ_FIFO);
306 readb(port_base + PORT_RPQ_CNT);
307 writew(0, port_base + PORT_IDMA_CTL);
368 void __iomem *port_base = inic_port_base(ap);
374 irq_stat = readb(port_base + PORT_IRQ_STAT);
375 writeb(irq_stat, port_base + PORT_IRQ_STAT);
376 idma_stat = readw(port_base + PORT_IDMA_STAT);
390 if (unlikely(readb(port_base + PORT_TF_COMMAND) &
531 void __iomem *port_base = inic_port_base(ap);
534 writew(HCTL_FTHD0 | HCTL_LEDEN, port_base + HOST_CTL);
535 writew(IDMA_CTL_GO, port_base + PORT_IDMA_CTL);
536 writeb(0, port_base + PORT_CPB_PTQFIFO);
543 void __iomem *port_base = inic_port_base(ap);
545 tf->feature = readb(port_base + PORT_TF_FEATURE);
546 tf->nsect = readb(port_base + PORT_TF_NSECT);
547 tf->lbal = readb(port_base + PORT_TF_LBAL);
548 tf->lbam = readb(port_base + PORT_TF_LBAM);
549 tf->lbah = readb(port_base + PORT_TF_LBAH);
550 tf->device = readb(port_base + PORT_TF_DEVICE);
551 tf->command = readb(port_base + PORT_TF_COMMAND);
571 void __iomem *port_base = inic_port_base(ap);
573 writeb(PIRQ_MASK_FREEZE, port_base + PORT_IRQ_MASK);
574 writeb(0xff, port_base + PORT_IRQ_STAT);
579 void __iomem *port_base = inic_port_base(ap);
581 writeb(0xff, port_base + PORT_IRQ_STAT);
582 writeb(PIRQ_MASK_DEFAULT, port_base + PORT_IRQ_MASK);
587 void __iomem *port_base = inic_port_base(link->ap);
589 return ata_check_ready(readb(port_base + PORT_TF_COMMAND));
600 void __iomem *port_base = inic_port_base(ap);
601 void __iomem *idma_ctl = port_base + PORT_IDMA_CTL;
606 inic_reset_port(port_base);
642 void __iomem *port_base = inic_port_base(ap);
644 inic_reset_port(port_base);
657 void __iomem *port_base = inic_port_base(ap);
665 writel(pp->cpb_tbl_dma, port_base + PORT_CPB_CPBLAR);
755 void __iomem *port_base = mmio_base + i * PORT_SIZE;
757 writeb(0xff, port_base + PORT_IRQ_MASK);
758 inic_reset_port(port_base);