Lines Matching defs:nodeh

78 	picl_nodehdl_t	nodeh;		/* sensor node handle */
111 picl_nodehdl_t nodeh; /* "fan" node handle */
243 add_regular_prop(picl_nodehdl_t nodeh, char *name, int type, int access,
255 err = ptree_create_and_add_prop(nodeh, &propinfo, valbuf, &proph);
266 add_volatile_prop(picl_nodehdl_t nodeh, char *name, int type, int access,
279 err = ptree_create_and_add_prop(nodeh, &propinfo, NULL, &proph);
289 add_sensor_thresh_props(picl_nodehdl_t nodeh, sensor_ctrl_blk_t *threshp)
293 (void) add_regular_prop(nodeh, PICL_PROP_LOW_POWER_OFF,
298 (void) add_regular_prop(nodeh, PICL_PROP_LOW_SHUTDOWN,
303 (void) add_regular_prop(nodeh, PICL_PROP_LOW_WARNING,
308 (void) add_regular_prop(nodeh, PICL_PROP_HIGH_WARNING,
313 (void) add_regular_prop(nodeh, PICL_PROP_HIGH_SHUTDOWN,
318 (void) add_regular_prop(nodeh, PICL_PROP_HIGH_POWER_OFF,
335 picl_nodehdl_t nodeh, cnodeh;
343 * Get the parent nodeh
345 err = ptree_get_node_by_path(snodep->parent_path, &nodeh);
354 err = ptree_create_and_add_node(nodeh, nodename,
364 snodep->nodeh = cnodeh;
430 if (snodep->nodeh != NULL) {
432 (void) ptree_delete_node(snodep->nodeh);
433 (void) ptree_destroy_node(snodep->nodeh);
434 snodep->nodeh = NULL;
454 picl_nodehdl_t nodeh, cnodeh;
465 * get parent nodeh
467 err = ptree_get_node_by_path(fnodep->parent_path, &nodeh);
475 err = ptree_create_and_add_node(nodeh, nodename,
484 fnodep->nodeh = cnodeh;
556 if (fnodep->nodeh != NULL) {
557 (void) ptree_delete_node(fnodep->nodeh);
558 (void) ptree_destroy_node(fnodep->nodeh);
559 fnodep->nodeh = NULL;
611 picl_nodehdl_t nodeh;
621 PICL_CLASS_PICL, &nodeh);
624 err = ptree_create_and_add_node(nodeh, PICL_ENVIRONMENTAL_NODE,
625 PICL_CLASS_PICL, &nodeh);
636 err = ptree_get_propval_by_name(nodeh, tuneablep->name,
643 err = add_volatile_prop(nodeh, tuneablep->name,
726 snodep->nodeh = NULL;
737 fnodep->nodeh = NULL;