Lines Matching defs:where
23 unsigned int devfn, int where)
29 if (PCI_SLOT(devfn) < 11 || where > 0xff)
33 (where & 0xfc), PCICONFAREG);
38 if (where > 0xff)
42 (where & 0xfc) | 1U, PCICONFAREG);
48 static int pci_config_read(struct pci_bus *bus, unsigned int devfn, int where,
54 if (set_pci_configuration_address(bus->number, devfn, where) < 0)
61 *val = (data >> ((where & 3) << 3)) & 0xffU;
64 *val = (data >> ((where & 2) << 3)) & 0xffffU;
76 static int pci_config_write(struct pci_bus *bus, unsigned int devfn, int where,
82 if (set_pci_configuration_address(bus->number, devfn, where) < 0)
89 shift = (where & 3) << 3;
94 shift = (where & 2) << 3;