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

/linux-4.4.14/arch/mips/pci/
H A Dops-rc32434.c46 static inline int config_access(unsigned char access_type, config_access() function
78 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); read_config_byte()
89 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); read_config_word()
108 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, val); read_config_dword()
134 if (config_access(PCI_ACCESS_READ, bus, devfn, where, &data)) write_config_byte()
140 if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &data)) write_config_byte()
153 if (config_access(PCI_ACCESS_READ, bus, devfn, where, &data)) write_config_word()
159 if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &data)) write_config_word()
171 if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &val)) write_config_dword()
H A Dpci-alchemy.c98 static int config_access(unsigned char access_type, struct pci_bus *bus, config_access() function
191 int ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); read_config_byte()
205 int ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); read_config_word()
216 return config_access(PCI_ACCESS_READ, bus, devfn, where, val); read_config_dword()
224 if (config_access(PCI_ACCESS_READ, bus, devfn, where, &data)) write_config_byte()
230 if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &data)) write_config_byte()
241 if (config_access(PCI_ACCESS_READ, bus, devfn, where, &data)) write_config_word()
247 if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &data)) write_config_word()
256 return config_access(PCI_ACCESS_WRITE, bus, devfn, where, &val); write_config_dword()

Completed in 72 milliseconds