Lines Matching refs:ata_mmio
453 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_pata_cable_detect() local
455 tmp = readb(ata_mmio + PDC_CTLSTAT + 3); in pdc_pata_cable_detect()
696 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_freeze() local
699 tmp = readl(ata_mmio + PDC_CTLSTAT); in pdc_freeze()
702 writel(tmp, ata_mmio + PDC_CTLSTAT); in pdc_freeze()
703 readl(ata_mmio + PDC_CTLSTAT); /* flush */ in pdc_freeze()
731 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_thaw() local
735 readl(ata_mmio + PDC_COMMAND); in pdc_thaw()
738 tmp = readl(ata_mmio + PDC_CTLSTAT); in pdc_thaw()
740 writel(tmp, ata_mmio + PDC_CTLSTAT); in pdc_thaw()
741 readl(ata_mmio + PDC_CTLSTAT); /* flush */ in pdc_thaw()
773 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_ata_port_to_ata_no() local
777 return (ata_mmio - host_mmio - 0x200) / 0x80; in pdc_ata_port_to_ata_no()
873 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_host_intr() local
881 port_status = readl(ata_mmio + PDC_GLOBAL_CTL); in pdc_host_intr()
906 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_irq_clear() local
908 readl(ata_mmio + PDC_COMMAND); in pdc_irq_clear()
991 void __iomem *ata_mmio = ap->ioaddr.cmd_addr; in pdc_packet_start() local
1000 writel(pp->pkt_dma, ata_mmio + PDC_PKT_SUBMIT); in pdc_packet_start()
1001 readl(ata_mmio + PDC_PKT_SUBMIT); /* flush */ in pdc_packet_start()