Lines Matching defs:where
91 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where,
97 DBGC(("mk_conf_addr(bus=%d ,device_fn=0x%x, where=0x%x,"
99 bus, device_fn, where, pci_addr, type1));
113 addr = (device_fn << 8) | (where);
117 addr = (bus << 16) | (device_fn << 8) | (where);
269 apecs_read_config(struct pci_bus *bus, unsigned int devfn, int where,
277 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1))
281 shift = (where & 3) * 8;
288 apecs_write_config(struct pci_bus *bus, unsigned int devfn, int where,
295 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1))
300 conf_write(addr, value << ((where & 3) * 8), type1);