Lines Matching refs:master_data
96 u16 master_data; in rdc_set_piomode() local
122 pci_read_config_word(dev, master_port, &master_data); in rdc_set_piomode()
125 master_data &= 0xff0f; in rdc_set_piomode()
127 master_data |= 0x4000; in rdc_set_piomode()
129 master_data |= (control << 4); in rdc_set_piomode()
137 master_data &= 0xccf0; in rdc_set_piomode()
139 master_data |= control; in rdc_set_piomode()
141 master_data |= in rdc_set_piomode()
145 pci_write_config_word(dev, master_port, master_data); in rdc_set_piomode()
175 u16 master_data; in rdc_set_dmamode() local
189 pci_read_config_word(dev, master_port, &master_data); in rdc_set_dmamode()
250 master_data &= 0xFF4F; /* Mask out IORDY|TIME1|DMAONLY */ in rdc_set_dmamode()
251 master_data |= control << 4; in rdc_set_dmamode()
258 master_data &= 0xCCF4; /* Mask out IORDY|TIME1|DMAONLY in rdc_set_dmamode()
260 master_data |= control; in rdc_set_dmamode()
261 master_data |= in rdc_set_dmamode()
267 pci_write_config_word(dev, master_port, master_data); in rdc_set_dmamode()