Lines Matching defs:reg
151 * DI_PHYSPROP (which is set up from the PCIe slotcap reg).
275 uint_t reg;
291 * We must have a reg prop and from it we extract the bus #,
294 if (di_uintprop_get(mp, src, DI_REGPROP, ®) < 0) {
302 np->dp_bus = PCI_REG_BUS_G(reg);
305 np->dp_dev = PCI_REG_DEV_G(reg);
306 np->dp_fn = PCI_REG_FUNC_G(reg);
307 np->dp_bdf = (PCI_REG_BUS_G(reg) << 8) | (PCI_REG_DEV_G(reg) << 3) |
308 PCI_REG_FUNC_G(reg);