Searched refs:u_speed (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/drivers/ide/ |
D | slc90e66.c | 80 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()
|
D | it8213.c | 91 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()
|
D | it8172.c | 85 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()
|
D | piix.c | 145 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/ |
D | pata_it8213.c | 161 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()
|
D | pata_rdc.c | 209 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()
|
D | ata_piix.c | 692 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()
|