Searched refs:dev_mmio (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/ata/ |
H A D | pata_pdc2027x.c | 300 ctcr0 = ioread32(dev_mmio(ap, adev, PDC_CTCR0)); in pdc2027x_set_piomode() 304 iowrite32(ctcr0, dev_mmio(ap, adev, PDC_CTCR0)); in pdc2027x_set_piomode() 306 ctcr1 = ioread32(dev_mmio(ap, adev, PDC_CTCR1)); in pdc2027x_set_piomode() 309 iowrite32(ctcr1, dev_mmio(ap, adev, PDC_CTCR1)); in pdc2027x_set_piomode() 340 ctcr1 = ioread32(dev_mmio(ap, adev, PDC_CTCR1)); in pdc2027x_set_dmamode() 346 ctcr1 = ioread32(dev_mmio(ap, adev, PDC_CTCR1)); in pdc2027x_set_dmamode() 351 iowrite32(ctcr1, dev_mmio(ap, adev, PDC_CTCR1)); in pdc2027x_set_dmamode() 361 ctcr0 = ioread32(dev_mmio(ap, adev, PDC_CTCR0)); in pdc2027x_set_dmamode() 367 iowrite32(ctcr0, dev_mmio(ap, adev, PDC_CTCR0)); in pdc2027x_set_dmamode() 401 u32 ctcr1 = ioread32(dev_mmio(ap, dev, PDC_CTCR1)); in pdc2027x_set_mode() [all …]
|