Lines Matching defs:where
36 unsigned int devfn, int where)
42 if (PCI_SLOT(devfn) < 11 || where > 0xff)
46 (where & 0xfc), PCICONFAREG);
51 if (where > 0xff)
55 (where & 0xfc) | 1U, PCICONFAREG);
61 static int pci_config_read(struct pci_bus *bus, unsigned int devfn, int where,
67 if (set_pci_configuration_address(bus->number, devfn, where) < 0)
74 *val = (data >> ((where & 3) << 3)) & 0xffU;
77 *val = (data >> ((where & 2) << 3)) & 0xffffU;
89 static int pci_config_write(struct pci_bus *bus, unsigned int devfn, int where,
95 if (set_pci_configuration_address(bus->number, devfn, where) < 0)
102 shift = (where & 3) << 3;
107 shift = (where & 2) << 3;