Home
last modified time | relevance | path

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

/openbmc/linux/drivers/ata/
H A Dpata_oldpiix.c69 u16 idetm_data; in oldpiix_set_piomode() local
101 idetm_data &= 0xCCE0; in oldpiix_set_piomode()
102 idetm_data |= control; in oldpiix_set_piomode()
104 idetm_data &= 0xCC0E; in oldpiix_set_piomode()
105 idetm_data |= (control << 4); in oldpiix_set_piomode()
107 idetm_data |= (timings[pio][0] << 12) | in oldpiix_set_piomode()
130 u16 idetm_data; in oldpiix_set_dmamode() local
169 idetm_data &= 0xCCE0; in oldpiix_set_dmamode()
170 idetm_data |= control; in oldpiix_set_dmamode()
172 idetm_data &= 0xCC0E; in oldpiix_set_dmamode()
[all …]
H A Dpata_radisys.c44 u16 idetm_data; in radisys_set_piomode() local
66 pci_read_config_word(dev, 0x40, &idetm_data); in radisys_set_piomode()
70 idetm_data &= 0xCCCC; in radisys_set_piomode()
71 idetm_data |= (control << (4 * adev->devno)); in radisys_set_piomode()
72 idetm_data |= (timings[pio][0] << 12) | in radisys_set_piomode()
74 pci_write_config_word(dev, 0x40, idetm_data); in radisys_set_piomode()
94 u16 idetm_data; in radisys_set_dmamode() local
109 pci_read_config_word(dev, 0x40, &idetm_data); in radisys_set_dmamode()
129 idetm_data &= 0xCCCC; in radisys_set_dmamode()
130 idetm_data |= control << (4 * adev->devno); in radisys_set_dmamode()
[all …]