Lines Matching defs:reg
486 uint_t reg;
495 * Look for the "reg" property from the devinfo node.
500 if (strncmp(di_prop_name(di_prop), "reg",
501 sizeof (reg)) == 0) {
505 bcopy(buf, ®, sizeof (uint_t));
511 * If the "reg" property is not found in the di_node; look for it in
526 if (strncmp(di_prom_prop_name(di_prom_prop), "reg",
527 sizeof (reg)) == 0) {
532 bcopy(buf, ®, sizeof (uint_t));
538 "%s failed to get reg property\n", _ENUM_NAME);
546 * The reg property is divided like this:
554 bdf = (PCI_REG_BUS_G(reg) << 8) | (PCI_REG_DEV_G(reg) << 3) |
555 PCI_REG_FUNC_G(reg);