Lines Matching refs:dev_mmio
185 static inline void __iomem *dev_mmio(struct ata_port *ap, struct ata_device *adev, unsigned int off… in dev_mmio() function
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()
341 iowrite32(ctcr1 & ~(1 << 7), 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()
403 iowrite32(ctcr1, dev_mmio(ap, dev, PDC_CTCR1)); in pdc2027x_set_mode()