Lines Matching refs:master_data
80 u16 master_data; in it8213_set_piomode() local
103 pci_read_config_word(dev, master_port, &master_data); in it8213_set_piomode()
107 master_data &= 0xCCF0; in it8213_set_piomode()
108 master_data |= control; in it8213_set_piomode()
109 master_data |= (timings[pio][0] << 12) | in it8213_set_piomode()
114 master_data &= 0xFF0F; in it8213_set_piomode()
115 master_data |= (control << 4); in it8213_set_piomode()
124 master_data |= 0x4000; /* Ensure SITRE is set */ in it8213_set_piomode()
125 pci_write_config_word(dev, master_port, master_data); in it8213_set_piomode()
143 u16 master_data; in it8213_set_dmamode() local
155 pci_read_config_word(dev, 0x40, &master_data); in it8213_set_dmamode()
210 master_data &= 0xFF4F; /* Mask out IORDY|TIME1|DMAONLY */ in it8213_set_dmamode()
211 master_data |= control << 4; in it8213_set_dmamode()
218 master_data &= 0xCCF4; /* Mask out IORDY|TIME1|DMAONLY in it8213_set_dmamode()
220 master_data |= control; in it8213_set_dmamode()
221 master_data |= in it8213_set_dmamode()
226 pci_write_config_word(dev, 0x40, master_data); in it8213_set_dmamode()