/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/envd/ |
H A D | piclenvsetup.c | 174 picl_nodehdl_t nodeh; member 249 el->nodeh = nodeh; in add_node_to_list() 468 nodeh = listp->nodeh; in add_sensor_nodes_and_props() 502 snodep->nodeh = cnodeh; in add_sensor_nodes_and_props() 597 if (snodep->nodeh != 0) { in delete_sensor_nodes_and_props() 601 snodep->nodeh = 0; in delete_sensor_nodes_and_props() 640 nodeh = listp->nodeh; in add_fan_nodes_and_props() 661 fnodep->nodeh = cnodeh; in add_fan_nodes_and_props() 736 fnodep->nodeh = 0; in delete_fan_nodes_and_props() 794 snodep->nodeh = 0; in env_picl_setup() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/ |
H A D | piclenvsetup.c | 432 snodep->nodeh = cnodeh; in add_sensor_nodes_and_props() 498 if (snodep->nodeh != 0) { in delete_sensor_nodes_and_props() 502 snodep->nodeh = 0; in delete_sensor_nodes_and_props() 554 dnodep->nodeh = cnodeh; in add_disk_nodes_and_props() 638 dnodep->nodeh = 0; in delete_disk_nodes_and_props() 692 fnodep->nodeh = cnodeh; in add_fan_nodes_and_props() 777 fnodep->nodeh = 0; in delete_fan_nodes_and_props() 827 picl_nodehdl_t nodeh; in env_picl_setup_tuneables() local 945 snodep->nodeh = 0; in env_picl_setup() 956 fnodep->nodeh = 0; in env_picl_setup() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/ |
H A D | piclenvsetup.c | 156 picl_nodehdl_t nodeh; member 272 el->nodeh = nodeh; in add_node_to_list() 491 nodeh = listp->nodeh; in add_sensor_nodes_and_props() 525 snodep->nodeh = cnodeh; in add_sensor_nodes_and_props() 635 if (snodep->nodeh != 0) { in delete_sensor_nodes_and_props() 639 snodep->nodeh = 0; in delete_sensor_nodes_and_props() 678 nodeh = listp->nodeh; in add_fan_nodes_and_props() 699 fnodep->nodeh = cnodeh; in add_fan_nodes_and_props() 774 fnodep->nodeh = 0; in delete_fan_nodes_and_props() 843 snodep->nodeh = 0; in env_picl_setup() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/ |
H A D | piclenvsetup.c | 333 picl_nodehdl_t nodeh, cnodeh; in add_sensor_nodes_and_props() local 362 snodep->nodeh = cnodeh; in add_sensor_nodes_and_props() 428 if (snodep->nodeh != 0) { in delete_sensor_nodes_and_props() 432 snodep->nodeh = 0; in delete_sensor_nodes_and_props() 452 picl_nodehdl_t nodeh, cnodeh; in add_fan_nodes_and_props() local 482 fnodep->nodeh = cnodeh; in add_fan_nodes_and_props() 554 if (fnodep->nodeh != 0) { in delete_fan_nodes_and_props() 557 fnodep->nodeh = 0; in delete_fan_nodes_and_props() 609 picl_nodehdl_t nodeh; in env_picl_setup_tuneables() local 724 snodep->nodeh = 0; in env_picl_setup() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/envd/ |
H A D | piclenvsetup.c | 430 snodep->nodeh = cnodeh; in add_sensor_nodes_and_props() 495 if (snodep->nodeh != 0) { in delete_sensor_nodes_and_props() 499 snodep->nodeh = 0; in delete_sensor_nodes_and_props() 556 dnodep->nodeh = cnodeh; in add_disk_nodes_and_props() 640 dnodep->nodeh = 0; in delete_disk_nodes_and_props() 698 fnodep->nodeh = cnodeh; in add_fan_nodes_and_props() 778 fnodep->nodeh = 0; in delete_fan_nodes_and_props() 828 picl_nodehdl_t nodeh; in env_picl_setup_tuneables() local 950 snodep->nodeh = 0; in env_picl_setup() 961 fnodep->nodeh = 0; in env_picl_setup() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | display_sun4v.c | 365 nodeh = pnodeh; in get_slot_number() 439 picl_nodehdl_t nodeh, pnodeh; in sun4v_pci_callback() local 457 PICL_PROP_PEER, &nodeh, in sun4v_pci_callback() 463 PICL_PROP_PEER, &nodeh, in sun4v_pci_callback() 482 pnodeh = nodeh; in sun4v_pci_callback() 509 pnodeh = nodeh; in sun4v_pci_callback() 598 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, &nodeh, in sun4v_pci_callback() 829 &nodeh, sizeof (nodeh)); in sun4v_memory_conf_callback() 833 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, &nodeh, in sun4v_memory_conf_callback() 1794 if (is_fru_absent(nodeh)) in sun4v_print_fru_status_callback() [all …]
|
/illumos-gate/usr/src/lib/libpicltree/ |
H A D | picltree.h | 47 picl_nodehdl_t nodeh; member 53 picl_nodehdl_t nodeh; member 82 extern int ptree_get_root(picl_nodehdl_t *nodeh); 84 picl_nodehdl_t *nodeh); 85 extern int ptree_destroy_node(picl_nodehdl_t nodeh); 87 extern int ptree_delete_node(picl_nodehdl_t nodeh); 103 extern int ptree_get_propval_by_name(picl_nodehdl_t nodeh, 106 extern int ptree_get_first_prop(picl_nodehdl_t nodeh, 120 extern int ptree_create_and_add_prop(picl_nodehdl_t nodeh, 125 picl_nodehdl_t *nodeh); [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/ |
H A D | erie.c | 68 picl_nodehdl_t nodeh; in erie_pci_callback() local 91 if ((err = erie_get_class(nodeh, piclclass, in erie_pci_callback() 98 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, in erie_pci_callback() 99 &nodeh, sizeof (picl_nodehdl_t)); in erie_pci_callback() 108 if ((err = erie_get_path(nodeh, path, sizeof (path))) in erie_pci_callback() 111 if ((err = erie_get_name(nodeh, name, sizeof (name))) in erie_pci_callback() 114 if ((err = erie_get_model(nodeh, model, sizeof (model))) in erie_pci_callback() 152 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, &nodeh, in erie_pci_callback() 425 erie_get_path(picl_nodehdl_t nodeh, char path[], int size) in erie_get_path() argument 441 erie_get_name(picl_nodehdl_t nodeh, char name[], int size) in erie_get_name() argument [all …]
|
H A D | stpaul.c | 71 picl_nodehdl_t nodeh; in stpaul_pci_callback() local 94 err = picl_get_propval_by_name(nodeh, PICL_PROP_CLASSNAME, in stpaul_pci_callback() 100 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, in stpaul_pci_callback() 101 &nodeh, sizeof (picl_nodehdl_t)); in stpaul_pci_callback() 106 err = picl_get_propval_by_name(nodeh, PICL_PROP_CHILD, in stpaul_pci_callback() 107 &nodeh, sizeof (picl_nodehdl_t)); in stpaul_pci_callback() 189 err = stpaul_get_first_compatible_value(nodeh, in stpaul_pci_callback() 208 err = picl_get_propval_by_name(nodeh, OBP_PROP_MODEL, in stpaul_pci_callback() 236 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, &nodeh, in stpaul_pci_callback() 256 picl_nodehdl_t nodeh; in stpaul_hw_rev_callback() local [all …]
|
H A D | huron.c | 134 picl_nodehdl_t nodeh; in huron_pci_callback() local 152 err = picl_get_propval_by_name(pcih, PICL_PROP_CHILD, &nodeh, in huron_pci_callback() 156 err = picl_get_propval_by_name(nodeh, PICL_PROP_CLASSNAME, in huron_pci_callback() 162 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, in huron_pci_callback() 163 &nodeh, sizeof (picl_nodehdl_t)); in huron_pci_callback() 168 err = picl_get_propval_by_name(nodeh, PICL_PROP_CHILD, in huron_pci_callback() 169 &nodeh, sizeof (picl_nodehdl_t)); in huron_pci_callback() 173 err = picl_get_propval_by_name(nodeh, PICL_PROP_DEVFS_PATH, in huron_pci_callback() 227 err = huron_get_first_compatible_value(nodeh, in huron_pci_callback() 247 err = picl_get_propval_by_name(nodeh, OBP_PROP_MODEL, in huron_pci_callback() [all …]
|
H A D | pelton.c | 138 picl_nodehdl_t nodeh; in pelton_pci_callback() local 157 err = picl_get_propval_by_name(pcih, PICL_PROP_CHILD, &nodeh, in pelton_pci_callback() 161 err = picl_get_propval_by_name(nodeh, PICL_PROP_CLASSNAME, in pelton_pci_callback() 168 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, in pelton_pci_callback() 169 &nodeh, sizeof (picl_nodehdl_t)); in pelton_pci_callback() 173 err = picl_get_propval_by_name(nodeh, PICL_PROP_DEVFS_PATH, in pelton_pci_callback() 185 err = picl_get_propval_by_name(nodeh, PICL_PROP_NAME, &name, in pelton_pci_callback() 225 err = pelton_get_first_compatible_value(nodeh, in pelton_pci_callback() 245 err = picl_get_propval_by_name(nodeh, OBP_PROP_MODEL, in pelton_pci_callback() 273 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, &nodeh, in pelton_pci_callback() [all …]
|
H A D | ontario.c | 112 err = picl_get_propval_by_name(nodeh, PICL_PROP_UNIT_ADDRESS, in get_slot_number() 152 picl_nodehdl_t nodeh; in ontario_pci_callback() local 171 err = picl_get_propval_by_name(pcih, PICL_PROP_CHILD, &nodeh, in ontario_pci_callback() 175 err = picl_get_propval_by_name(nodeh, PICL_PROP_CLASSNAME, in ontario_pci_callback() 186 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, in ontario_pci_callback() 187 &nodeh, sizeof (picl_nodehdl_t)); in ontario_pci_callback() 191 err = picl_get_propval_by_name(nodeh, PICL_PROP_DEVFS_PATH, in ontario_pci_callback() 201 get_slot_number(nodeh, parent_path, &pci_card); in ontario_pci_callback() 242 err = ontario_get_first_compatible_value(nodeh, in ontario_pci_callback() 262 err = picl_get_propval_by_name(nodeh, OBP_PROP_MODEL, in ontario_pci_callback() [all …]
|
H A D | erie.h | 96 int erie_get_first_compatible_value(picl_nodehdl_t nodeh, 105 int erie_get_name(picl_nodehdl_t nodeh, char name[], int size); 106 int erie_get_model(picl_nodehdl_t nodeh, char model[], int size); 107 int erie_get_path(picl_nodehdl_t nodeh, char path[], int size); 108 int erie_get_class(picl_nodehdl_t nodeh, char piclclass[], int size);
|
H A D | huron.h | 103 int huron_get_first_compatible_value(picl_nodehdl_t nodeh, 109 int huron_get_name(picl_nodehdl_t nodeh, char name[], int size); 110 int huron_get_model(picl_nodehdl_t nodeh, char model[], int size); 111 int huron_get_path(picl_nodehdl_t nodeh, char path[], int size); 112 int huron_get_class(picl_nodehdl_t nodeh, char piclclass[], int size);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
H A D | dr.c | 33 picl_nodehdl_t nodeh; member 174 (void) ptree_create_and_add_prop(nodeh, &propinfo, in add_devinfo_props() 198 (void) ptree_create_and_add_prop(nodeh, &propinfo, in add_devinfo_props() 216 (void) ptree_create_and_add_prop(nodeh, in add_devinfo_props() 219 (void) add_string_list_prop(nodeh, di_val, in add_devinfo_props() 234 (void) ptree_create_and_add_prop(nodeh, &propinfo, in add_devinfo_props() 397 cpu_arg->nodeh = nodeh; in remove_cpu_candidate() 423 cpu_arg.nodeh = 0; in remove_cpus() 432 err = ptree_delete_node(cpu_arg.nodeh); in remove_cpus() 434 ptree_destroy_node(cpu_arg.nodeh); in remove_cpus() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/snmp/ |
H A D | snmpplugin.c | 695 picl_nodehdl_t nodeh, parenth; in make_node() local 709 return (nodeh); in make_node() 1015 save_nodeh(nodeh, row); in make_node() 1017 return (nodeh); in make_node() 1053 physplat_nodes[row] = nodeh; in save_nodeh() 1623 (void) add_string_prop(nodeh, in add_prop() 1636 (void) add_string_prop(nodeh, in add_prop() 1639 (void) add_string_prop(nodeh, in add_prop() 1796 (void) add_string_prop(nodeh, in add_prop() 1811 (void) add_string_prop(nodeh, in add_prop() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/common/devtree/ |
H A D | picldevtree.c | 761 *nodeh = childh; in find_node_by_string_prop() 1069 mpnode = rarg->nodeh; in get_path_state_name() 1198 add_bytes_prop(nodeh, propinfo, in add_di_path_prop() 1222 picl_nodehdl_t nodeh; in construct_mpath_node() local 2211 picl_nodehdl_t nodeh; in add_ffb_config_info() local 2636 picl_nodehdl_t nodeh; in create_asr_node() local 3010 picl_nodehdl_t nodeh; in add_sbus_slots() local 3017 err = ptree_get_propval_by_name(nodeh, PICL_PROP_PEER, &nodeh, in add_sbus_slots() 3056 picl_nodehdl_t nodeh; in add_pci_deviceids() local 3063 err = ptree_get_propval_by_name(nodeh, PICL_PROP_PEER, &nodeh, in add_pci_deviceids() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/lw8/common/ |
H A D | lw8.c | 117 picl_nodehdl_t nodeh; member 254 *nodeh = childh; in picldiag_get_node_by_name() 504 &nodeh, sizeof (nodeh)); in picldiag_get_fru_parent() 539 &nodeh, sizeof (nodeh)); in picldiag_get_label() 575 &nodeh, sizeof (nodeh)); in picldiag_get_combined_label() 1469 bankh = ptr->nodeh; in print_bank_table() 1926 picl_nodehdl_t nodeh; in sbus_callback() local 1989 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, &nodeh, in sbus_callback() 2004 picl_nodehdl_t nodeh; in pci_callback() local 2100 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, &nodeh, in pci_callback() [all …]
|
/illumos-gate/usr/src/lib/libpicl/ |
H A D | picl2door.h | 64 picl_nodehdl_t nodeh; member 69 #define ret_nodeh u.nodeh 143 picl_nodehdl_t nodeh; /* node handle */ member 151 picl_nodehdl_t nodeh; /* node handle */ member 181 picl_nodehdl_t nodeh; /* node handle */ member 186 picl_nodehdl_t nodeh; /* node handle */ member 209 picl_nodehdl_t nodeh; /* node handle */ member 216 picl_nodehdl_t nodeh; /* node handle */ member 270 picl_nodehdl_t nodeh; /* node handle */ member 279 picl_nodehdl_t nodeh; /* node handle */ member [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/ |
H A D | picldiag.c | 120 picl_nodehdl_t nodeh; member 259 *nodeh = childh; in picldiag_get_node_by_name() 509 &nodeh, sizeof (nodeh)); in picldiag_get_fru_parent() 544 &nodeh, sizeof (nodeh)); in picldiag_get_label() 580 &nodeh, sizeof (nodeh)); in picldiag_get_combined_label() 1452 bankh = ptr->nodeh; in print_bank_table() 1932 picl_nodehdl_t nodeh; in sbus_callback() local 1997 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, &nodeh, in sbus_callback() 2012 picl_nodehdl_t nodeh; in pci_pciex_callback() local 2113 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, &nodeh, in pci_pciex_callback() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl_picl.c | 63 picl_nodehdl_t *nodeh); 90 picl_nodehdl_t nodeh; in opl_pci_callback() local 169 &nodeh, sizeof (picl_nodehdl_t)); in opl_pci_callback() 193 (nodeh, OBP_PROP_REG, &pinfo, &proph); in opl_pci_callback() 252 err = opl_get_first_compatible_value(nodeh, in opl_pci_callback() 338 err = picldiag_get_clock_freq(nodeh, &freq_at, in opl_pci_callback() 358 (nodeh, PICL_PROP_PEER, &nodeh, sizeof (picl_nodehdl_t)); in opl_pci_callback() 515 picl_nodehdl_t *nodeh) in opl_get_node_by_name() argument 538 *nodeh = childh; in opl_get_node_by_name() 788 is_66mhz_capable(picl_nodehdl_t nodeh) in is_66mhz_capable() argument [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/montoya/common/ |
H A D | montoya.c | 120 picl_nodehdl_t nodeh; in montoya_pci_callback() local 139 err = picl_get_propval_by_name(pcih, PICL_PROP_CHILD, &nodeh, in montoya_pci_callback() 143 err = picl_get_propval_by_name(nodeh, PICL_PROP_CLASSNAME, in montoya_pci_callback() 149 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, in montoya_pci_callback() 150 &nodeh, sizeof (picl_nodehdl_t)); in montoya_pci_callback() 155 err = picl_get_propval_by_name(nodeh, PICL_PROP_CHILD, in montoya_pci_callback() 156 &nodeh, sizeof (picl_nodehdl_t)); in montoya_pci_callback() 160 err = picl_get_propval_by_name(nodeh, PICL_PROP_DEVFS_PATH, in montoya_pci_callback() 212 err = montoya_get_first_compatible_value(nodeh, in montoya_pci_callback() 232 err = picl_get_propval_by_name(nodeh, OBP_PROP_MODEL, in montoya_pci_callback() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/schumacher/common/ |
H A D | schumacher.c | 108 picl_nodehdl_t nodeh; member 219 *nodeh = childh; in picldiag_get_node_by_name() 471 &nodeh, sizeof (nodeh)); in picldiag_get_fru_parent() 506 &nodeh, sizeof (nodeh)); in picldiag_get_label() 542 &nodeh, sizeof (nodeh)); in picldiag_get_combined_label() 1073 newptr->nodeh = bankh; in membank_callback() 1359 bankh = ptr->nodeh; in print_bank_table() 1840 picl_nodehdl_t nodeh; in pci_callback() local 1938 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, &nodeh, in pci_callback() 1956 picl_nodehdl_t nodeh; in process_io_leaves() local [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/ |
H A D | piclfrutree.c | 573 picl_nodehdl_t nodeh; in add_chassis_node() local 604 nodeh = childh; in add_chassis_node() 625 nodeh = childh; in add_chassis_node() 646 nodeh = childh; in add_chassis_node() 667 nodeh = childh; in add_chassis_node() 1164 picl_nodehdl_t nodeh; in add_pci_location() local 1201 nodeh = childh; in add_pci_location() 1444 return (nodeh); in find_child_by_name() 3234 childh = nodeh; in add_env_nodes() 3253 childh = nodeh; in add_env_nodes() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/monza/common/ |
H A D | monza.c | 147 picl_nodehdl_t nodeh; in monza_pci_callback() local 167 err = picl_get_propval_by_name(pcih, PICL_PROP_CHILD, &nodeh, in monza_pci_callback() 171 err = picl_get_propval_by_name(nodeh, PICL_PROP_CLASSNAME, in monza_pci_callback() 182 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, in monza_pci_callback() 183 &nodeh, sizeof (picl_nodehdl_t)); in monza_pci_callback() 187 err = picl_get_propval_by_name(nodeh, PICL_PROP_DEVFS_PATH, in monza_pci_callback() 197 err = picl_get_propval_by_name(nodeh, PICL_PROP_NAME, &name, in monza_pci_callback() 209 err = picl_get_propval_by_name(nodeh, PICL_PROP_NAME, &name, in monza_pci_callback() 249 err = monza_get_first_compatible_value(nodeh, in monza_pci_callback() 269 err = picl_get_propval_by_name(nodeh, OBP_PROP_MODEL, in monza_pci_callback() [all …]
|