Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/picl/plugins/sun4v/pri/
H A Dmem_prop_update.c202 uint64_t int_value; in add_bank_props() local
223 *size = int_value; in add_bank_props()
226 &int_value)) { in add_bank_props()
230 *mask = int_value; in add_bank_props()
233 &int_value)) { in add_bank_props()
292 uint64_t int_value; in add_segment_props() local
299 *size = int_value; in add_segment_props()
312 uint64_t int_value; in add_memory_props() local
320 int_value = size; in add_memory_props()
321 add_md_prop(node, sizeof (int_value), PICL_PROP_SIZE, &int_value, in add_memory_props()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Dcpu_prop_update.c77 uint64_t int_value; in add_tlb_props() local
118 &int_value))) { in add_tlb_props()
122 &int_value, PICL_PTYPE_INT); in add_tlb_props()
131 uint64_t int_value; in add_cache_props() local
180 &int_value))) { in add_cache_props()
184 &int_value, PICL_PTYPE_INT); in add_cache_props()
188 &int_value))) { in add_cache_props()
196 &int_value))) { in add_cache_props()
284 int int_value; in add_cpu_prop() local
342 &int_value, PICL_PTYPE_INT); in add_cpu_prop()
[all …]
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_util.c76 if (ipmi_errno_table[i].int_value == ihp->ih_errno) { in ipmi_errmsg()
145 if (ntp->int_value == id) { in ipmi_entity_name()
160 if (ntp->int_value == type) { in ipmi_sensor_type_name()
175 if (ntp->int_value == type) { in ipmi_sensor_units_name()
200 if (ntp->int_value == val) { in ipmi_sensor_reading_name()
H A Dipmi_impl.h109 int int_value; member
/illumos-gate/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()
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal_set_property.c114 dbus_int32_t int_value = 0; in main() local
170 int_value = strtol (optarg, NULL, 0); in main()
285 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()
581 if (!libhal_device_set_property_int(hal_ctx, nd->real_udi, p->key, p->v.int_value, &error)) { in add_properties()
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_subr.c360 if (ntp->int_value == type) { in topo_sensor_type_name()
375 if (ntp->int_value == type) { in topo_sensor_units_name()
390 if (ntp->int_value == type) { in topo_led_type_name()
405 if (ntp->int_value == type) { in topo_led_state_name()
557 if (state & ntp->int_value) { in topo_sensor_state_name()
H A Dtopo_subr.h68 uint32_t int_value; member
/illumos-gate/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()
/illumos-gate/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()