Searched refs:v_flag (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/ide/ |
D | it8213.c | 90 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()
|
D | piix.c | 143 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()
|