/titanic_41/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_sun4v.c | 244 picl_nodehdl_t childh; in sun4v_get_node_by_name() local 252 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh, in sun4v_get_node_by_name() 256 err = picl_get_propval_by_name(childh, PICL_PROP_NAME, in sun4v_get_node_by_name() 259 err = picl_get_propval_by_name(childh, PICL_PROP_PEER, in sun4v_get_node_by_name() 260 &childh, sizeof (picl_nodehdl_t)); in sun4v_get_node_by_name() 265 *nodeh = childh; in sun4v_get_node_by_name() 269 err = picl_get_propval_by_name(childh, PICL_PROP_PEER, in sun4v_get_node_by_name() 270 &childh, sizeof (picl_nodehdl_t)); in sun4v_get_node_by_name()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/ |
H A D | piclfrutree.c | 326 static int add_pci_location(picl_nodehdl_t childh, char *parent_addr, 482 picl_nodehdl_t childh; in add_subtree() local 494 childh = 0; in add_subtree() 495 err = add_picl_node(parh, cp, &childh); in add_subtree() 506 if (childh && cp->has_children) { in add_subtree() 507 err = add_subtree(childh, cp->handle); in add_subtree() 577 picl_nodehdl_t childh; in add_chassis_node() local 580 PICL_CLASS_FRU, &childh); in add_chassis_node() 585 err = add_prop_ull(childh, handle, PICL_PROP_SC_HANDLE); in add_chassis_node() 593 err = create_table(childh, &tblhdl, PICL_PROP_DEVICES); in add_chassis_node() [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4v/pri/ |
H A D | io_dev_label.c | 282 picl_nodehdl_t childh; in find_node_by_string_prop() local 285 for (err = ptree_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh, in find_node_by_string_prop() 287 err = ptree_get_propval_by_name(childh, PICL_PROP_PEER, in find_node_by_string_prop() 288 &childh, sizeof (picl_nodehdl_t))) { in find_node_by_string_prop() 292 if (compare_string_propval(childh, pname, pval)) { in find_node_by_string_prop() 293 *nodeh = childh; in find_node_by_string_prop()
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/snowbird/common/ |
H A D | snowbird.c | 302 picl_nodehdl_t childh; in picldiag_get_node_by_name() local 310 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh, in picldiag_get_node_by_name() 314 err = picl_get_propval_by_name(childh, PICL_PROP_NAME, in picldiag_get_node_by_name() 317 err = picl_get_propval_by_name(childh, PICL_PROP_PEER, in picldiag_get_node_by_name() 318 &childh, sizeof (picl_nodehdl_t)); in picldiag_get_node_by_name() 323 *nodeh = childh; in picldiag_get_node_by_name() 327 err = picl_get_propval_by_name(childh, PICL_PROP_PEER, in picldiag_get_node_by_name() 328 &childh, sizeof (picl_nodehdl_t)); in picldiag_get_node_by_name() 672 picl_nodehdl_t childh; in pd_prt_slot_info() local 740 &childh, sizeof (childh)) == PICL_SUCCESS) { in pd_prt_slot_info() [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/ |
H A D | piclfrudr.c | 455 picl_nodehdl_t childh; in piclfrudr_init() local 497 &childh, sizeof (picl_nodehdl_t)) != PICL_SUCCESS) in piclfrudr_init() 499 post_frudr_event(PICL_FRU_ADDED, locationh, childh); in piclfrudr_init() 1076 picl_nodehdl_t childh; in remove_fru_parents() local 1115 PICL_PROP_CHILD, &childh, sizeof (picl_nodehdl_t)); in remove_fru_parents() 1118 retval = ptree_get_prop_by_name(childh, in remove_fru_parents() 1195 if (ptree_delete_node(childh) == PICL_SUCCESS) in remove_fru_parents() 1196 (void) ptree_destroy_node(childh); in remove_fru_parents() 1483 picl_nodehdl_t childh; in frudr_evhandler() local 1600 childh = find_child_by_name(locnodeh, fru_name); in frudr_evhandler() [all …]
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl_picl.c | 517 picl_nodehdl_t childh; in opl_get_node_by_name() local 525 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh, in opl_get_node_by_name() 529 err = picl_get_propval_by_name(childh, PICL_PROP_NAME, in opl_get_node_by_name() 532 err = picl_get_propval_by_name(childh, PICL_PROP_PEER, in opl_get_node_by_name() 533 &childh, sizeof (picl_nodehdl_t)); in opl_get_node_by_name() 538 *nodeh = childh; in opl_get_node_by_name() 542 err = picl_get_propval_by_name(childh, PICL_PROP_PEER, in opl_get_node_by_name() 543 &childh, sizeof (picl_nodehdl_t)); in opl_get_node_by_name()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | piclfrutree.c | 655 picl_nodehdl_t nodeh, childh; in frutree_dr_apstate_change_evhandler() local 763 &childh, sizeof (childh)) == PICL_SUCCESS) { in frutree_dr_apstate_change_evhandler() 765 if (hash_lookup_entry(childh, (void **)&hashptr) == in frutree_dr_apstate_change_evhandler() 2775 picl_nodehdl_t childh, peerh, nodeh; in handle_fru_unconfigure() local 2821 &childh, sizeof (childh)) != PICL_SUCCESS) { in handle_fru_unconfigure() 2826 if ((rc = hash_lookup_entry(childh, (void **)&hashptr)) != in handle_fru_unconfigure() 2998 picl_nodehdl_t childh; in disconnect_fru() local 3022 &childh, sizeof (childh)) == PICL_SUCCESS) { in disconnect_fru() 3023 if (hash_lookup_entry(childh, (void **)&hashptr) == in disconnect_fru() 4164 frutree_initialize_children(picl_nodehdl_t childh, void *c_args) in frutree_initialize_children() argument [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/littleneck/frutree/ |
H A D | piclfrutree.c | 254 do_sysboard_init(picl_nodehdl_t rooth, picl_nodehdl_t *childh) in do_sysboard_init() argument 262 err = ptree_create_node("system-board", "fru", childh); in do_sysboard_init() 266 err = add_ref_prop(*childh, tmph, SEEPROM_SOURCE); in do_sysboard_init() 270 err = add_void_fda_prop(*childh); in do_sysboard_init() 274 err = ptree_add_node(rooth, *childh); in do_sysboard_init() 278 err = add_ref_prop(tmph, *childh, FRU_PARENT); in do_sysboard_init()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/envmon/ |
H A D | piclenvmon.c | 87 picl_nodehdl_t *childh); 530 picl_nodehdl_t *childh) in get_child_by_name() argument 537 err = ptree_get_propval_by_name(nodeh, PICL_PROP_CHILD, childh, in get_child_by_name() 538 sizeof (*childh)); in get_child_by_name() 540 err = ptree_get_propval_by_name(*childh, PICL_PROP_NAME, in get_child_by_name() 545 err = ptree_get_propval_by_name(*childh, PICL_PROP_PEER, in get_child_by_name() 546 childh, sizeof (*childh)); in get_child_by_name() 1534 picl_nodehdl_t childh; in envmon_evhandler() local 1626 PICLEVENTARG_FRUHANDLE, &childh); in envmon_evhandler() 1633 retval = ptree_get_propval_by_name(childh, PICL_PROP_NAME, in envmon_evhandler() [all …]
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/schumacher/common/ |
H A D | schumacher.c | 198 picl_nodehdl_t childh; in picldiag_get_node_by_name() local 206 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh, in picldiag_get_node_by_name() 210 err = picl_get_propval_by_name(childh, PICL_PROP_NAME, in picldiag_get_node_by_name() 213 err = picl_get_propval_by_name(childh, PICL_PROP_PEER, in picldiag_get_node_by_name() 214 &childh, sizeof (picl_nodehdl_t)); in picldiag_get_node_by_name() 219 *nodeh = childh; in picldiag_get_node_by_name() 223 err = picl_get_propval_by_name(childh, PICL_PROP_PEER, in picldiag_get_node_by_name() 224 &childh, sizeof (picl_nodehdl_t)); in picldiag_get_node_by_name() 1684 picl_nodehdl_t childh; in add_io_leaves() local 1806 &childh, sizeof (picl_nodehdl_t)); in add_io_leaves() [all …]
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/desktop/common/ |
H A D | picldiag.c | 238 picl_nodehdl_t childh; in picldiag_get_node_by_name() local 246 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh, in picldiag_get_node_by_name() 250 err = picl_get_propval_by_name(childh, PICL_PROP_NAME, in picldiag_get_node_by_name() 253 err = picl_get_propval_by_name(childh, PICL_PROP_PEER, in picldiag_get_node_by_name() 254 &childh, sizeof (picl_nodehdl_t)); in picldiag_get_node_by_name() 259 *nodeh = childh; in picldiag_get_node_by_name() 263 err = picl_get_propval_by_name(childh, PICL_PROP_PEER, in picldiag_get_node_by_name() 264 &childh, sizeof (picl_nodehdl_t)); in picldiag_get_node_by_name() 1777 picl_nodehdl_t childh; in add_io_leaves() local 1899 &childh, sizeof (picl_nodehdl_t)); in add_io_leaves() [all …]
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/lw8/common/ |
H A D | lw8.c | 233 picl_nodehdl_t childh; in picldiag_get_node_by_name() local 241 err = picl_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh, in picldiag_get_node_by_name() 245 err = picl_get_propval_by_name(childh, PICL_PROP_NAME, in picldiag_get_node_by_name() 248 err = picl_get_propval_by_name(childh, PICL_PROP_PEER, in picldiag_get_node_by_name() 249 &childh, sizeof (picl_nodehdl_t)); in picldiag_get_node_by_name() 254 *nodeh = childh; in picldiag_get_node_by_name() 258 err = picl_get_propval_by_name(childh, PICL_PROP_PEER, in picldiag_get_node_by_name() 259 &childh, sizeof (picl_nodehdl_t)); in picldiag_get_node_by_name() 1771 picl_nodehdl_t childh; in add_io_leaves() local 1893 &childh, sizeof (picl_nodehdl_t)); in add_io_leaves() [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/common/devtree/ |
H A D | picldevtree.c | 743 picl_nodehdl_t childh; in find_node_by_string_prop() local 746 for (err = ptree_get_propval_by_name(rooth, PICL_PROP_CHILD, &childh, in find_node_by_string_prop() 748 err = ptree_get_propval_by_name(childh, PICL_PROP_PEER, &childh, in find_node_by_string_prop() 753 if (compare_string_propval(childh, pname, pval)) { in find_node_by_string_prop() 754 *nodeh = childh; in find_node_by_string_prop() 758 if (find_node_by_string_prop(childh, pname, pval, nodeh) == in find_node_by_string_prop()
|