Lines Matching refs:data_reg
117 uint32_t address_reg, data_reg; in galileo_pcibios_read_config_dword() local
131 data_reg = MV64340_PCI_0_CONFIG_DATA_VIRTUAL_REG; in galileo_pcibios_read_config_dword()
134 data_reg = MV64340_PCI_1_CONFIG_DATA_VIRTUAL_REG; in galileo_pcibios_read_config_dword()
144 MV_READ(data_reg, val); in galileo_pcibios_read_config_dword()
154 uint32_t address_reg, data_reg; in galileo_pcibios_read_config_word() local
168 data_reg = MV64340_PCI_0_CONFIG_DATA_VIRTUAL_REG; in galileo_pcibios_read_config_word()
171 data_reg = MV64340_PCI_1_CONFIG_DATA_VIRTUAL_REG; in galileo_pcibios_read_config_word()
181 MV_READ_16(data_reg + (offset & 0x3), val); in galileo_pcibios_read_config_word()
190 uint32_t address_reg, data_reg; in galileo_pcibios_read_config_byte() local
204 data_reg = MV64340_PCI_0_CONFIG_DATA_VIRTUAL_REG; in galileo_pcibios_read_config_byte()
207 data_reg = MV64340_PCI_1_CONFIG_DATA_VIRTUAL_REG; in galileo_pcibios_read_config_byte()
217 MV_READ_8(data_reg + (offset & 0x3), val); in galileo_pcibios_read_config_byte()
226 uint32_t address_reg, data_reg; in galileo_pcibios_write_config_dword() local
240 data_reg = MV64340_PCI_0_CONFIG_DATA_VIRTUAL_REG; in galileo_pcibios_write_config_dword()
243 data_reg = MV64340_PCI_1_CONFIG_DATA_VIRTUAL_REG; in galileo_pcibios_write_config_dword()
253 MV_WRITE(data_reg, val); in galileo_pcibios_write_config_dword()
263 uint32_t address_reg, data_reg; in galileo_pcibios_write_config_word() local
277 data_reg = MV64340_PCI_0_CONFIG_DATA_VIRTUAL_REG; in galileo_pcibios_write_config_word()
280 data_reg = MV64340_PCI_1_CONFIG_DATA_VIRTUAL_REG; in galileo_pcibios_write_config_word()
290 MV_WRITE_16(data_reg + (offset & 0x3), val); in galileo_pcibios_write_config_word()
299 uint32_t address_reg, data_reg; in galileo_pcibios_write_config_byte() local
313 data_reg = MV64340_PCI_0_CONFIG_DATA_VIRTUAL_REG; in galileo_pcibios_write_config_byte()
316 data_reg = MV64340_PCI_1_CONFIG_DATA_VIRTUAL_REG; in galileo_pcibios_write_config_byte()
326 MV_WRITE_8(data_reg + (offset & 0x3), val); in galileo_pcibios_write_config_byte()