Home
last modified time | relevance | path

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

/linux-2.6.39/arch/mips/pci/
Dops-rc32434.c47 static inline int config_access(unsigned char access_type, in config_access() function
79 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); in read_config_byte()
90 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); in read_config_word()
109 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, val); in read_config_dword()
135 if (config_access(PCI_ACCESS_READ, bus, devfn, where, &data)) in write_config_byte()
141 if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &data)) in write_config_byte()
154 if (config_access(PCI_ACCESS_READ, bus, devfn, where, &data)) in write_config_word()
160 if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &data)) in write_config_word()
172 if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &val)) in write_config_dword()
Dops-au1000.c93 static int config_access(unsigned char access_type, struct pci_bus *bus, in config_access() function
195 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); in read_config_byte()
210 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); in read_config_word()
222 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, val); in read_config_dword()
231 if (config_access(PCI_ACCESS_READ, bus, devfn, where, &data)) in write_config_byte()
237 if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &data)) in write_config_byte()
248 if (config_access(PCI_ACCESS_READ, bus, devfn, where, &data)) in write_config_word()
254 if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &data)) in write_config_word()
263 if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &val)) in write_config_dword()
Dops-pnx8550.c53 config_access(unsigned int pci_cmd, struct pci_bus *bus, unsigned int devfn, int where, unsigned in… in config_access() function
121 err = config_access(PCI_CMD_CONFIG_READ, bus, devfn, where, ~(1 << (where & 3)), &data); in read_config_byte()
152 err = config_access(PCI_CMD_CONFIG_READ, bus, devfn, where, ~(3 << (where & 3)), &data); in read_config_word()
175 err = config_access(PCI_CMD_CONFIG_READ, bus, devfn, where, 0, val); in read_config_dword()
203 err = config_access(PCI_CMD_CONFIG_WRITE, bus, devfn, where, ~(1 << (where & 3)), &data); in write_config_byte()
227 err = config_access(PCI_CMD_CONFIG_WRITE, bus, devfn, where, ~(3 << (where & 3)), &data); in write_config_word()
242 err = config_access(PCI_CMD_CONFIG_WRITE, bus, devfn, where, 0, &val); in write_config_dword()