Home
last modified time | relevance | path

Searched refs:int_value (Results 1 – 11 of 11) sorted by relevance

/titanic_50/usr/src/cmd/picl/plugins/sun4v/pri/
H A Dmem_prop_update.c202 uint64_t int_value; in add_bank_props() local
220 if (!md_get_prop_val(mdp, banklistp, "size", &int_value)) { in add_bank_props()
221 add_md_prop(bankh, sizeof (int_value), PICL_PROP_SIZE, in add_bank_props()
222 &int_value, PICL_PTYPE_UNSIGNED_INT); in add_bank_props()
223 *size = int_value; in add_bank_props()
226 &int_value)) { in add_bank_props()
227 add_md_prop(bankh, sizeof (int_value), in add_bank_props()
229 &int_value, PICL_PTYPE_UNSIGNED_INT); in add_bank_props()
230 *mask = int_value; in add_bank_props()
233 &int_value)) { in add_bank_props()
[all …]
/titanic_50/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Dcpu_prop_update.c79 uint64_t int_value; in add_tlb_props() local
120 &int_value))) { in add_tlb_props()
123 add_md_prop(node, sizeof (int_value), property, in add_tlb_props()
124 &int_value, PICL_PTYPE_INT); in add_tlb_props()
133 uint64_t int_value; in add_cache_props() local
146 if (md_get_prop_val(mdp, cachelistp[i], "level", &int_value)) { in add_cache_props()
166 "l%d-icache", (int)int_value); in add_cache_props()
170 "l%d-dcache", (int)int_value); in add_cache_props()
174 "l%d-cache", (int)int_value); in add_cache_props()
182 &int_value))) { in add_cache_props()
[all …]
/titanic_50/usr/src/lib/libipmi/common/
H A Dipmi_util.c78 if (ipmi_errno_table[i].int_value == ihp->ih_errno) { in ipmi_errmsg()
147 if (ntp->int_value == id) { in ipmi_entity_name()
162 if (ntp->int_value == type) { in ipmi_sensor_type_name()
177 if (ntp->int_value == type) { in ipmi_sensor_units_name()
202 if (ntp->int_value == val) { in ipmi_sensor_reading_name()
H A Dipmi_impl.h109 int int_value; member
/titanic_50/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_subr.c341 if (ntp->int_value == type) { in topo_sensor_type_name()
356 if (ntp->int_value == type) { in topo_sensor_units_name()
371 if (ntp->int_value == type) { in topo_led_type_name()
386 if (ntp->int_value == type) { in topo_led_state_name()
533 if (ntp->int_value == state) { in topo_sensor_state_name()
H A Dtopo_subr.h67 uint32_t int_value; member
/titanic_50/usr/src/cmd/hal/tools/
H A Dhal_set_property.c113 dbus_int32_t int_value = 0; in main() local
167 int_value = strtol (optarg, NULL, 0); in main()
272 rc = libhal_device_set_property_int (hal_ctx, udi, key, int_value, &error); in main()
H A Dhal-device.c61 dbus_int32_t int_value; member
522 p->v.int_value = strtol(s, NULL, 10); in process_property()
583 if (!libhal_device_set_property_int(hal_ctx, nd->real_udi, p->key, p->v.int_value, &error)) { in add_properties()
/titanic_50/usr/src/cmd/hal/hald/
H A Dproperty.c43 dbus_int32_t int_value; member
109 prop->v.int_value = value; in hal_property_new_int()
187 return prop->v.int_value; in hal_property_get_int()
217 return g_strdup_printf ("%d", prop->v.int_value); in hal_property_to_string()
301 prop->v.int_value = value; in hal_property_set_int()
/titanic_50/usr/src/lib/libprtdiag/common/
H A Ddisplay_sun4v.c907 int *int_value; in sun4v_display_cpus() local
934 int_value = malloc(propinfo.size); in sun4v_display_cpus()
935 if (int_value == NULL) { in sun4v_display_cpus()
939 status = picl_get_propval(proph, int_value, propinfo.size); in sun4v_display_cpus()
945 CLK_FREQ_TO_MHZ(*int_value)); in sun4v_display_cpus()
948 free(int_value); in sun4v_display_cpus()
/titanic_50/usr/src/lib/hal/libhal/common/
H A Dlibhal.c236 dbus_int32_t int_value; member
365 p->v.int_value = v; in libhal_property_fill_value_from_variant()
685 return p->v.int_value; in libhal_ps_get_int32()
886 return iter->cur_prop->v.int_value; in libhal_psi_get_int()
1626 dbus_int32_t int_value, in libhal_device_set_property_helper() argument
1682 dbus_message_iter_append_basic (&iter, DBUS_TYPE_INT32, &int_value); in libhal_device_set_property_helper()