Lines Matching defs:where
141 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where,
147 DBG(("mk_conf_addr(bus=%d, dfn=0x%x, where=0x%x,"
149 bus, device_fn, where, pci_addr, type1));
163 addr = (0x0800L << device) | ((device_fn & 7) << 8) | (where);
167 addr = (bus << 16) | (device_fn << 8) | (where);
284 t2_read_config(struct pci_bus *bus, unsigned int devfn, int where,
292 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1))
296 shift = (where & 3) * 8;
303 t2_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size,
310 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1))
315 conf_write(addr, value << ((where & 3) * 8), type1);