Lines Matching refs:config_reg
38 uint32_t config_reg; member
48 if (s->config_reg & (1u << 31)) in pci_host_data_writeb()
49 pci_data_write(s->bus, s->config_reg | (addr & 3), val, 1); in pci_host_data_writeb()
60 if (s->config_reg & (1u << 31)) in pci_host_data_writew()
61 pci_data_write(s->bus, s->config_reg | (addr & 3), val, 2); in pci_host_data_writew()
72 if (s->config_reg & (1u << 31)) in pci_host_data_writel()
73 pci_data_write(s->bus, s->config_reg, val, 4); in pci_host_data_writel()
81 if (!(s->config_reg & (1 << 31))) in pci_host_data_readb()
83 val = pci_data_read(s->bus, s->config_reg | (addr & 3), 1); in pci_host_data_readb()
93 if (!(s->config_reg & (1 << 31))) in pci_host_data_readw()
95 val = pci_data_read(s->bus, s->config_reg | (addr & 3), 2); in pci_host_data_readw()
108 if (!(s->config_reg & (1 << 31))) in pci_host_data_readl()
110 val = pci_data_read(s->bus, s->config_reg | (addr & 3), 4); in pci_host_data_readl()