Home
last modified time | relevance | path

Searched refs:rooth (Results 1 – 25 of 38) sorted by relevance

12

/titanic_41/usr/src/cmd/picl/plugins/sun4u/littleneck/frutree/
H A Dpiclfrutree.c254 do_sysboard_init(picl_nodehdl_t rooth, picl_nodehdl_t *childh) in do_sysboard_init() argument
274 err = ptree_add_node(rooth, *childh); in do_sysboard_init()
288 do_cpus_init(picl_nodehdl_t rooth) in do_cpus_init() argument
309 err = ptree_add_node(rooth, cpusloth); in do_cpus_init()
342 do_mem_init(picl_nodehdl_t rooth) in do_mem_init() argument
364 err = ptree_add_node(rooth, memsloth); in do_mem_init()
397 do_power_supplies_init(picl_nodehdl_t rooth) in do_power_supplies_init() argument
420 err = ptree_add_node(rooth, powerbrdh); in do_power_supplies_init()
480 do_fcal_init(picl_nodehdl_t rooth) in do_fcal_init() argument
501 err = ptree_add_node(rooth, fcalbrdh); in do_fcal_init()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/cherrystone/frutree/
H A Dpiclfrutree.c290 do_ioboard_init(picl_nodehdl_t rooth) in do_ioboard_init() argument
311 err = ptree_add_node(rooth, iobrdh); in do_ioboard_init()
324 do_rscboard_init(picl_nodehdl_t rooth) in do_rscboard_init() argument
345 err = ptree_add_node(rooth, rscbrdh); in do_rscboard_init()
358 do_fcal_init(picl_nodehdl_t rooth) in do_fcal_init() argument
375 err = ptree_add_node(rooth, fcalsloth); in do_fcal_init()
408 do_power_supplies_init(picl_nodehdl_t rooth) in do_power_supplies_init() argument
431 err = ptree_add_node(rooth, powerbrdh); in do_power_supplies_init()
491 do_centerplane_init(picl_nodehdl_t rooth) in do_centerplane_init() argument
515 err = ptree_add_node(rooth, sysboardh); in do_centerplane_init()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/daktari/frutree/
H A Dpiclfrutree.c351 do_ioboard_init(picl_nodehdl_t rooth) in do_ioboard_init() argument
372 err = ptree_add_node(rooth, iobrdh); in do_ioboard_init()
385 do_rscboard_init(picl_nodehdl_t rooth) in do_rscboard_init() argument
406 err = ptree_add_node(rooth, rscbrdh); in do_rscboard_init()
419 do_fcal_init(picl_nodehdl_t rooth) in do_fcal_init() argument
443 err = ptree_add_node(rooth, fcalsloth); in do_fcal_init()
489 err = ptree_add_node(rooth, fcalgbich); in do_fcal_init()
502 do_power_supplies_init(picl_nodehdl_t rooth) in do_power_supplies_init() argument
525 err = ptree_add_node(rooth, powerbrdh); in do_power_supplies_init()
585 do_motherboard_init(picl_nodehdl_t rooth) in do_motherboard_init() argument
[all …]
/titanic_41/usr/src/lib/libprtdiag/common/
H A Dpdevinfo_sun4v.c85 picl_nodehdl_t rooth; /* root PICL node for IO display */ in do_prominfo() local
127 err = picl_get_root(&rooth); in do_prominfo()
133 err = sun4v_get_node_by_name(rooth, PICL_NODE_PLATFORM, &plafh); in do_prominfo()
241 sun4v_get_node_by_name(picl_nodehdl_t rooth, char *name, in sun4v_get_node_by_name() argument
252 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh, in sun4v_get_node_by_name()
/titanic_41/usr/src/cmd/picl/plugins/common/frutree/
H A Dpiclfrutree.c123 picl_nodehdl_t rooth; in piclfrutree_init() local
128 if (ptree_get_root(&rooth) != PICL_SUCCESS) in piclfrutree_init()
131 if (picld_pluginutil_parse_config_file(rooth, fullfilename) != in piclfrutree_init()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/taco/envd/
H A Dpiclenvsetup.c591 env_parse_tunables(picl_nodehdl_t rooth) in env_parse_tunables() argument
600 (void) picld_pluginutil_parse_config_file(rooth, pname); in env_parse_tunables()
612 picl_nodehdl_t rooth; in env_picl_setup_tuneables() local
617 if (ptree_get_root(&rooth) != PICL_SUCCESS) { in env_picl_setup_tuneables()
620 err = ptree_create_and_add_node(rooth, PICL_PLUGINS_NODE, in env_picl_setup_tuneables()
633 env_parse_tunables(rooth); in env_picl_setup_tuneables()
715 picl_nodehdl_t rooth; in env_picl_setup() local
763 if (ptree_get_root(&rooth) != PICL_SUCCESS) in env_picl_setup()
765 err = picld_pluginutil_parse_config_file(rooth, fullfilename); in env_picl_setup()
/titanic_41/usr/src/lib/libpicltree/
H A Dpicltree.h125 extern int ptree_create_and_add_node(picl_nodehdl_t rooth,
130 extern int ptree_walk_tree_by_class(picl_nodehdl_t rooth,
133 extern int ptree_find_node(picl_nodehdl_t rooth, char *pname,
H A Dllib-lpicltree76 int ptree_create_and_add_node(picl_nodehdl_t rooth, const char *name,
79 int ptree_walk_tree_by_class(picl_nodehdl_t rooth, const char *classname,
82 int ptree_find_node(picl_nodehdl_t rooth, char *pname,
H A Dpicltree.c1194 ptree_get_root(picl_nodehdl_t *rooth) in ptree_get_root() argument
1196 *rooth = ptree_root_hdl; in ptree_get_root()
2780 get_child_by_path(picl_nodehdl_t rooth, char *prl, in get_child_by_path() argument
2827 for (err = ptree_get_propval_by_name(rooth, PICL_PROP_CHILD, &chdh, in get_child_by_path()
2899 picl_nodehdl_t rooth; in ptree_get_node_by_path() local
2929 err = ptree_get_root(&rooth); in ptree_get_node_by_path()
2933 for (chdh = rooth, tokindex = strchr(ptr, '/'); in ptree_get_node_by_path()
3027 ptree_create_and_add_node(picl_nodehdl_t rooth, const char *name, in ptree_create_and_add_node() argument
3038 err = ptree_add_node(rooth, tmph); in ptree_create_and_add_node()
3053 do_walk(picl_nodehdl_t rooth, const char *classname, in do_walk() argument
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/chicago/envd/
H A Dpiclenvsetup.c808 env_parse_tunables(picl_nodehdl_t rooth) in env_parse_tunables() argument
817 (void) picld_pluginutil_parse_config_file(rooth, pname); in env_parse_tunables()
829 picl_nodehdl_t rooth; in env_picl_setup_tuneables() local
834 if (ptree_get_root(&rooth) != PICL_SUCCESS) { in env_picl_setup_tuneables()
837 err = ptree_create_and_add_node(rooth, PICL_PLUGINS_NODE, in env_picl_setup_tuneables()
852 env_parse_tunables(rooth); in env_picl_setup_tuneables()
939 picl_nodehdl_t rooth; in env_picl_setup() local
1012 if (ptree_get_root(&rooth) != PICL_SUCCESS) in env_picl_setup()
1014 err = picld_pluginutil_parse_config_file(rooth, fullfilename); in env_picl_setup()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/
H A Dpiclenvsetup.c808 env_parse_tunables(picl_nodehdl_t rooth) in env_parse_tunables() argument
817 (void) picld_pluginutil_parse_config_file(rooth, pname); in env_parse_tunables()
829 picl_nodehdl_t rooth; in env_picl_setup_tuneables() local
834 if (ptree_get_root(&rooth) != PICL_SUCCESS) { in env_picl_setup_tuneables()
837 err = ptree_create_and_add_node(rooth, PICL_PLUGINS_NODE, in env_picl_setup_tuneables()
850 env_parse_tunables(rooth); in env_picl_setup_tuneables()
935 picl_nodehdl_t rooth; in env_picl_setup() local
1002 if (ptree_get_root(&rooth) != PICL_SUCCESS) in env_picl_setup()
1004 err = picld_pluginutil_parse_config_file(rooth, fullfilename); in env_picl_setup()
/titanic_41/usr/src/cmd/picl/plugins/sun4v/pri/
H A Dio_dev_label.c32 find_node_by_string_prop(picl_nodehdl_t rooth, const char *pname,
279 find_node_by_string_prop(picl_nodehdl_t rooth, const char *pname, in find_node_by_string_prop() argument
285 for (err = ptree_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh, in find_node_by_string_prop()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/
H A Dpiclplatmod.c74 extern picl_nodehdl_t rooth, platformh, sysmgmth, sensorh;
280 if (rooth == 0) { in env_platmod_init()
281 if (ptree_get_root(&rooth) != PICL_SUCCESS) { in env_platmod_init()
308 rooth = platformh = sysmgmth = 0; in env_platmod_fini()
803 if (rooth == 0) { in env_platmod_create_sensors()
804 if ((rc = ptree_get_root(&rooth)) != PICL_SUCCESS) { in env_platmod_create_sensors()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/opl/common/
H A Dopl_picl.c60 static picl_errno_t do_walk(picl_nodehdl_t rooth, const char *classname,
62 static int opl_get_node_by_name(picl_nodehdl_t rooth, char *name,
475 picl_nodehdl_t rooth; /* root PICL node for IO display */ in do_piclinfo() local
488 err = picl_get_root(&rooth); in do_piclinfo()
495 err = opl_get_node_by_name(rooth, PICL_NODE_PLATFORM, &plafh); in do_piclinfo()
514 opl_get_node_by_name(picl_nodehdl_t rooth, char *name, in opl_get_node_by_name() argument
525 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh, in opl_get_node_by_name()
878 do_walk(picl_nodehdl_t rooth, const char *classname, in do_walk() argument
885 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &chdh, in do_walk()
/titanic_41/usr/src/lib/libpicl/
H A Dpicl.c330 picl_get_root(picl_nodehdl_t *rooth) in picl_get_root() argument
345 *rooth = ret->ret_root.rnode; in picl_get_root()
707 do_walk(picl_nodehdl_t rooth, const char *classname, in do_walk() argument
714 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &chdh, in do_walk()
746 picl_walk_tree_by_class(picl_nodehdl_t rooth, const char *classname, in picl_walk_tree_by_class() argument
753 err = do_walk(rooth, classname, c_args, callback_fn); in picl_walk_tree_by_class()
812 picl_find_node(picl_nodehdl_t rooth, char *pname, picl_prop_type_t ptype, in picl_find_node() argument
823 req->nodeh = rooth; in picl_find_node()
H A Dpicl.h154 extern int picl_walk_tree_by_class(picl_nodehdl_t rooth,
160 extern int picl_find_node(picl_nodehdl_t rooth, char *pname,
/titanic_41/usr/src/cmd/locator/
H A Dlocator.c198 picl_nodehdl_t rooth; in main() local
242 err = picl_get_root(&rooth); in main()
262 err = picl_walk_tree_by_class(rooth, "led", &locator_info, in main()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/snowbird/common/
H A Dsnowbird.c299 picldiag_get_node_by_name(picl_nodehdl_t rooth, char *name, in picldiag_get_node_by_name() argument
310 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh, in picldiag_get_node_by_name()
348 picl_nodehdl_t rooth; in do_prominfo() local
361 if ((status = picl_get_root(&rooth)) != PICL_SUCCESS) { in do_prominfo()
366 status = picldiag_get_node_by_name(rooth, PICL_NODE_PLATFORM, &plafh); in do_prominfo()
/titanic_41/usr/src/cmd/picl/prtpicl/
H A Dprtpicl.c514 picl_nodehdl_t rooth; in main() local
558 err = picl_get_root(&rooth); in main()
565 err = print_tree_by_class(ROOT_LEVEL, rooth, in main()
/titanic_41/usr/src/cmd/fm/fmd/common/
H A Dfmd.c382 di_node_t rooth = DI_NODE_NIL; in fmd_create() local
401 } else if ((rooth = di_init("/", DINFOPROP)) != DI_NODE_NIL && in fmd_create()
403 if (di_prom_prop_lookup_bytes(promh, rooth, "chassis-sn", in fmd_create()
411 if (rooth != DI_NODE_NIL) in fmd_create()
412 di_fini(rooth); in fmd_create()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/
H A Dpiclfrudr.c1670 picl_nodehdl_t rooth; in fru_add_handler() local
1705 retval = ptree_get_node_by_path(FRUTREE_PATH, &rooth); in fru_add_handler()
1707 remove_tables(rooth); in fru_add_handler()
1723 if ((ptree_get_root(&rooth) != PICL_SUCCESS) || in fru_add_handler()
1724 (picld_pluginutil_parse_config_file(rooth, path) != in fru_add_handler()
1742 picl_nodehdl_t rooth; in frutree_evhandler() local
1794 if ((ptree_get_root(&rooth) != PICL_SUCCESS) || in frutree_evhandler()
1795 (picld_pluginutil_parse_config_file(rooth, in frutree_evhandler()
1844 if ((ptree_get_root(&rooth) != PICL_SUCCESS) || in frutree_evhandler()
1845 (picld_pluginutil_parse_config_file(rooth, path) != in frutree_evhandler()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/grover/envd/
H A Dpiclenvsetup.c789 picl_nodehdl_t rooth; in env_picl_setup() local
832 if (ptree_get_root(&rooth) != PICL_SUCCESS) in env_picl_setup()
834 err = picld_pluginutil_parse_config_file(rooth, fullfilename); in env_picl_setup()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/schumacher/common/
H A Dschumacher.c195 picldiag_get_node_by_name(picl_nodehdl_t rooth, char *name, in picldiag_get_node_by_name() argument
206 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh, in picldiag_get_node_by_name()
1954 process_io_leaves(picl_nodehdl_t rooth) in process_io_leaves() argument
1960 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &nodeh, in process_io_leaves()
3144 display_system_info(int serrlog, int log_flag, picl_nodehdl_t rooth) in display_system_info() argument
3150 err = picldiag_get_node_by_name(rooth, PICL_NODE_PLATFORM, &plafh); in display_system_info()
3186 err = picl_walk_tree_by_class(rooth, PICL_CLASS_OPTIONS, in display_system_info()
3191 err = picldiag_get_node_by_name(rooth, PICL_NODE_FRUTREE, in display_system_info()
3222 picl_nodehdl_t rooth; in do_prominfo() local
3232 err = picl_get_root(&rooth); in do_prominfo()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/
H A Dpiclenvsetup.c837 picl_nodehdl_t rooth; in env_picl_setup() local
887 if (ptree_get_root(&rooth) != PICL_SUCCESS) in env_picl_setup()
889 err = picld_pluginutil_parse_config_file(rooth, fullfilename); in env_picl_setup()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/desktop/common/
H A Dpicldiag.c235 picldiag_get_node_by_name(picl_nodehdl_t rooth, char *name, in picldiag_get_node_by_name() argument
246 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh, in picldiag_get_node_by_name()
2280 process_io_leaves(picl_nodehdl_t rooth) in process_io_leaves() argument
2286 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &nodeh, in process_io_leaves()
3568 display_system_info(int serrlog, int log_flag, picl_nodehdl_t rooth) in display_system_info() argument
3574 err = picldiag_get_node_by_name(rooth, PICL_NODE_PLATFORM, &plafh); in display_system_info()
3610 err = picl_walk_tree_by_class(rooth, PICL_CLASS_OPTIONS, in display_system_info()
3619 err = picldiag_get_node_by_name(rooth, PICL_NODE_FRUTREE, in display_system_info()
3657 picl_nodehdl_t rooth; in do_prominfo() local
3667 err = picl_get_root(&rooth); in do_prominfo()
[all …]

12