Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/ide/
Dslc90e66.c80 int sitre = 0, a_speed = 7 << (drive->dn * 4); in slc90e66_set_dma_mode() local
96 if ((reg4a & a_speed) != u_speed) { in slc90e66_set_dma_mode()
97 pci_write_config_word(dev, 0x4a, reg4a & ~a_speed); in slc90e66_set_dma_mode()
106 if (reg4a & a_speed) in slc90e66_set_dma_mode()
107 pci_write_config_word(dev, 0x4a, reg4a & ~a_speed); in slc90e66_set_dma_mode()
Dit8213.c88 int a_speed = 3 << (drive->dn * 4); in it8213_set_dma_mode() local
115 if ((reg4a & a_speed) != u_speed) in it8213_set_dma_mode()
116 pci_write_config_word(dev, 0x4a, (reg4a & ~a_speed) | u_speed); in it8213_set_dma_mode()
127 if (reg4a & a_speed) in it8213_set_dma_mode()
128 pci_write_config_word(dev, 0x4a, reg4a & ~a_speed); in it8213_set_dma_mode()
Dit8172.c83 int a_speed = 3 << (drive->dn * 4); in it8172_set_dma_mode() local
97 reg4a &= ~a_speed; in it8172_set_dma_mode()
103 pci_write_config_byte(dev, 0x4a, reg4a & ~a_speed); in it8172_set_dma_mode()
Dpiix.c141 int a_speed = 3 << (drive->dn * 4); in piix_set_dma_mode() local
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()
182 if (reg4a & a_speed) in piix_set_dma_mode()
183 pci_write_config_word(dev, 0x4a, reg4a & ~a_speed); in piix_set_dma_mode()