Searched refs:idetm_data (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/ata/
H A Dpata_oldpiix.c68 u16 idetm_data; oldpiix_set_piomode() local
93 pci_read_config_word(dev, idetm_port, &idetm_data); oldpiix_set_piomode()
100 idetm_data &= 0xCCE0; oldpiix_set_piomode()
101 idetm_data |= control; oldpiix_set_piomode()
103 idetm_data &= 0xCC0E; oldpiix_set_piomode()
104 idetm_data |= (control << 4); oldpiix_set_piomode()
106 idetm_data |= (timings[pio][0] << 12) | oldpiix_set_piomode()
108 pci_write_config_word(dev, idetm_port, idetm_data); oldpiix_set_piomode()
129 u16 idetm_data; oldpiix_set_dmamode() local
151 pci_read_config_word(dev, idetm_port, &idetm_data); oldpiix_set_dmamode()
168 idetm_data &= 0xCCE0; oldpiix_set_dmamode()
169 idetm_data |= control; oldpiix_set_dmamode()
171 idetm_data &= 0xCC0E; oldpiix_set_dmamode()
172 idetm_data |= (control << 4); oldpiix_set_dmamode()
174 idetm_data |= (timings[pio][0] << 12) | (timings[pio][1] << 8); oldpiix_set_dmamode()
175 pci_write_config_word(dev, idetm_port, idetm_data); oldpiix_set_dmamode()
H A Dpata_radisys.c43 u16 idetm_data; radisys_set_piomode() local
65 pci_read_config_word(dev, 0x40, &idetm_data); radisys_set_piomode()
69 idetm_data &= 0xCCCC; radisys_set_piomode()
70 idetm_data |= (control << (4 * adev->devno)); radisys_set_piomode()
71 idetm_data |= (timings[pio][0] << 12) | radisys_set_piomode()
73 pci_write_config_word(dev, 0x40, idetm_data); radisys_set_piomode()
93 u16 idetm_data; radisys_set_dmamode() local
108 pci_read_config_word(dev, 0x40, &idetm_data); radisys_set_dmamode()
128 idetm_data &= 0xCCCC; radisys_set_dmamode()
129 idetm_data |= control << (4 * adev->devno); radisys_set_dmamode()
130 idetm_data |= (timings[pio][0] << 12) | (timings[pio][1] << 8); radisys_set_dmamode()
149 pci_write_config_word(dev, 0x40, idetm_data); radisys_set_dmamode()

Completed in 115 milliseconds