Lines Matching defs:node

261 	 * Keep scanning subtree if it fails to lookup device node.
268 argp->node->here = hdl;
271 argp->node->here = NULL;
298 args.node = np;
305 DRMACH_PR("!drmach_node_acpi_walk: failed to get device node.");
479 drmach_device_new(drmach_node_t *node,
488 rv = node->getprop(node, ACPIDEV_DR_PROP_DEVNAME, name, OBP_MAXDRVNAME);
490 /* every node is expected to have a name */
491 err = drerr_new(1, EX86_GETPROP, "device node %s: property %s",
492 ddi_node_name(node->getdip(node)),
498 * The node currently being examined is not listed in the name2type[]
499 * array. In this case, the node is no interest to drmach. Both
513 proto.node = node;
938 * Walk descendants of the devinfo root node and hold
963 * Walk descendants of the root devinfo node
985 ip->dev.node = drmach_node_dup(proto->node);
1006 if (self->dev.node)
1007 drmach_node_dispose(self->dev.node);
1052 /* the portid is APIC ID of the node */
1064 cp->dev.node = drmach_node_dup(proto->node);
1074 drmach_node_get_dnode(proto->node), &cpuid))) {
1098 if (self->dev.node)
1099 drmach_node_dispose(self->dev.node);
1267 mp->dev.node = drmach_node_dup(proto->node);
1275 hdl = mp->dev.node->get_dnode(mp->dev.node);
1302 if (mp->dev.node)
1303 drmach_node_dispose(mp->dev.node);
1562 rdip = dp->node->getdip(dp->node);
1568 DRMACH_HANDLE hdl = drmach_node_get_dnode(dp->node);
1611 rdip = dp->node->getdip(dp->node);
1616 DRMACH_HANDLE hdl = drmach_node_get_dnode(dp->node);
1657 *dip = dp->node->getdip(dp->node);
1823 * node should be considered for a dr operation according
1824 * to predefined dr type nodes and the node's name.
1825 * Formal Parameter : The name of a device node.
1843 /* Determine if the node's name correspond to a predefined type. */
1846 /* The node is an allowed type for dr. */
1851 * If the name of the node does not map to any of the
1852 * types in the array drmach_name2type then the node is not of
1861 drmach_node_t *node = args->node;
1871 portid = drmach_get_portid(node);
1872 rv = node->getprop(node, ACPIDEV_DR_PROP_DEVNAME,
1877 rv = node->getprop(node, ACPIDEV_DR_PROP_BOARDNUM,
1894 * Create a device data structure from this node data.
1895 * The call may yield nothing if the node is not of interest
1898 data->err = drmach_device_new(node, obj, portid, &id);
1903 * drmach_device_new examined the node we passed in
2533 drmach_node_get_dnode(cpu->dev.node), cpuid))) {
2647 hdl = mp->dev.node->get_dnode(mp->dev.node);
2830 dip = dp->node->getdip(dp->node);