Lines Matching refs:data_reg
115 uint32_t address_reg, data_reg; in galileo_pcibios_read_config_dword() local
129 data_reg = PCI_0CONFIGURATION_DATA_VIRTUAL_REGISTER; in galileo_pcibios_read_config_dword()
133 data_reg = PCI_1CONFIGURATION_DATA_VIRTUAL_REGISTER; in galileo_pcibios_read_config_dword()
146 GT_READ(data_reg, val); in galileo_pcibios_read_config_dword()
156 uint32_t address_reg, data_reg; in galileo_pcibios_read_config_word() local
170 data_reg = PCI_0CONFIGURATION_DATA_VIRTUAL_REGISTER; in galileo_pcibios_read_config_word()
174 data_reg = PCI_1CONFIGURATION_DATA_VIRTUAL_REGISTER; in galileo_pcibios_read_config_word()
187 GT_READ_16(data_reg + (offset & 0x3), val); in galileo_pcibios_read_config_word()
196 uint32_t address_reg, data_reg; in galileo_pcibios_read_config_byte() local
210 data_reg = PCI_0CONFIGURATION_DATA_VIRTUAL_REGISTER; in galileo_pcibios_read_config_byte()
213 data_reg = PCI_1CONFIGURATION_DATA_VIRTUAL_REGISTER; in galileo_pcibios_read_config_byte()
225 GT_READ_8(data_reg + (offset & 0x3), val); in galileo_pcibios_read_config_byte()
234 uint32_t address_reg, data_reg; in galileo_pcibios_write_config_dword() local
248 data_reg = PCI_0CONFIGURATION_DATA_VIRTUAL_REGISTER; in galileo_pcibios_write_config_dword()
251 data_reg = PCI_1CONFIGURATION_DATA_VIRTUAL_REGISTER; in galileo_pcibios_write_config_dword()
263 GT_WRITE(data_reg, val); in galileo_pcibios_write_config_dword()
273 uint32_t address_reg, data_reg; in galileo_pcibios_write_config_word() local
287 data_reg = PCI_0CONFIGURATION_DATA_VIRTUAL_REGISTER; in galileo_pcibios_write_config_word()
290 data_reg = PCI_1CONFIGURATION_DATA_VIRTUAL_REGISTER; in galileo_pcibios_write_config_word()
302 GT_WRITE_16(data_reg + (offset & 0x3), val); in galileo_pcibios_write_config_word()
311 uint32_t address_reg, data_reg; in galileo_pcibios_write_config_byte() local
325 data_reg = PCI_0CONFIGURATION_DATA_VIRTUAL_REGISTER; in galileo_pcibios_write_config_byte()
328 data_reg = PCI_1CONFIGURATION_DATA_VIRTUAL_REGISTER; in galileo_pcibios_write_config_byte()
340 GT_WRITE_8(data_reg + (offset & 0x3), val); in galileo_pcibios_write_config_byte()