Lines Matching defs:port_base
271 static void inic_reset_port(void __iomem *port_base)
273 void __iomem *idma_ctl = port_base + PORT_IDMA_CTL;
288 writeb(0xff, port_base + PORT_IRQ_STAT);
319 void __iomem *port_base = inic_port_base(ap);
321 readb(port_base + PORT_RPQ_FIFO);
322 readb(port_base + PORT_RPQ_CNT);
323 writew(0, port_base + PORT_IDMA_CTL);
384 void __iomem *port_base = inic_port_base(ap);
390 irq_stat = readb(port_base + PORT_IRQ_STAT);
391 writeb(irq_stat, port_base + PORT_IRQ_STAT);
392 idma_stat = readw(port_base + PORT_IDMA_STAT);
406 if (unlikely(readb(port_base + PORT_TF_COMMAND) &
548 void __iomem *port_base = inic_port_base(ap);
551 writew(HCTL_FTHD0 | HCTL_LEDEN, port_base + HOST_CTL);
552 writew(IDMA_CTL_GO, port_base + PORT_IDMA_CTL);
553 writeb(0, port_base + PORT_CPB_PTQFIFO);
560 void __iomem *port_base = inic_port_base(ap);
562 tf->feature = readb(port_base + PORT_TF_FEATURE);
563 tf->nsect = readb(port_base + PORT_TF_NSECT);
564 tf->lbal = readb(port_base + PORT_TF_LBAL);
565 tf->lbam = readb(port_base + PORT_TF_LBAM);
566 tf->lbah = readb(port_base + PORT_TF_LBAH);
567 tf->device = readb(port_base + PORT_TF_DEVICE);
568 tf->command = readb(port_base + PORT_TF_COMMAND);
595 void __iomem *port_base = inic_port_base(ap);
597 writeb(PIRQ_MASK_FREEZE, port_base + PORT_IRQ_MASK);
598 writeb(0xff, port_base + PORT_IRQ_STAT);
603 void __iomem *port_base = inic_port_base(ap);
605 writeb(0xff, port_base + PORT_IRQ_STAT);
606 writeb(PIRQ_MASK_DEFAULT, port_base + PORT_IRQ_MASK);
611 void __iomem *port_base = inic_port_base(link->ap);
613 return ata_check_ready(readb(port_base + PORT_TF_COMMAND));
624 void __iomem *port_base = inic_port_base(ap);
625 void __iomem *idma_ctl = port_base + PORT_IDMA_CTL;
630 inic_reset_port(port_base);
668 void __iomem *port_base = inic_port_base(ap);
670 inic_reset_port(port_base);
683 void __iomem *port_base = inic_port_base(ap);
691 writel(pp->cpb_tbl_dma, port_base + PORT_CPB_CPBLAR);
781 void __iomem *port_base = mmio_base + i * PORT_SIZE;
783 writeb(0xff, port_base + PORT_IRQ_MASK);
784 inic_reset_port(port_base);