Home
last modified time | relevance | path

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

/linux/drivers/ata/
H A Dpata_radisys.c135 u8 udma_mode; in radisys_set_dmamode() local
139 pci_read_config_byte(dev, 0x4A, &udma_mode); in radisys_set_dmamode()
142 udma_mode &= ~(2 << (adev->devno * 4)); in radisys_set_dmamode()
144 udma_mode |= (2 << (adev->devno * 4)); in radisys_set_dmamode()
146 pci_write_config_byte(dev, 0x4A, udma_mode); in radisys_set_dmamode()
H A Dpata_pdc2027x.c332 unsigned int udma_mode = dma_mode & 0x07; in pdc2027x_set_dmamode() local
348 ctcr1 |= pdc2027x_udma_timing_tbl[udma_mode].value0 | in pdc2027x_set_dmamode()
349 (pdc2027x_udma_timing_tbl[udma_mode].value1 << 8) | in pdc2027x_set_dmamode()
350 (pdc2027x_udma_timing_tbl[udma_mode].value2 << 16); in pdc2027x_set_dmamode()
353 ata_port_dbg(ap, "Set to udma mode[%u] \n", udma_mode); in pdc2027x_set_dmamode()