/titanic_41/usr/src/cmd/picl/plugins/sun4u/frudata/ |
H A D | fru_data.c | 935 prop.piclinfo.type = PICL_PTYPE_TABLE; in create_packet_table() 936 prop.piclinfo.accessmode = PICL_READ|PICL_WRITE; in create_packet_table() 937 prop.piclinfo.size = sizeof (picl_prophdl_t); in create_packet_table() 940 (void) strcpy(prop.piclinfo.name, PICL_PROP_PACKET_TABLE); in create_packet_table() 1122 prop.piclinfo.type = PICL_PTYPE_BYTEARRAY; in add_row_to_table() 1123 prop.piclinfo.accessmode = PICL_READ|PICL_WRITE|PICL_VOLATILE; in add_row_to_table() 1124 prop.piclinfo.size = sizeof (fru_tag_t); in add_row_to_table() 1129 (void) strcpy(prop.piclinfo.name, PICL_PROP_TAG); in add_row_to_table() 1143 prop.piclinfo.type = PICL_PTYPE_BYTEARRAY; in add_row_to_table() 1144 prop.piclinfo.size = paylen; in add_row_to_table() [all …]
|
/titanic_41/usr/src/lib/libpicltree/ |
H A D | picltree.c | 1212 if (!(pinfo->piclinfo.accessmode & PICL_VOLATILE) && in create_propobj() 1213 (pinfo->piclinfo.type != PICL_PTYPE_VOID) && in create_propobj() 1223 pobj->prop_type = pinfo->piclinfo.type; in create_propobj() 1224 pobj->prop_mode = pinfo->piclinfo.accessmode; in create_propobj() 1225 pobj->prop_size = pinfo->piclinfo.size; in create_propobj() 1226 (void) strcpy(pobj->prop_name, pinfo->piclinfo.name); in create_propobj() 1231 if (!(pinfo->piclinfo.accessmode & PICL_VOLATILE)) { in create_propobj() 1232 pobj->prop_val = malloc(pinfo->piclinfo.size); in create_propobj() 1239 pinfo->piclinfo.size); in create_propobj() 1242 pinfo->piclinfo.size); in create_propobj() [all …]
|
H A D | ptree_impl.h | 159 #define prop_type u.prop.info.piclinfo.type 160 #define prop_size u.prop.info.piclinfo.size 161 #define prop_mode u.prop.info.piclinfo.accessmode 162 #define prop_name u.prop.info.piclinfo.name
|
H A D | picltree.h | 71 picl_propinfo_t piclinfo; /* client info */ member
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/daktari/psvcplugin/ |
H A D | psvcplugin.c | 279 dstinfo->name, buf, propinfo.piclinfo.size); in fan_speed_read() 410 if (strcmp(dst_prop, dstinfo.piclinfo.name) == 0) in load_projected_properties() 422 propinfo.piclinfo.type = dstinfo.piclinfo.type; in load_projected_properties() 423 propinfo.piclinfo.accessmode = PICL_READ | PICL_VOLATILE; in load_projected_properties() 424 propinfo.piclinfo.size = dstinfo.piclinfo.size; in load_projected_properties() 425 strcpy(propinfo.piclinfo.name, src_prop); in load_projected_properties()
|
/titanic_41/usr/src/cmd/picl/picld/ |
H A D | picld.c | 324 if (!(pinfo.piclinfo.accessmode & PICL_READ)) in picld_get_attrval() 327 vbufsize = pinfo.piclinfo.size; in picld_get_attrval() 345 if (pinfo.piclinfo.type == PICL_PTYPE_CHARSTRING) in picld_get_attrval() 351 if ((pinfo.piclinfo.type == PICL_PTYPE_TABLE) || in picld_get_attrval() 352 (pinfo.piclinfo.type == PICL_PTYPE_REFERENCE)) in picld_get_attrval() 386 if (!(pinfo.piclinfo.accessmode & PICL_READ)) in picld_get_attrval_by_name() 392 vbufsize = pinfo.piclinfo.size; in picld_get_attrval_by_name() 411 if (pinfo.piclinfo.type == PICL_PTYPE_CHARSTRING) in picld_get_attrval_by_name() 414 if ((pinfo.piclinfo.type == PICL_PTYPE_TABLE) || in picld_get_attrval_by_name() 415 (pinfo.piclinfo.type == PICL_PTYPE_REFERENCE)) in picld_get_attrval_by_name() [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/psvc/psvcplugin/ |
H A D | psvcplugin.c | 929 propinfo.piclinfo.type = type; in node_property() 930 propinfo.piclinfo.accessmode = accessmode; in node_property() 931 propinfo.piclinfo.size = size; in node_property() 932 (void) strcpy(propinfo.piclinfo.name, name); in node_property() 986 dstinfo->name, buf, propinfo.piclinfo.size); in projected_read() 1008 dstinfo->name, buf, propinfo.piclinfo.size); in projected_write() 1042 (strcmp(propinfo.piclinfo.name, in psvc_read_volatile() 1051 if (strcmp(propinfo.piclinfo.name, in psvc_read_volatile() 1103 (strcmp(propinfo.piclinfo.name, in psvc_write_volatile() 1112 if (strcmp(propinfo.piclinfo.name, in psvc_write_volatile() [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4v/pri/ |
H A D | priplugin.c | 66 propinfo->piclinfo.type = type; in set_prop_info() 67 propinfo->piclinfo.accessmode = PICL_READ; in set_prop_info() 68 propinfo->piclinfo.size = size; in set_prop_info() 69 (void) strlcpy(propinfo->piclinfo.name, name, in set_prop_info() 70 sizeof (propinfo->piclinfo.name)); in set_prop_info()
|
H A D | io_dev_label.c | 259 if (pinfo.piclinfo.type != PICL_PTYPE_CHARSTRING) in compare_string_propval()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
H A D | cpu_prop_update.c | 42 propinfo->piclinfo.type = type; in set_prop_info() 43 propinfo->piclinfo.accessmode = PICL_READ; in set_prop_info() 44 propinfo->piclinfo.size = size; in set_prop_info() 45 (void) strncpy(propinfo->piclinfo.name, name, in set_prop_info() 46 sizeof (propinfo->piclinfo.name)); in set_prop_info()
|
/titanic_41/usr/src/lib/libfru/libfrupicltree/ |
H A D | frupicltree.c | 126 buf_size = prop_info.piclinfo.size; in get_strprop_by_name() 718 buf_size = add_prop_info.piclinfo.size; in fpt_add_tag_to_seg() 1050 if (propinfo.piclinfo.size == 0) in fpt_get_segment_name() 1053 if ((propval = malloc(propinfo.piclinfo.size)) == NULL) in fpt_get_segment_name() 1056 if ((status = ptree_get_propval(proph, propval, propinfo.piclinfo.size)) in fpt_get_segment_name() 1118 if (propinfo.piclinfo.size > 0) { in fpt_for_each_packet() 1119 payload = alloca(propinfo.piclinfo.size); in fpt_for_each_packet() 1121 propinfo.piclinfo.size)) in fpt_for_each_packet() 1129 propinfo.piclinfo.size)) in fpt_for_each_packet() 1132 if ((status = function(&tag, payload, propinfo.piclinfo.size, in fpt_for_each_packet()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/grover/memcfg/ |
H A D | piclmemcfg.c | 336 if ((memspec = alloca(pinfo.piclinfo.size)) == NULL) in get_reg_info() 339 nregspec = pinfo.piclinfo.size / sizeof (*memspec); in get_reg_info() 344 err = ptree_get_propval(proph, memspec, pinfo.piclinfo.size); in get_reg_info()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/ |
H A D | piclfrudr.c | 946 prop.piclinfo.type = PICL_PTYPE_CHARSTRING; in create_table_entry() 947 prop.piclinfo.accessmode = PICL_READ; in create_table_entry() 948 prop.piclinfo.size = PICL_CLASSNAMELEN_MAX; in create_table_entry() 951 (void) strlcpy(prop.piclinfo.name, PICL_PROP_CLASS, in create_table_entry() 952 sizeof (prop.piclinfo.name)); in create_table_entry() 961 prop.piclinfo.type = PICL_PTYPE_REFERENCE; in create_table_entry() 962 prop.piclinfo.accessmode = PICL_READ; in create_table_entry() 963 prop.piclinfo.size = sizeof (picl_nodehdl_t); in create_table_entry() 966 sprintf_buf2(prop.piclinfo.name, "_%s_", class); in create_table_entry() 994 prop.piclinfo.type = PICL_PTYPE_TABLE; in create_table() [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/common/devtree/ |
H A D | picldevtree.c | 719 if (pinfo.piclinfo.type != PICL_PTYPE_CHARSTRING) in compare_string_propval() 2675 switch (propinfo.piclinfo.type) { in create_asr_node() 2690 prop_string = malloc(propinfo.piclinfo.size); in create_asr_node() 2695 propinfo.piclinfo.size); in create_asr_node() 2952 if (pinfo.piclinfo.size < sizeof (uint32_t)) /* too small */ in get_first_reg_word() 2954 regbuf = alloca(pinfo.piclinfo.size); in get_first_reg_word() 2957 err = ptree_get_propval(regh, regbuf, pinfo.piclinfo.size); in get_first_reg_word() 3252 len = pinfo.piclinfo.size; in get_addrcells_prop() 3315 if (pinfo.piclinfo.size < (addrcells * sizeof (uint32_t))) in add_unitaddr_prop() 3318 regproplen = pinfo.piclinfo.size; in add_unitaddr_prop() [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/ |
H A D | piclfrutree.c | 1942 prop.piclinfo.type = PICL_PTYPE_CHARSTRING; in create_table_entry() 1943 prop.piclinfo.accessmode = PICL_READ; in create_table_entry() 1944 prop.piclinfo.size = PICL_CLASSNAMELEN_MAX; in create_table_entry() 1947 (void) strlcpy(prop.piclinfo.name, PICL_PROP_CLASS, in create_table_entry() 1948 sizeof (prop.piclinfo.name)); in create_table_entry() 1957 prop.piclinfo.type = PICL_PTYPE_REFERENCE; in create_table_entry() 1958 prop.piclinfo.accessmode = PICL_READ; in create_table_entry() 1959 prop.piclinfo.size = sizeof (picl_nodehdl_t); in create_table_entry() 1962 sprintf_buf2(prop.piclinfo.name, "_%s_", class); in create_table_entry() 1990 prop.piclinfo.type = PICL_PTYPE_TABLE; in create_table() [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/grover/envd/ |
H A D | piclenvsetup.c | 337 if (pinfo.piclinfo.type != PICL_PTYPE_CHARSTRING || in get_unit_address_prop() 338 pinfo.piclinfo.size > len) in get_unit_address_prop() 341 err = ptree_get_propval(proph, buf, pinfo.piclinfo.size); in get_unit_address_prop()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/ |
H A D | piclenvsetup.c | 360 if (pinfo.piclinfo.type != PICL_PTYPE_CHARSTRING || in get_unit_address_prop() 361 pinfo.piclinfo.size > len) in get_unit_address_prop() 364 err = ptree_get_propval(proph, buf, pinfo.piclinfo.size); in get_unit_address_prop()
|
H A D | piclenvd.c | 616 (pinfo.piclinfo.type != PICL_PTYPE_BYTEARRAY)) in cb_lpm() 618 psize = pinfo.piclinfo.size; in cb_lpm() 2707 (pinfo.piclinfo.type != PICL_PTYPE_CHARSTRING)) in cb_cpu() 2710 psize = pinfo.piclinfo.size; in cb_cpu()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/ |
H A D | piclsensors.c | 333 (void) strncpy(prop_name, pi.piclinfo.name, sizeof (prop_name)); in get_sensor_thr() 373 (void) strncpy(prop_name, pi.piclinfo.name, sizeof (prop_name)); in set_sensor_thr()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | piclfrutree.c | 1057 vbuf = alloca(propinfo.piclinfo.size); in find_ref_parent() 1062 propinfo.piclinfo.size) != PICL_SUCCESS) { in find_ref_parent() 1156 vbuf = alloca(propinfo.piclinfo.size); in get_reference_handle() 1161 propinfo.piclinfo.size) != PICL_SUCCESS) { in get_reference_handle() 3974 vbuf = alloca(propinfo.piclinfo.size); in port_init() 3979 propinfo.piclinfo.size)) != PICL_SUCCESS) { in port_init() 3992 vbuf = alloca(propinfo.piclinfo.size); in port_init() 3997 propinfo.piclinfo.size)) != PICL_SUCCESS) { in port_init()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/ |
H A D | fru_access.c | 792 bname = alloca(propinfo.piclinfo.size); in fru_open_container() 798 retval = ptree_get_propval(prophdl, bname, propinfo.piclinfo.size); in fru_open_container()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/ |
H A D | fru_access.c | 801 bname = alloca(propinfo.piclinfo.size); in fru_open_container() 807 retval = ptree_get_propval(prophdl, bname, propinfo.piclinfo.size); in fru_open_container()
|
/titanic_41/usr/src/cmd/picl/plugins/lib/picld_pluginutil/ |
H A D | picld_pluginutil.c | 999 if (propinfo.piclinfo.type != PICL_PTYPE_TABLE) in process_table()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/envmon/ |
H A D | piclenvmon.c | 1687 (pi.piclinfo.accessmode & in envmon_evhandler()
|