Lines Matching refs:host_mmio
711 void __iomem *host_mmio = host->iomap[PDC_MMIO_BAR]; in pdc_sata_freeze() local
723 hotplug_status = readl(host_mmio + hotplug_offset); in pdc_sata_freeze()
725 writel(hotplug_status, host_mmio + hotplug_offset); in pdc_sata_freeze()
726 readl(host_mmio + hotplug_offset); /* flush */ in pdc_sata_freeze()
749 void __iomem *host_mmio = host->iomap[PDC_MMIO_BAR]; in pdc_sata_thaw() local
759 hotplug_status = readl(host_mmio + hotplug_offset); in pdc_sata_thaw()
762 writel(hotplug_status, host_mmio + hotplug_offset); in pdc_sata_thaw()
763 readl(host_mmio + hotplug_offset); /* flush */ in pdc_sata_thaw()
776 void __iomem *host_mmio = ap->host->iomap[PDC_MMIO_BAR]; in pdc_ata_port_to_ata_no() local
779 return (ata_mmio - host_mmio - 0x200) / 0x80; in pdc_ata_port_to_ata_no()
784 void __iomem *host_mmio = ap->host->iomap[PDC_MMIO_BAR]; in pdc_hard_reset_port() local
785 void __iomem *pcictl_b1_mmio = host_mmio + PDC_PCI_CTL + 1; in pdc_hard_reset_port()
920 void __iomem *host_mmio; in pdc_interrupt() local
932 host_mmio = host->iomap[PDC_MMIO_BAR]; in pdc_interrupt()
939 hotplug_status = readl(host_mmio + hotplug_offset); in pdc_interrupt()
941 writel(hotplug_status | 0xff, host_mmio + hotplug_offset); in pdc_interrupt()
947 mask = readl(host_mmio + PDC_INT_SEQMASK); in pdc_interrupt()
960 writel(mask, host_mmio + PDC_INT_SEQMASK); in pdc_interrupt()
1003 void __iomem *host_mmio = ap->host->iomap[PDC_MMIO_BAR]; in pdc_packet_start() local
1010 writel(0x00000001, host_mmio + (seq * 4)); in pdc_packet_start()
1011 readl(host_mmio + (seq * 4)); /* flush */ in pdc_packet_start()
1110 void __iomem *host_mmio = host->iomap[PDC_MMIO_BAR]; in pdc_host_init() local
1127 tmp = readl(host_mmio + PDC_FLASH_CTL); in pdc_host_init()
1131 writel(tmp, host_mmio + PDC_FLASH_CTL); in pdc_host_init()
1134 tmp = readl(host_mmio + hotplug_offset); in pdc_host_init()
1135 writel(tmp | 0xff, host_mmio + hotplug_offset); in pdc_host_init()
1137 tmp = readl(host_mmio + hotplug_offset); in pdc_host_init()
1139 writel(tmp & ~0xff0000, host_mmio + hotplug_offset); in pdc_host_init()
1141 writel(tmp | 0xff0000, host_mmio + hotplug_offset); in pdc_host_init()
1148 tmp = readl(host_mmio + PDC_TBG_MODE); in pdc_host_init()
1151 writel(tmp, host_mmio + PDC_TBG_MODE); in pdc_host_init()
1153 readl(host_mmio + PDC_TBG_MODE); /* flush */ in pdc_host_init()
1157 tmp = readl(host_mmio + PDC_SLEW_CTL); in pdc_host_init()
1160 writel(tmp, host_mmio + PDC_SLEW_CTL); in pdc_host_init()
1170 void __iomem *host_mmio; in pdc_ata_init_one() local
1186 host_mmio = pcim_iomap_table(pdev)[PDC_MMIO_BAR]; in pdc_ata_init_one()
1196 u8 tmp = readb(host_mmio + PDC_FLASH_CTL + 1); in pdc_ata_init_one()
1220 pdc_ata_setup_port(ap, host_mmio + ata_offset, host_mmio + scr_offset); in pdc_ata_init_one()