Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/ide/
Dslc90e66.c80 int u_speed = 0, u_flag = 1 << drive->dn; in slc90e66_set_dma_mode() local
91 u_speed = (speed - XFER_UDMA_0) << (drive->dn * 4); in slc90e66_set_dma_mode()
95 if ((reg4a & a_speed) != u_speed) { in slc90e66_set_dma_mode()
98 pci_write_config_word(dev, 0x4a, reg4a|u_speed); in slc90e66_set_dma_mode()
Dit8213.c91 int u_speed = 0; in it8213_set_dma_mode() local
105 u_speed = min_t(u8, 2 - (udma & 1), udma) << (drive->dn * 4); in it8213_set_dma_mode()
114 if ((reg4a & a_speed) != u_speed) in it8213_set_dma_mode()
115 pci_write_config_word(dev, 0x4a, (reg4a & ~a_speed) | u_speed); in it8213_set_dma_mode()
Dit8172.c85 int u_speed = 0; in it8172_set_dma_mode() local
94 u_speed = udma << (drive->dn * 4); in it8172_set_dma_mode()
98 pci_write_config_byte(dev, 0x4a, reg4a | u_speed); in it8172_set_dma_mode()
Dpiix.c145 int u_speed = 0; in piix_set_dma_mode() local
161 u_speed = min_t(u8, 2 - (udma & 1), udma) << (drive->dn * 4); in piix_set_dma_mode()
170 if ((reg4a & a_speed) != u_speed) in piix_set_dma_mode()
171 pci_write_config_word(dev, 0x4a, (reg4a & ~a_speed) | u_speed); in piix_set_dma_mode()
/Linux-v4.19/drivers/ata/
Dpata_it8213.c161 int u_clock, u_speed; in it8213_set_dmamode() local
164 u_speed = min(2 - (udma & 1), udma); in it8213_set_dmamode()
177 udma_timing |= u_speed << (4 * devid); in it8213_set_dmamode()
Dpata_rdc.c209 int u_clock, u_speed; in rdc_set_dmamode() local
218 u_speed = min(2 - (udma & 1), udma); in rdc_set_dmamode()
231 udma_timing |= u_speed << (4 * devid); in rdc_set_dmamode()
Data_piix.c692 int u_clock, u_speed; in do_pata_set_dmamode() local
705 u_speed = min(2 - (udma & 1), udma); in do_pata_set_dmamode()
718 udma_timing |= u_speed << (4 * devid); in do_pata_set_dmamode()