Home
last modified time | relevance | path

Searched refs:picl_nodehdl_t (Results 1 – 25 of 89) sorted by relevance

1234

/illumos-gate/usr/src/lib/libpicltree/
H A Dpicltree.h47 picl_nodehdl_t nodeh;
53 picl_nodehdl_t nodeh;
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);
86 extern int ptree_add_node(picl_nodehdl_t parh, picl_nodehdl_t chdh);
87 extern int ptree_delete_node(picl_nodehdl_t nodeh);
125 picl_nodehdl_t *nodeh);
127 picl_nodehdl_t *handle);
133 picl_nodehdl_t *retnodeh);
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/frutree/
H A Dpiclfrutree.c201 static int add_ref_prop(picl_nodehdl_t, picl_nodehdl_t, char *);
291 picl_nodehdl_t tmph; in do_ioboard_init()
325 picl_nodehdl_t tmph; in do_rscboard_init()
360 picl_nodehdl_t tmph; in do_fcal_init()
411 picl_nodehdl_t tmph; in do_power_supplies_init()
494 picl_nodehdl_t tmph; in do_centerplane_init()
617 picl_nodehdl_t tmph; in do_dimms_init()
674 add_ref_prop(picl_nodehdl_t nodeh, picl_nodehdl_t tmph, char *str) in add_ref_prop()
788 picl_nodehdl_t rooth; in add_all_nodes()
859 picl_nodehdl_t chdh; in remove_all_nodes()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/littleneck/frutree/
H A Dpiclfrutree.c158 static int do_sysboard_init(picl_nodehdl_t, picl_nodehdl_t *);
165 static int add_ref_prop(picl_nodehdl_t, picl_nodehdl_t, char *);
252 do_sysboard_init(picl_nodehdl_t rooth, picl_nodehdl_t *childh) in do_sysboard_init()
254 picl_nodehdl_t tmph; in do_sysboard_init()
290 picl_nodehdl_t tmph; in do_cpus_init()
344 picl_nodehdl_t tmph; in do_mem_init()
400 picl_nodehdl_t tmph; in do_power_supplies_init()
481 picl_nodehdl_t tmph; in do_fcal_init()
515 picl_nodehdl_t tmph; in do_rscboard_init()
546 add_ref_prop(picl_nodehdl_t nodeh, picl_nodehdl_t tmph, char *str) in add_ref_prop()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/daktari/frutree/
H A Dpiclfrutree.c260 static int add_ref_prop(picl_nodehdl_t, picl_nodehdl_t, char *);
352 picl_nodehdl_t tmph; in do_ioboard_init()
386 picl_nodehdl_t tmph; in do_rscboard_init()
422 picl_nodehdl_t tmph; in do_fcal_init()
505 picl_nodehdl_t tmph; in do_power_supplies_init()
588 picl_nodehdl_t tmph; in do_motherboard_init()
711 picl_nodehdl_t tmph; in do_dimms_init()
768 add_ref_prop(picl_nodehdl_t nodeh, picl_nodehdl_t tmph, char *str) in add_ref_prop()
882 picl_nodehdl_t rooth; in add_all_nodes()
953 picl_nodehdl_t chdh; in remove_all_nodes()
[all …]
/illumos-gate/usr/src/lib/libpicl/
H A Dpicl.h45 typedef uint64_t picl_nodehdl_t; typedef
134 extern int picl_get_root(picl_nodehdl_t *nodehandle);
137 extern int picl_get_propval_by_name(picl_nodehdl_t nodeh,
141 extern int picl_set_propval_by_name(picl_nodehdl_t nodeh,
144 extern int picl_get_first_prop(picl_nodehdl_t nodeh, picl_prophdl_t *proph);
146 extern int picl_get_prop_by_name(picl_nodehdl_t nodeh, const char *nm,
152 extern int picl_walk_tree_by_class(picl_nodehdl_t rooth,
154 int (*callback_fn)(picl_nodehdl_t hdl, void *args));
158 extern int picl_find_node(picl_nodehdl_t rooth, char *pname,
160 picl_nodehdl_t *retnodeh);
[all …]
H A Dpicl2door.h64 picl_nodehdl_t nodeh;
119 picl_nodehdl_t rnode; /* root handle */
143 picl_nodehdl_t nodeh; /* node handle */
151 picl_nodehdl_t nodeh; /* node handle */
181 picl_nodehdl_t nodeh; /* node handle */
186 picl_nodehdl_t nodeh; /* node handle */
209 picl_nodehdl_t nodeh; /* node handle */
216 picl_nodehdl_t nodeh; /* node handle */
270 picl_nodehdl_t nodeh; /* node handle */
279 picl_nodehdl_t nodeh; /* node handle */
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/
H A Dpiclfrutree.c326 static picl_nodehdl_t find_child_by_name(picl_nodehdl_t parh, char *name);
347 static int add_sensor_node(picl_nodehdl_t fruhdl, picl_nodehdl_t lochdl,
429 picl_nodehdl_t rooth; in add_all_nodes()
524 picl_nodehdl_t chdh; in remove_subtree()
573 picl_nodehdl_t nodeh; in add_chassis_node()
1164 picl_nodehdl_t nodeh; in add_pci_location()
1427 static picl_nodehdl_t
1842 add_prop_ref(picl_nodehdl_t nodeh, picl_nodehdl_t value, char *name) in add_prop_ref()
2017 picl_nodehdl_t fruh; in frudr_completion_handler()
2018 picl_nodehdl_t parh; in frudr_completion_handler()
[all …]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/schumacher/common/
H A Dschumacher.c108 picl_nodehdl_t nodeh;
198 picl_nodehdl_t childh; in picldiag_get_node_by_name()
430 picl_nodehdl_t parenth; in picldiag_get_clock_from_parent()
456 picldiag_get_fru_parent(picl_nodehdl_t nodeh, picl_nodehdl_t *fruparenth) in picldiag_get_fru_parent()
458 picl_nodehdl_t fruh; in picldiag_get_fru_parent()
1294 picl_nodehdl_t mch; in print_memory_module_group_table()
1341 picl_nodehdl_t bankh; in print_bank_table()
1343 picl_nodehdl_t mch; in print_bank_table()
1576 picl_nodehdl_t chdh; in print_usb_devices()
1840 picl_nodehdl_t nodeh; in pci_callback()
[all …]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/
H A Dpicldiag.c120 picl_nodehdl_t nodeh;
238 picl_nodehdl_t childh; in picldiag_get_node_by_name()
469 picl_nodehdl_t parenth; in picldiag_get_clock_from_parent()
495 picldiag_get_fru_parent(picl_nodehdl_t nodeh, picl_nodehdl_t *fruparenth) in picldiag_get_fru_parent()
497 picl_nodehdl_t fruh; in picldiag_get_fru_parent()
798 picl_nodehdl_t fruph; in serialnum_callback()
1387 picl_nodehdl_t mch; in print_memory_module_group_table()
1434 picl_nodehdl_t bankh; in print_bank_table()
1436 picl_nodehdl_t mch; in print_bank_table()
1669 picl_nodehdl_t chdh; in print_usb_devices()
[all …]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/lw8/common/
H A Dlw8.c117 picl_nodehdl_t nodeh;
233 picl_nodehdl_t childh; in picldiag_get_node_by_name()
463 picl_nodehdl_t parenth; in picldiag_get_clock_from_parent()
489 picldiag_get_fru_parent(picl_nodehdl_t nodeh, picl_nodehdl_t *fruparenth) in picldiag_get_fru_parent()
491 picl_nodehdl_t fruh; in picldiag_get_fru_parent()
1404 picl_nodehdl_t mch; in print_memory_module_group_table()
1451 picl_nodehdl_t bankh; in print_bank_table()
1453 picl_nodehdl_t mch; in print_bank_table()
1663 picl_nodehdl_t chdh; in print_usb_devices()
1926 picl_nodehdl_t nodeh; in sbus_callback()
[all …]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/
H A Derie.h94 int erie_pci_callback(picl_nodehdl_t pcih, void *args);
95 int erie_hw_rev_callback(picl_nodehdl_t pcih, void *args);
96 int erie_get_first_compatible_value(picl_nodehdl_t nodeh,
98 int64_t erie_get_int_propval(picl_nodehdl_t modh, char *prop_name,
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 Dhuron.h101 int huron_pci_callback(picl_nodehdl_t pcih, void *args);
102 int huron_hw_rev_callback(picl_nodehdl_t pcih, void *args);
103 int huron_get_first_compatible_value(picl_nodehdl_t nodeh,
105 int64_t huron_get_int_propval(picl_nodehdl_t modh, char *prop_name,
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/lib/libfru/libfrupicl/
H A Dfrupicl.c275 picl_nodehdl_t p_child; in fpt_get_child()
291 picl_nodehdl_t p_parent; in fpt_get_parent()
345 find_next_section(picl_nodehdl_t current, picl_nodehdl_t *next) in find_next_section()
347 picl_nodehdl_t rc_next; in find_next_section()
369 find_first_section(picl_nodehdl_t parent, picl_nodehdl_t *section) in find_first_section()
629 picl_nodehdl_t section; in fpt_add_seg()
658 picl_nodehdl_t seg_hdl; in fpt_delete_seg()
681 picl_nodehdl_t segHdl; in fpt_add_tag_to_seg()
858 picl_nodehdl_t seg; in fpt_get_tag_data()
897 picl_nodehdl_t seg; in fpt_set_tag_data()
[all …]
/illumos-gate/usr/src/lib/libfru/libfrupicltree/
H A Dfrupicltree.c286 picl_nodehdl_t p_child; in fpt_get_child()
302 picl_nodehdl_t p_parent; in fpt_get_parent()
356 find_next_section(picl_nodehdl_t current, picl_nodehdl_t *next) in find_next_section()
358 picl_nodehdl_t rc_next; in find_next_section()
380 find_first_section(picl_nodehdl_t parent, picl_nodehdl_t *section) in find_first_section()
640 picl_nodehdl_t section; in fpt_add_seg()
669 picl_nodehdl_t seg_hdl; in fpt_delete_seg()
692 picl_nodehdl_t segHdl; in fpt_add_tag_to_seg()
870 picl_nodehdl_t seg; in fpt_get_tag_data()
909 picl_nodehdl_t seg; in fpt_set_tag_data()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/pri/
H A Dio_dev_label.c30 find_node_by_string_prop(picl_nodehdl_t rooth, const char *pname,
31 const char *pval, picl_nodehdl_t *nodeh);
33 compare_string_propval(picl_nodehdl_t nodeh, const char *pname,
47 picl_nodehdl_t platnode, tpn; in io_dev_addlabel()
209 PICL_PROP_PEER, &tpn, sizeof (picl_nodehdl_t))) { in io_dev_addlabel()
243 compare_string_propval(picl_nodehdl_t nodeh, const char *pname, in compare_string_propval()
277 find_node_by_string_prop(picl_nodehdl_t rooth, const char *pname, in find_node_by_string_prop()
278 const char *pval, picl_nodehdl_t *nodeh) in find_node_by_string_prop()
280 picl_nodehdl_t childh; in find_node_by_string_prop()
284 sizeof (picl_nodehdl_t)); err != PICL_PROPNOTFOUND; in find_node_by_string_prop()
[all …]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/opl/common/
H A Dopl_picl.c63 picl_nodehdl_t *nodeh);
90 picl_nodehdl_t nodeh; in opl_pci_callback()
156 sizeof (picl_nodehdl_t)); in opl_pci_callback()
169 &nodeh, sizeof (picl_nodehdl_t)); in opl_pci_callback()
515 picl_nodehdl_t *nodeh) in opl_get_node_by_name()
517 picl_nodehdl_t childh; in opl_get_node_by_name()
526 sizeof (picl_nodehdl_t)); in opl_get_node_by_name()
543 &childh, sizeof (picl_nodehdl_t)); in opl_get_node_by_name()
788 is_66mhz_capable(picl_nodehdl_t nodeh) in is_66mhz_capable()
882 picl_nodehdl_t chdh; in do_walk()
[all …]
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dpdevinfo_sun4v.c68 picl_errno_t sun4v_get_node_by_name(picl_nodehdl_t, char *, picl_nodehdl_t *);
83 picl_nodehdl_t rooth; /* root PICL node for IO display */ in do_prominfo()
84 picl_nodehdl_t plafh; /* Platform PICL node for IO display */ in do_prominfo()
239 sun4v_get_node_by_name(picl_nodehdl_t rooth, char *name, in sun4v_get_node_by_name()
240 picl_nodehdl_t *nodeh) in sun4v_get_node_by_name()
242 picl_nodehdl_t childh; in sun4v_get_node_by_name()
251 sizeof (picl_nodehdl_t)); in sun4v_get_node_by_name()
258 &childh, sizeof (picl_nodehdl_t)); in sun4v_get_node_by_name()
268 &childh, sizeof (picl_nodehdl_t)); in sun4v_get_node_by_name()
H A Ddisplay_sun4v.c89 picl_nodehdl_t *);
119 picl_nodehdl_t plafh) in sun4v_display()
260 picl_nodehdl_t pnodeh; in get_slot_label()
346 picl_nodehdl_t pnodeh; in get_slot_number()
439 picl_nodehdl_t nodeh, pnodeh; in sun4v_pci_callback()
445 sizeof (picl_nodehdl_t)); in sun4v_pci_callback()
752 picl_nodehdl_t module_nodeh; in print_memory_segment_contain()
1125 picl_nodehdl_t parenth; in sun4v_env_print_sensor_callback()
1355 picl_nodehdl_t parenth; in sun4v_env_print_indicator_callback()
1760 picl_nodehdl_t parenth; in sun4v_print_fru_status_callback()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/
H A Dpiclfrudr.c358 static picl_nodehdl_t find_child_by_name(picl_nodehdl_t parh, char *name);
455 picl_nodehdl_t childh; in piclfrudr_init()
506 picl_nodehdl_t nodeh; in add_op_status_by_name()
887 static picl_nodehdl_t
890 picl_nodehdl_t nodeh; in find_child_by_name()
915 add_prop_ref(picl_nodehdl_t nodeh, picl_nodehdl_t value, char *name) in add_prop_ref()
1072 picl_nodehdl_t nodeh; in remove_fru_parents()
1242 picl_nodehdl_t fruh; in frudr_completion_handler()
1243 picl_nodehdl_t parh; in frudr_completion_handler()
1332 post_frudr_event(char *ename, picl_nodehdl_t parenth, picl_nodehdl_t fruh) in post_frudr_event()
[all …]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/montoya/common/
H A Dmontoya.c62 void sun4v_display_pci(picl_nodehdl_t plafh);
68 static int montoya_pci_callback(picl_nodehdl_t pcih, void *args);
69 static int montoya_get_first_compatible_value(picl_nodehdl_t nodeh,
117 montoya_pci_callback(picl_nodehdl_t pcih, void *args) in montoya_pci_callback()
120 picl_nodehdl_t nodeh; in montoya_pci_callback()
140 sizeof (picl_nodehdl_t)); in montoya_pci_callback()
150 &nodeh, sizeof (picl_nodehdl_t)); in montoya_pci_callback()
156 &nodeh, sizeof (picl_nodehdl_t)); in montoya_pci_callback()
261 sizeof (picl_nodehdl_t)); in montoya_pci_callback()
273 sun4v_display_pci(picl_nodehdl_t plafh) in sun4v_display_pci()
[all …]
/illumos-gate/usr/src/lib/libprtdiag/inc/
H A Ddisplay_sun4v.h43 void sun4v_display_pci(picl_nodehdl_t plafh);
45 void sun4v_display_cpu_devices(picl_nodehdl_t plafh);
46 int sun4v_display_cpus(picl_nodehdl_t cpuh, void* args);
47 void sun4v_display_diaginfo(int flag, Prom_node *root, picl_nodehdl_t plafh);
48 int sun4v_display(Sys_tree *, Prom_node *, int, picl_nodehdl_t);
/illumos-gate/usr/src/cmd/picl/plugins/common/memcfg/
H A Dpiclmemcfg_comm.c117 static picl_nodehdl_t *msegh_info;
133 picl_nodehdl_t mmgh;
134 picl_nodehdl_t mch;
243 static picl_nodehdl_t mmodgrph; in add_mem_banks()
374 picl_nodehdl_t msegh; in create_logical_tree()
501 picl_nodehdl_t dimmh; in add_mem_modules()
561 picl_nodehdl_t mmodgrph; in create_physical_tree()
781 picl_nodehdl_t plfh; in piclmemcfg_init()
782 picl_nodehdl_t memh; in piclmemcfg_init()
897 picl_nodehdl_t memh; in piclmemcfg_evhandler()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/common/devtree/
H A Dpicldevtree.c267 static int get_unitaddr(picl_nodehdl_t parh, picl_nodehdl_t nodeh,
283 picl_nodehdl_t mch; in mc_completion_handler()
1060 picl_nodehdl_t parh; in get_path_state_name()
1394 construct_picl_openprom(picl_nodehdl_t rooth, picl_nodehdl_t *obph) in construct_picl_openprom()
1396 picl_nodehdl_t tmph; in construct_picl_openprom()
1521 picl_nodehdl_t chdh; in construct_openprom_tree()
1552 construct_devinfo_tree(picl_nodehdl_t plafh, picl_nodehdl_t obph, in construct_devinfo_tree()
1556 picl_nodehdl_t chdh; in construct_devinfo_tree()
1607 picl_nodehdl_t chdh; in update_subtree()
1608 picl_nodehdl_t nh; in update_subtree()
[all …]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/monza/common/
H A Dmonza.c62 void sun4v_display_pci(picl_nodehdl_t plafh);
70 static int monza_pci_callback(picl_nodehdl_t pcih, void *args);
71 static int monza_get_first_compatible_value(picl_nodehdl_t nodeh,
144 monza_pci_callback(picl_nodehdl_t pcih, void *args) in monza_pci_callback()
147 picl_nodehdl_t nodeh; in monza_pci_callback()
168 sizeof (picl_nodehdl_t)); in monza_pci_callback()
183 &nodeh, sizeof (picl_nodehdl_t)); in monza_pci_callback()
298 sizeof (picl_nodehdl_t)); in monza_pci_callback()
310 sun4v_display_pci(picl_nodehdl_t plafh) in sun4v_display_pci()
376 monza_hw_rev_callback(picl_nodehdl_t pcih, void *args) in monza_hw_rev_callback()
[all …]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/
H A Dcherrystone.c84 static int print_disk(picl_nodehdl_t);
86 static int print_ps(picl_nodehdl_t);
434 picl_nodehdl_t system_node, root; in disp_envc_status()
480 picl_nodehdl_t *ps; in print_ps()
481 picl_nodehdl_t *ps_fail_sensor; in print_ps()
553 picl_nodehdl_t *fans; in print_fans()
554 picl_nodehdl_t phdl; in print_fans()
618 picl_nodehdl_t *disks; in print_disk()
657 picl_nodehdl_t *fsp_led; in print_FSP_LEDS()
702 picl_nodehdl_t *keyswitch; in print_keyswitch()
[all …]

1234