Lines Matching refs:master_data
107 u16 master_data; in rdc_set_piomode() local
131 pci_read_config_word(dev, master_port, &master_data); in rdc_set_piomode()
134 master_data &= 0xff0f; in rdc_set_piomode()
136 master_data |= 0x4000; in rdc_set_piomode()
138 master_data |= (control << 4); in rdc_set_piomode()
146 master_data &= 0xccf0; in rdc_set_piomode()
148 master_data |= control; in rdc_set_piomode()
150 master_data |= in rdc_set_piomode()
154 pci_write_config_word(dev, master_port, master_data); in rdc_set_piomode()
181 u16 master_data; in rdc_set_dmamode() local
193 pci_read_config_word(dev, master_port, &master_data); in rdc_set_dmamode()
254 master_data &= 0xFF4F; /* Mask out IORDY|TIME1|DMAONLY */ in rdc_set_dmamode()
255 master_data |= control << 4; in rdc_set_dmamode()
262 master_data &= 0xCCF4; /* Mask out IORDY|TIME1|DMAONLY in rdc_set_dmamode()
264 master_data |= control; in rdc_set_dmamode()
265 master_data |= in rdc_set_dmamode()
271 pci_write_config_word(dev, master_port, master_data); in rdc_set_dmamode()