Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/ide/
Dit8213.c90 int v_flag = 0x01 << drive->dn; in it8213_set_dma_mode() local
118 if (!(reg54 & v_flag)) in it8213_set_dma_mode()
119 pci_write_config_byte(dev, 0x54, reg54 | v_flag); in it8213_set_dma_mode()
121 pci_write_config_byte(dev, 0x54, reg54 & ~v_flag); in it8213_set_dma_mode()
129 if (reg54 & v_flag) in it8213_set_dma_mode()
130 pci_write_config_byte(dev, 0x54, reg54 & ~v_flag); in it8213_set_dma_mode()
Dpiix.c143 int v_flag = 0x01 << drive->dn; in piix_set_dma_mode() local
173 if (!(reg54 & v_flag)) in piix_set_dma_mode()
174 pci_write_config_byte(dev, 0x54, reg54 | v_flag); in piix_set_dma_mode()
176 pci_write_config_byte(dev, 0x54, reg54 & ~v_flag); in piix_set_dma_mode()
184 if (reg54 & v_flag) in piix_set_dma_mode()
185 pci_write_config_byte(dev, 0x54, reg54 & ~v_flag); in piix_set_dma_mode()