/titanic_50/usr/src/cmd/picl/plugins/sun4u/grover/envd/ |
H A D | piclenvsetup.c | 132 picl_nodehdl_t nodeh; /* sensor node handle */ member 159 picl_nodehdl_t nodeh; /* "fan" node handle */ member 176 picl_nodehdl_t nodeh; member 243 add_node_to_list(picl_nodehdl_t nodeh, node_list_t *listp) in add_node_to_list() argument 251 el->nodeh = nodeh; in add_node_to_list() 277 get_node_list_by_class(picl_nodehdl_t nodeh, const char *classname, in get_node_list_by_class() argument 287 err = ptree_get_propval_by_name(nodeh, PICL_PROP_CHILD, &chdh, in get_node_list_by_class() 324 get_unit_address_prop(picl_nodehdl_t nodeh, void *buf, size_t len) in get_unit_address_prop() argument 330 err = ptree_get_prop_by_name(nodeh, PICL_PROP_UNIT_ADDRESS, &proph); in get_unit_address_prop() 351 add_regular_prop(picl_nodehdl_t nodeh, char *name, int type, int access, in add_regular_prop() argument [all …]
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/ |
H A D | piclenvsetup.c | 104 picl_nodehdl_t nodeh; /* sensor node handle */ member 138 picl_nodehdl_t nodeh; /* "fan" node handle */ member 158 picl_nodehdl_t nodeh; member 266 add_node_to_list(picl_nodehdl_t nodeh, node_list_t *listp) in add_node_to_list() argument 274 el->nodeh = nodeh; in add_node_to_list() 300 get_node_list_by_class(picl_nodehdl_t nodeh, const char *classname, in get_node_list_by_class() argument 310 err = ptree_get_propval_by_name(nodeh, PICL_PROP_CHILD, &chdh, in get_node_list_by_class() 347 get_unit_address_prop(picl_nodehdl_t nodeh, void *buf, size_t len) in get_unit_address_prop() argument 353 err = ptree_get_prop_by_name(nodeh, PICL_PROP_UNIT_ADDRESS, &proph); in get_unit_address_prop() 374 add_regular_prop(picl_nodehdl_t nodeh, char *name, int type, int access, in add_regular_prop() argument [all …]
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/taco/envd/ |
H A D | piclenvsetup.c | 78 picl_nodehdl_t nodeh; /* sensor node handle */ member 111 picl_nodehdl_t nodeh; /* "fan" node handle */ member 243 add_regular_prop(picl_nodehdl_t nodeh, char *name, int type, int access, in add_regular_prop() argument 255 err = ptree_create_and_add_prop(nodeh, &propinfo, valbuf, &proph); in add_regular_prop() 266 add_volatile_prop(picl_nodehdl_t nodeh, char *name, int type, int access, in add_volatile_prop() argument 279 err = ptree_create_and_add_prop(nodeh, &propinfo, NULL, &proph); in add_volatile_prop() 289 add_sensor_thresh_props(picl_nodehdl_t nodeh, sensor_ctrl_blk_t *threshp) in add_sensor_thresh_props() argument 293 (void) add_regular_prop(nodeh, PICL_PROP_LOW_POWER_OFF, in add_sensor_thresh_props() 298 (void) add_regular_prop(nodeh, PICL_PROP_LOW_SHUTDOWN, in add_sensor_thresh_props() 303 (void) add_regular_prop(nodeh, PICL_PROP_LOW_WARNING, in add_sensor_thresh_props() [all …]
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/ |
H A D | piclenvsetup.c | 80 picl_nodehdl_t nodeh; /* sensor node handle */ member 120 picl_nodehdl_t nodeh; /* "fan" node handle */ member 154 picl_nodehdl_t nodeh; /* "disk" node handle */ member 311 add_regular_prop(picl_nodehdl_t nodeh, char *name, int type, int access, in add_regular_prop() argument 323 err = ptree_create_and_add_prop(nodeh, &propinfo, valbuf, &proph); in add_regular_prop() 334 add_volatile_prop(picl_nodehdl_t nodeh, char *name, int type, int access, in add_volatile_prop() argument 347 err = ptree_create_and_add_prop(nodeh, &propinfo, NULL, &proph); in add_volatile_prop() 357 add_sensor_thresh_props(picl_nodehdl_t nodeh, sensor_ctrl_blk_t *threshp) in add_sensor_thresh_props() argument 361 (void) add_regular_prop(nodeh, PICL_PROP_LOW_POWER_OFF, in add_sensor_thresh_props() 366 (void) add_regular_prop(nodeh, PICL_PROP_LOW_SHUTDOWN, in add_sensor_thresh_props() [all …]
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/chicago/envd/ |
H A D | piclenvsetup.c | 76 picl_nodehdl_t nodeh; /* sensor node handle */ member 114 picl_nodehdl_t nodeh; /* "fan" node handle */ member 142 picl_nodehdl_t nodeh; /* "disk" node handle */ member 301 add_regular_prop(picl_nodehdl_t nodeh, char *name, int type, int access, in add_regular_prop() argument 313 err = ptree_create_and_add_prop(nodeh, &propinfo, valbuf, &proph); in add_regular_prop() 324 add_volatile_prop(picl_nodehdl_t nodeh, char *name, int type, int access, in add_volatile_prop() argument 337 err = ptree_create_and_add_prop(nodeh, &propinfo, NULL, &proph); in add_volatile_prop() 347 add_sensor_thresh_props(picl_nodehdl_t nodeh, es_sensor_blk_t *sensor_blkp) in add_sensor_thresh_props() argument 351 (void) add_regular_prop(nodeh, PICL_PROP_LOW_POWER_OFF, in add_sensor_thresh_props() 356 (void) add_regular_prop(nodeh, PICL_PROP_LOW_SHUTDOWN, in add_sensor_thresh_props() [all …]
|
/titanic_50/usr/src/lib/libpicltree/ |
H A D | picltree.h | 49 picl_nodehdl_t nodeh; member 55 picl_nodehdl_t nodeh; member 84 extern int ptree_get_root(picl_nodehdl_t *nodeh); 86 picl_nodehdl_t *nodeh); 87 extern int ptree_destroy_node(picl_nodehdl_t nodeh); 89 extern int ptree_delete_node(picl_nodehdl_t nodeh); 95 extern int ptree_add_prop(picl_nodehdl_t nodeh, picl_prophdl_t proph); 99 extern int ptree_update_propval_by_name(picl_nodehdl_t nodeh, 105 extern int ptree_get_propval_by_name(picl_nodehdl_t nodeh, 108 extern int ptree_get_first_prop(picl_nodehdl_t nodeh, [all …]
|
H A D | llib-lpicltree | 37 int ptree_get_root(picl_nodehdl_t *nodeh); 39 picl_nodehdl_t *nodeh); 40 int ptree_destroy_node(picl_nodehdl_t nodeh); 42 int ptree_delete_node(picl_nodehdl_t nodeh); 48 int ptree_add_prop(picl_nodehdl_t nodeh, picl_prophdl_t proph); 52 int ptree_update_propval_by_name(picl_nodehdl_t nodeh, const char *name, 57 int ptree_get_propval_by_name(picl_nodehdl_t nodeh, const char *name, 60 int ptree_get_first_prop(picl_nodehdl_t nodeh, picl_prophdl_t *proph); 62 int ptree_get_prop_by_name(picl_nodehdl_t nodeh, const char *name, 67 int ptree_get_node_by_path(const char *prl, picl_nodehdl_t *nodeh); [all …]
|
/titanic_50/usr/src/lib/libprtdiag/common/ |
H A D | display_sun4v.c | 197 get_bus_type(picl_nodehdl_t nodeh, struct io_card *card) in get_bus_type() argument 203 if (picl_get_propval_by_name(nodeh, PICL_PROP_BINDING_NAME, val, in get_bus_type() 256 get_slot_label(picl_nodehdl_t nodeh, struct io_card *card) in get_slot_label() argument 268 err = picl_get_propval_by_name(nodeh, PICL_PROP_LABEL, val, in get_slot_label() 292 if (picl_get_propval_by_name(nodeh, PICL_PROP_INSTANCE, &instance, in get_slot_label() 301 if (picl_get_propval_by_name(nodeh, PICL_PROP_DEVICE_ID, &devid, in get_slot_label() 309 if (picl_get_propval_by_name(nodeh, PICL_PROP_PARENT, &pnodeh, in get_slot_label() 341 get_slot_number(picl_nodehdl_t nodeh, struct io_card *card) in get_slot_number() argument 354 if (picl_get_propval_by_name(nodeh, PICL_PROP_PARENT, &pnodeh, in get_slot_number() 365 nodeh = pnodeh; in get_slot_number() [all …]
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/ontario/common/ |
H A D | erie.c | 70 picl_nodehdl_t nodeh; in erie_pci_callback() local 88 err = picl_get_propval_by_name(pcih, PICL_PROP_CHILD, &nodeh, in erie_pci_callback() 93 if ((err = erie_get_class(nodeh, piclclass, in erie_pci_callback() 100 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, in erie_pci_callback() 101 &nodeh, sizeof (picl_nodehdl_t)); in erie_pci_callback() 110 if ((err = erie_get_path(nodeh, path, sizeof (path))) in erie_pci_callback() 113 if ((err = erie_get_name(nodeh, name, sizeof (name))) in erie_pci_callback() 116 if ((err = erie_get_model(nodeh, model, sizeof (model))) in erie_pci_callback() 154 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, &nodeh, in erie_pci_callback() 257 erie_get_first_compatible_value(picl_nodehdl_t nodeh, char **outbuf) in erie_get_first_compatible_value() argument [all …]
|
H A D | stpaul.c | 63 static int stpaul_get_first_compatible_value(picl_nodehdl_t nodeh, 73 picl_nodehdl_t nodeh; in stpaul_pci_callback() local 92 err = picl_get_propval_by_name(pcih, PICL_PROP_CHILD, &nodeh, in stpaul_pci_callback() 96 err = picl_get_propval_by_name(nodeh, PICL_PROP_CLASSNAME, in stpaul_pci_callback() 102 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, in stpaul_pci_callback() 103 &nodeh, sizeof (picl_nodehdl_t)); in stpaul_pci_callback() 108 err = picl_get_propval_by_name(nodeh, PICL_PROP_CHILD, in stpaul_pci_callback() 109 &nodeh, sizeof (picl_nodehdl_t)); in stpaul_pci_callback() 113 err = picl_get_propval_by_name(nodeh, PICL_PROP_DEVFS_PATH, in stpaul_pci_callback() 124 err = picl_get_propval_by_name(nodeh, PICL_PROP_NAME, &name, in stpaul_pci_callback() [all …]
|
H A D | huron.c | 136 picl_nodehdl_t nodeh; in huron_pci_callback() local 154 err = picl_get_propval_by_name(pcih, PICL_PROP_CHILD, &nodeh, in huron_pci_callback() 158 err = picl_get_propval_by_name(nodeh, PICL_PROP_CLASSNAME, in huron_pci_callback() 164 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, in huron_pci_callback() 165 &nodeh, sizeof (picl_nodehdl_t)); in huron_pci_callback() 170 err = picl_get_propval_by_name(nodeh, PICL_PROP_CHILD, in huron_pci_callback() 171 &nodeh, sizeof (picl_nodehdl_t)); in huron_pci_callback() 175 err = picl_get_propval_by_name(nodeh, PICL_PROP_DEVFS_PATH, in huron_pci_callback() 185 err = picl_get_propval_by_name(nodeh, PICL_PROP_NAME, &name, in huron_pci_callback() 222 err = picl_get_propval_by_name(nodeh, PICL_PROP_BINDING_NAME, in huron_pci_callback() [all …]
|
H A D | pelton.c | 61 static int pelton_get_first_compatible_value(picl_nodehdl_t nodeh, 140 picl_nodehdl_t nodeh; in pelton_pci_callback() local 159 err = picl_get_propval_by_name(pcih, PICL_PROP_CHILD, &nodeh, in pelton_pci_callback() 163 err = picl_get_propval_by_name(nodeh, PICL_PROP_CLASSNAME, in pelton_pci_callback() 170 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, in pelton_pci_callback() 171 &nodeh, sizeof (picl_nodehdl_t)); in pelton_pci_callback() 175 err = picl_get_propval_by_name(nodeh, PICL_PROP_DEVFS_PATH, in pelton_pci_callback() 187 err = picl_get_propval_by_name(nodeh, PICL_PROP_NAME, &name, in pelton_pci_callback() 220 err = picl_get_propval_by_name(nodeh, PICL_PROP_BINDING_NAME, in pelton_pci_callback() 227 err = pelton_get_first_compatible_value(nodeh, in pelton_pci_callback() [all …]
|
H A D | erie.h | 98 int erie_get_first_compatible_value(picl_nodehdl_t nodeh, 107 int erie_get_name(picl_nodehdl_t nodeh, char name[], int size); 108 int erie_get_model(picl_nodehdl_t nodeh, char model[], int size); 109 int erie_get_path(picl_nodehdl_t nodeh, char path[], int size); 110 int erie_get_class(picl_nodehdl_t nodeh, char piclclass[], int size);
|
H A D | huron.h | 105 int huron_get_first_compatible_value(picl_nodehdl_t nodeh, 111 int huron_get_name(picl_nodehdl_t nodeh, char name[], int size); 112 int huron_get_model(picl_nodehdl_t nodeh, char model[], int size); 113 int huron_get_path(picl_nodehdl_t nodeh, char path[], int size); 114 int huron_get_class(picl_nodehdl_t nodeh, char piclclass[], int size);
|
/titanic_50/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
H A D | dr.c | 35 picl_nodehdl_t nodeh; member 47 add_string_list_prop(picl_nodehdl_t nodeh, char *name, char *strlist, in add_string_list_prop() argument 71 err = ptree_create_and_add_prop(nodeh, &propinfo, &tblh, &proph); in add_string_list_prop() 114 add_devinfo_props(picl_nodehdl_t nodeh, di_node_t di_node) in add_devinfo_props() argument 126 (void) ptree_create_and_add_prop(nodeh, &propinfo, &instance, NULL); in add_devinfo_props() 133 (void) ptree_create_and_add_prop(nodeh, &propinfo, di_val, in add_devinfo_props() 142 (void) ptree_create_and_add_prop(nodeh, &propinfo, di_val, in add_devinfo_props() 151 (void) ptree_create_and_add_prop(nodeh, &propinfo, di_val, in add_devinfo_props() 160 (void) ptree_create_and_add_prop(nodeh, &propinfo, di_val, in add_devinfo_props() 176 (void) ptree_create_and_add_prop(nodeh, &propinfo, in add_devinfo_props() [all …]
|
/titanic_50/usr/src/cmd/picl/plugins/sun4v/snmp/ |
H A D | snmpplugin.c | 250 static void save_nodeh(picl_nodehdl_t nodeh, int row); 263 static int add_volatile_prop(picl_nodehdl_t nodeh, char *name, 268 static void add_prop(picl_nodehdl_t nodeh, picl_prophdl_t *php, char *label, 695 picl_nodehdl_t nodeh, parenth; in make_node() local 708 if ((nodeh = lookup_nodeh(row)) != NULL) in make_node() 709 return (nodeh); in make_node() 786 add_prop(nodeh, &proph, node_name, row, PP_STATE, in make_node() 793 add_prop(nodeh, &proph, node_name, row, PP_OPSTATUS, in make_node() 804 add_prop(nodeh, &proph, node_name, row, PP_OPSTATUS, in make_node() 811 add_prop(nodeh, &proph, node_name, row, PP_OPSTATUS, in make_node() [all …]
|
/titanic_50/usr/src/cmd/picl/plugins/common/devtree/ |
H A D | picldevtree.c | 263 static int add_unitaddr_prop_to_subtree(picl_nodehdl_t nodeh); 264 static int get_unitaddr(picl_nodehdl_t parh, picl_nodehdl_t nodeh, 639 add_string_list_prop(picl_nodehdl_t nodeh, char *name, char *strlist, in add_string_list_prop() argument 663 err = ptree_create_and_add_prop(nodeh, &propinfo, &tblh, &proph); in add_string_list_prop() 705 compare_string_propval(picl_nodehdl_t nodeh, const char *pname, in compare_string_propval() argument 714 err = ptree_get_prop_by_name(nodeh, pname, &proph); in compare_string_propval() 741 const char *pval, picl_nodehdl_t *nodeh) in find_node_by_string_prop() argument 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() 832 process_charstring_data(picl_nodehdl_t nodeh, char *pname, unsigned char *pdata, in process_charstring_data() argument [all …]
|
/titanic_50/usr/src/lib/libpicl/ |
H A D | picl2door.h | 66 picl_nodehdl_t nodeh; member 71 #define ret_nodeh u.nodeh 145 picl_nodehdl_t nodeh; /* node handle */ member 153 picl_nodehdl_t nodeh; /* node handle */ member 183 picl_nodehdl_t nodeh; /* node handle */ member 188 picl_nodehdl_t nodeh; /* node handle */ member 211 picl_nodehdl_t nodeh; /* node handle */ member 218 picl_nodehdl_t nodeh; /* node handle */ member 272 picl_nodehdl_t nodeh; /* node handle */ member 281 picl_nodehdl_t nodeh; /* node handle */ member [all …]
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/lw8/common/ |
H A D | lw8.c | 117 picl_nodehdl_t nodeh; member 231 picl_nodehdl_t *nodeh) in picldiag_get_node_by_name() argument 254 *nodeh = childh; in picldiag_get_node_by_name() 461 picldiag_get_clock_from_parent(picl_nodehdl_t nodeh, uint32_t *clk) in picldiag_get_clock_from_parent() argument 467 err = picl_get_propval_by_name(nodeh, PICL_PROP_PARENT, in picldiag_get_clock_from_parent() 489 picldiag_get_fru_parent(picl_nodehdl_t nodeh, picl_nodehdl_t *fruparenth) in picldiag_get_fru_parent() argument 495 err = picl_get_propval_by_name(nodeh, PICL_REFPROP_FRU_PARENT, in picldiag_get_fru_parent() 499 err = picl_get_propval_by_name(nodeh, PICL_REFPROP_LOC_PARENT, in picldiag_get_fru_parent() 503 err = picl_get_propval_by_name(nodeh, PICL_PROP_PARENT, in picldiag_get_fru_parent() 504 &nodeh, sizeof (nodeh)); in picldiag_get_fru_parent() [all …]
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/desktop/common/ |
H A D | picldiag.c | 120 picl_nodehdl_t nodeh; member 236 picl_nodehdl_t *nodeh) in picldiag_get_node_by_name() argument 259 *nodeh = childh; in picldiag_get_node_by_name() 467 picldiag_get_clock_from_parent(picl_nodehdl_t nodeh, uint32_t *clk) in picldiag_get_clock_from_parent() argument 473 err = picl_get_propval_by_name(nodeh, PICL_PROP_PARENT, in picldiag_get_clock_from_parent() 495 picldiag_get_fru_parent(picl_nodehdl_t nodeh, picl_nodehdl_t *fruparenth) in picldiag_get_fru_parent() argument 501 err = picl_get_propval_by_name(nodeh, PICL_REFPROP_FRU_PARENT, in picldiag_get_fru_parent() 504 err = picl_get_propval_by_name(nodeh, PICL_REFPROP_LOC_PARENT, in picldiag_get_fru_parent() 508 err = picl_get_propval_by_name(nodeh, PICL_PROP_PARENT, in picldiag_get_fru_parent() 509 &nodeh, sizeof (nodeh)); in picldiag_get_fru_parent() [all …]
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl_picl.c | 63 picl_nodehdl_t *nodeh); 69 static int opl_get_first_compatible_value(picl_nodehdl_t nodeh, 90 picl_nodehdl_t nodeh; in opl_pci_callback() local 155 err = picl_get_propval_by_name(pcih, PICL_PROP_CHILD, &nodeh, in opl_pci_callback() 161 err = picl_get_propval_by_name(nodeh, PICL_PROP_CLASSNAME, in opl_pci_callback() 168 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, in opl_pci_callback() 169 &nodeh, sizeof (picl_nodehdl_t)); in opl_pci_callback() 173 err = picl_get_propval_by_name(nodeh, PICL_PROP_DEVFS_PATH, in opl_pci_callback() 193 (nodeh, OBP_PROP_REG, &pinfo, &proph); in opl_pci_callback() 202 (nodeh, OBP_PROP_REG, reg_val, pinfo.size); in opl_pci_callback() [all …]
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/montoya/common/ |
H A D | montoya.c | 71 static int montoya_get_first_compatible_value(picl_nodehdl_t nodeh, 122 picl_nodehdl_t nodeh; in montoya_pci_callback() local 141 err = picl_get_propval_by_name(pcih, PICL_PROP_CHILD, &nodeh, in montoya_pci_callback() 145 err = picl_get_propval_by_name(nodeh, PICL_PROP_CLASSNAME, in montoya_pci_callback() 151 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, in montoya_pci_callback() 152 &nodeh, sizeof (picl_nodehdl_t)); in montoya_pci_callback() 157 err = picl_get_propval_by_name(nodeh, PICL_PROP_CHILD, in montoya_pci_callback() 158 &nodeh, sizeof (picl_nodehdl_t)); in montoya_pci_callback() 162 err = picl_get_propval_by_name(nodeh, PICL_PROP_DEVFS_PATH, in montoya_pci_callback() 174 err = picl_get_propval_by_name(nodeh, PICL_PROP_NAME, &name, in montoya_pci_callback() [all …]
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/schumacher/common/ |
H A D | schumacher.c | 108 picl_nodehdl_t nodeh; member 196 picl_nodehdl_t *nodeh) in picldiag_get_node_by_name() argument 219 *nodeh = childh; in picldiag_get_node_by_name() 428 picldiag_get_clock_from_parent(picl_nodehdl_t nodeh, uint32_t *clk) in picldiag_get_clock_from_parent() argument 434 err = picl_get_propval_by_name(nodeh, PICL_PROP_PARENT, in picldiag_get_clock_from_parent() 456 picldiag_get_fru_parent(picl_nodehdl_t nodeh, picl_nodehdl_t *fruparenth) in picldiag_get_fru_parent() argument 462 err = picl_get_propval_by_name(nodeh, PICL_REFPROP_FRU_PARENT, in picldiag_get_fru_parent() 466 err = picl_get_propval_by_name(nodeh, PICL_REFPROP_LOC_PARENT, in picldiag_get_fru_parent() 470 err = picl_get_propval_by_name(nodeh, PICL_PROP_PARENT, in picldiag_get_fru_parent() 471 &nodeh, sizeof (nodeh)); in picldiag_get_fru_parent() [all …]
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/ |
H A D | piclfrutree.c | 318 static int add_led_nodes(picl_nodehdl_t nodeh, char *name, int position, 320 static int add_env_nodes(picl_nodehdl_t nodeh, char *nodename, 330 picl_nodehdl_t nodeh, picl_prophdl_t tblhdl); 331 static int create_cpu_references(char *pname, picl_nodehdl_t nodeh, 336 static int remove_picl_node(picl_nodehdl_t nodeh); 338 static int add_prop_ull(picl_nodehdl_t nodeh, uint64_t handle, char *name); 339 static int add_prop_void(picl_nodehdl_t nodeh, char *name); 340 static int add_prop_ref(picl_nodehdl_t nodeh, picl_nodehdl_t value, char *name); 341 static int add_prop_int(picl_nodehdl_t nodeh, int value, char *name); 342 static int add_prop_float(picl_nodehdl_t nodeh, float value, char *name); [all …]
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/monza/common/ |
H A D | monza.c | 73 static int monza_get_first_compatible_value(picl_nodehdl_t nodeh, 149 picl_nodehdl_t nodeh; in monza_pci_callback() local 169 err = picl_get_propval_by_name(pcih, PICL_PROP_CHILD, &nodeh, in monza_pci_callback() 173 err = picl_get_propval_by_name(nodeh, PICL_PROP_CLASSNAME, in monza_pci_callback() 184 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, in monza_pci_callback() 185 &nodeh, sizeof (picl_nodehdl_t)); in monza_pci_callback() 189 err = picl_get_propval_by_name(nodeh, PICL_PROP_DEVFS_PATH, in monza_pci_callback() 199 err = picl_get_propval_by_name(nodeh, PICL_PROP_NAME, &name, in monza_pci_callback() 211 err = picl_get_propval_by_name(nodeh, PICL_PROP_NAME, &name, in monza_pci_callback() 244 err = picl_get_propval_by_name(nodeh, PICL_PROP_BINDING_NAME, in monza_pci_callback() [all …]
|