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