Lines Matching refs:master_data
90 u16 master_data; in efar_set_piomode() local
116 pci_read_config_word(dev, master_port, &master_data); in efar_set_piomode()
120 master_data &= 0xCCF0; in efar_set_piomode()
121 master_data |= control; in efar_set_piomode()
122 master_data |= (timings[pio][0] << 12) | in efar_set_piomode()
128 master_data &= 0xFF0F; in efar_set_piomode()
129 master_data |= (control << 4); in efar_set_piomode()
138 master_data |= 0x4000; /* Ensure SITRE is set */ in efar_set_piomode()
139 pci_write_config_word(dev, master_port, master_data); in efar_set_piomode()
162 u16 master_data; in efar_set_dmamode() local
177 pci_read_config_word(dev, master_port, &master_data); in efar_set_dmamode()
215 master_data &= 0xFF4F; /* Mask out IORDY|TIME1|DMAONLY */ in efar_set_dmamode()
216 master_data |= control << 4; in efar_set_dmamode()
223 master_data &= 0xCCF4; /* Mask out IORDY|TIME1|DMAONLY in efar_set_dmamode()
225 master_data |= control; in efar_set_dmamode()
226 master_data |= in efar_set_dmamode()
231 pci_write_config_word(dev, master_port, master_data); in efar_set_dmamode()