Lines Matching defs:bus
58 * Given a bus, device, and function number, compute resulting
66 * Note also that type 1 is determined by non-zero bus number.
77 * 23:16 bus number (8 bits = 128 possible buses)
97 u8 bus = pbus->number;
99 DBG_CFG(("mk_conf_addr(bus=%d ,device_fn=0x%x, where=0x%x, "
101 bus, device_fn, where, pci_addr, type1));
103 if (!pbus->parent) /* No parent means peer PCI bus. */
104 bus = 0;
105 *type1 = (bus != 0);
107 addr = (bus << 16) | (device_fn << 8) | where;
116 tsunami_read_config(struct pci_bus *bus, unsigned int devfn, int where,
122 if (mk_conf_addr(bus, devfn, where, &addr, &type1))
141 tsunami_write_config(struct pci_bus *bus, unsigned int devfn, int where,
147 if (mk_conf_addr(bus, devfn, where, &addr, &type1))