Lines Matching refs:ctcr1
286 u32 ctcr0, ctcr1; in pdc2027x_set_piomode() local
306 ctcr1 = ioread32(dev_mmio(ap, adev, PDC_CTCR1)); in pdc2027x_set_piomode()
307 ctcr1 &= 0x00ffffff; in pdc2027x_set_piomode()
308 ctcr1 |= (pdc2027x_pio_timing_tbl[pio].value2 << 24); in pdc2027x_set_piomode()
309 iowrite32(ctcr1, dev_mmio(ap, adev, PDC_CTCR1)); in pdc2027x_set_piomode()
327 u32 ctcr0, ctcr1; in pdc2027x_set_dmamode() local
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()
347 ctcr1 &= 0xff000000; in pdc2027x_set_dmamode()
348 ctcr1 |= pdc2027x_udma_timing_tbl[udma_mode].value0 | in pdc2027x_set_dmamode()
351 iowrite32(ctcr1, dev_mmio(ap, adev, PDC_CTCR1)); in pdc2027x_set_dmamode()
401 u32 ctcr1 = ioread32(dev_mmio(ap, dev, PDC_CTCR1)); in pdc2027x_set_mode() local
402 ctcr1 |= (1 << 25); in pdc2027x_set_mode()
403 iowrite32(ctcr1, dev_mmio(ap, dev, PDC_CTCR1)); in pdc2027x_set_mode()