Lines Matching refs:where
62 unsigned int devfn, int where) in set_pci_configuration_address() argument
84 static int pci_config_read(struct pci_bus *bus, unsigned int devfn, int where, in pci_config_read() argument
99 if (set_pci_configuration_address(bus_num, devfn, where) < 0) in pci_config_read()
104 (where & 0xfffffffc)); in pci_config_read()
108 *val = (data >> ((where & 3) << 3)) & 0xffU; in pci_config_read()
111 *val = (data >> ((where & 2) << 3)) & 0xffffU; in pci_config_read()
129 static int pci_config_write(struct pci_bus *bus, unsigned int devfn, int where, in pci_config_write() argument
143 if (set_pci_configuration_address(bus_num, devfn, where) < 0) in pci_config_write()
149 (where & 0xfffffffc)); in pci_config_write()
153 shift = (where & 3) << 3; in pci_config_write()
158 shift = (where & 2) << 3; in pci_config_write()
170 (where & 0xfffffffc)) = data; in pci_config_write()