Lines Matching refs:where
60 unsigned int devfn, int where) in set_pci_configuration_address() argument
82 static int pci_config_read(struct pci_bus *bus, unsigned int devfn, int where, in pci_config_read() argument
97 if (set_pci_configuration_address(bus_num, devfn, where) < 0) in pci_config_read()
102 (where & 0xfffffffc)); in pci_config_read()
106 *val = (data >> ((where & 3) << 3)) & 0xffU; in pci_config_read()
109 *val = (data >> ((where & 2) << 3)) & 0xffffU; in pci_config_read()
127 static int pci_config_write(struct pci_bus *bus, unsigned int devfn, int where, in pci_config_write() argument
141 if (set_pci_configuration_address(bus_num, devfn, where) < 0) in pci_config_write()
147 (where & 0xfffffffc)); in pci_config_write()
151 shift = (where & 3) << 3; in pci_config_write()
156 shift = (where & 2) << 3; in pci_config_write()
168 (where & 0xfffffffc)) = data; in pci_config_write()