Lines Matching refs:base
65 void *base; in PCI_OPS() local
67 if ((base = bus->ops->map(bus, devfn, reg))) in PCI_OPS()
71 *value = HWREG8(base); in PCI_OPS()
75 *value = HWREG16(base); in PCI_OPS()
79 *value = HWREG32(base); in PCI_OPS()
91 void *base; in rt_pci_bus_write_config_uxx() local
93 if ((base = bus->ops->map(bus, devfn, reg))) in rt_pci_bus_write_config_uxx()
97 HWREG8(base) = value; in rt_pci_bus_write_config_uxx()
101 HWREG16(base) = value; in rt_pci_bus_write_config_uxx()
105 HWREG32(base) = value; in rt_pci_bus_write_config_uxx()
117 void *base; in rt_pci_bus_read_config_generic_u32() local
119 if ((base = bus->ops->map(bus, devfn, reg))) in rt_pci_bus_read_config_generic_u32()
121 *value = HWREG32(base); in rt_pci_bus_read_config_generic_u32()
137 void *base; in rt_pci_bus_write_config_generic_u32() local
139 if ((base = bus->ops->map(bus, devfn, reg & ~0x3))) in rt_pci_bus_write_config_generic_u32()
143 HWREG32(base) = value; in rt_pci_bus_write_config_generic_u32()
150 tmp = HWREG32(base) & mask; in rt_pci_bus_write_config_generic_u32()
152 HWREG32(base) = tmp; in rt_pci_bus_write_config_generic_u32()