Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/pci/
H A Dops-rc32434.c46 static inline int config_access(unsigned char access_type, in config_access() function
78 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); in read_config_byte()
89 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); in read_config_word()
108 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, val); in read_config_dword()
134 if (config_access(PCI_ACCESS_READ, bus, devfn, where, &data)) in write_config_byte()
140 if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &data)) in write_config_byte()
153 if (config_access(PCI_ACCESS_READ, bus, devfn, where, &data)) in write_config_word()
159 if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &data)) in write_config_word()
171 if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &val)) in write_config_dword()
H A Dpci-alchemy.c99 static int config_access(unsigned char access_type, struct pci_bus *bus, in config_access() function
192 int ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); in read_config_byte()
206 int ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); in read_config_word()
217 return config_access(PCI_ACCESS_READ, bus, devfn, where, val); in read_config_dword()
225 if (config_access(PCI_ACCESS_READ, bus, devfn, where, &data)) in write_config_byte()
231 if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &data)) in write_config_byte()
242 if (config_access(PCI_ACCESS_READ, bus, devfn, where, &data)) in write_config_word()
248 if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &data)) in write_config_word()
257 return config_access(PCI_ACCESS_WRITE, bus, devfn, where, &val); in write_config_dword()