Searched refs:dev_mmio (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/ata/ |
H A D | pata_pdc2027x.c | 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() [all …]
|