Lines Matching defs:node

101 	struct drmach_node	*node;
108 pnode_t (*get_dnode)(struct drmach_node *node);
109 int (*walk)(struct drmach_node *node, void *data,
147 drmach_node_t *node;
291 /* node types to cleanup when a board is unconfigured */
380 args.node = np;
433 /* The root node doesn't have to be held */
609 saved = drmach_node_get_dnode(dp->node);
687 drmach_device_new(drmach_node_t *node,
696 rv = drmach_node_get_prop(node, OBP_NAME, name);
698 /* every node is expected to have a name */
701 (uint_t)node->get_dnode(node), OBP_NAME);
707 * The node currently being examined is not listed in the name2type[]
708 * array. In this case, the node is no interest to drmach. Both
721 dp->node = drmach_node_dup(node);
726 drmach_node_dispose(node);
736 * The node currently being examined is not listed in the name2type[]
737 * array. In this case, the node is no interest to drmach. Both
750 if (self->node)
751 drmach_node_dispose(self->node);
762 rv = drmach_node_get_prop(dp->node, name, buf);
778 rv = drmach_node_get_proplen(dp->node, name, len);
899 * For Starfire, we must be children of the root devinfo node
953 cmn_err(CE_WARN, "OBP node 0x%x has"
970 * Walk immediate children of devinfo root node and hold
1027 * Walk immediate children of the root devinfo node
1063 nodeid = drmach_node_get_dnode(dp->node);
1086 nodeid = drmach_node_get_dnode(dp->node);
1109 nodeid = drmach_node_get_dnode(dp->node);
1131 nodeid = drmach_node_get_dnode(dp->node);
1322 * Disabled detaching mem node.
1359 * Disabled detaching mem node.
1718 (uint_t)drmach_node_get_dnode(prog->restless_mc->node));
1904 /* Root node doesn't have to be held */
1908 * If the node is only in the OBP tree, then
1914 DRMACH_PR("removing %s devinfo node\n", name);
2138 * board is unconfigured. We call the counter node
2155 drmach_node_t *node = args->node;
2163 rv = drmach_node_get_prop(node, OBP_BOARDNUM, &bnum);
2166 * if the node does not have a board# property, then
2175 * Create a device data structure from this node data.
2176 * The call may yield nothing if the node is not of interest
2179 data->err = drmach_device_new(node, obj, &device);
2184 * drmach_device_new examined the node we passed in
2796 if (drmach_node_get_prop(cpu->node, "implementation#", &impl) == -1) {
2834 *dip = drmach_node_get_dip(dp->node);
2849 dip = drmach_node_get_dip(dp->node);
3141 nodeid = drmach_node_get_dnode(mem->node);
3641 nodeid = drmach_node_get_dnode(dp->node);