Home
last modified time | relevance | path

Searched refs:ctcr0 (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/drivers/ata/
Dpata_pdc2027x.c293 u32 ctcr0, ctcr1; in pdc2027x_set_piomode() local
307 ctcr0 = ioread32(dev_mmio(ap, adev, PDC_CTCR0)); in pdc2027x_set_piomode()
308 ctcr0 &= 0xffff0000; in pdc2027x_set_piomode()
309 ctcr0 |= pdc2027x_pio_timing_tbl[pio].value0 | in pdc2027x_set_piomode()
311 iowrite32(ctcr0, dev_mmio(ap, adev, PDC_CTCR0)); in pdc2027x_set_piomode()
336 u32 ctcr0, ctcr1; in pdc2027x_set_dmamode() local
372 ctcr0 = ioread32(dev_mmio(ap, adev, PDC_CTCR0)); in pdc2027x_set_dmamode()
374 ctcr0 &= 0x0000ffff; in pdc2027x_set_dmamode()
375 ctcr0 |= (pdc2027x_mdma_timing_tbl[mdma_mode].value0 << 16) | in pdc2027x_set_dmamode()
378 iowrite32(ctcr0, dev_mmio(ap, adev, PDC_CTCR0)); in pdc2027x_set_dmamode()