Home
last modified time | relevance | path

Searched refs:current_value (Results 1 – 21 of 21) sorted by relevance

/drivers/platform/x86/hp/hp-bioscfg/
Dorder-list-attributes.c21 bioscfg_drv.ordered_list_data[instance_id].current_value); in current_value_show()
60 strscpy(ordered_list_data->current_value, in update_ordered_list_value()
62 sizeof(ordered_list_data->current_value)); in update_ordered_list_value()
69 ATTRIBUTE_PROPERTY_STORE(current_value, ordered_list);
71 __ATTR_RW_MODE(current_value, 0644);
182 strscpy(ordered_list_data->current_value, in hp_populate_ordered_list_elements_from_package()
183 str_value, sizeof(ordered_list_data->current_value)); in hp_populate_ordered_list_elements_from_package()
184 replace_char_str(ordered_list_data->current_value, COMMA_SEP, SEMICOLON_SEP); in hp_populate_ordered_list_elements_from_package()
350 ret = hp_get_string_from_buffer(&buffer_ptr, buffer_size, ordered_list_data->current_value, in hp_populate_ordered_list_elements_from_buffer()
351 sizeof(ordered_list_data->current_value)); in hp_populate_ordered_list_elements_from_buffer()
[all …]
Denum-attributes.c21 bioscfg_drv.enumeration_data[instance_id].current_value); in current_value_show()
55 strscpy(enum_data->current_value, in update_enumeration_value()
57 sizeof(enum_data->current_value)); in update_enumeration_value()
64 ATTRIBUTE_PROPERTY_STORE(current_value, enumeration);
66 __ATTR_RW(current_value);
239 strscpy(enum_data->current_value, in hp_populate_enumeration_elements_from_package()
240 str_value, sizeof(enum_data->current_value)); in hp_populate_enumeration_elements_from_package()
358 ret = hp_get_string_from_buffer(&buffer_ptr, buffer_size, enum_data->current_value, in hp_populate_enumeration_elements_from_buffer()
359 sizeof(enum_data->current_value)); in hp_populate_enumeration_elements_from_buffer()
370 enum_data->current_value, in hp_populate_enumeration_elements_from_buffer()
[all …]
Dstring-attributes.c23 bioscfg_drv.string_data[instance_id].current_value); in current_value_show()
53 strscpy(string_data->current_value, attr_value, sizeof(string_data->current_value)); in update_string_value()
66 ATTRIBUTE_PROPERTY_STORE(current_value, string);
68 __ATTR_RW_MODE(current_value, 0644);
181 strscpy(string_data->current_value, in hp_populate_string_elements_from_package()
182 str_value, sizeof(string_data->current_value)); in hp_populate_string_elements_from_package()
316 ret = hp_get_string_from_buffer(&buffer_ptr, buffer_size, string_data->current_value, in hp_populate_string_elements_from_buffer()
317 sizeof(string_data->current_value)); in hp_populate_string_elements_from_buffer()
Dint-attributes.c21 bioscfg_drv.integer_data[instance_id].current_value); in current_value_show()
60 integer_data->current_value = in_val; in update_integer_value()
69 ATTRIBUTE_PROPERTY_STORE(current_value, integer);
71 __ATTR_RW_MODE(current_value, 0644);
192 integer_data->current_value = int_value; in hp_populate_integer_elements_from_package()
331 integer_data->current_value = 0; in hp_populate_integer_elements_from_buffer()
334 ret = kstrtoint(dst, 10, &integer_data->current_value); in hp_populate_integer_elements_from_buffer()
Dbioscfg.h134 u8 current_value[MAX_BUFF_SIZE]; member
143 u32 current_value; member
153 u8 current_value[MAX_BUFF_SIZE]; member
162 u8 current_value[MAX_BUFF_SIZE]; member
/drivers/acpi/acpica/
Dexutils.c249 u64 current_value; in acpi_ex_digits_needed() local
259 current_value = value; in acpi_ex_digits_needed()
264 while (current_value) { in acpi_ex_digits_needed()
265 (void)acpi_ut_short_divide(current_value, base, &current_value, in acpi_ex_digits_needed()
Dexfldio.c550 u64 current_value; in acpi_ex_write_with_update_rule() local
581 &current_value, in acpi_ex_write_with_update_rule()
587 merged_value |= (current_value & ~mask); in acpi_ex_write_with_update_rule()
/drivers/hwtracing/coresight/
Dcoresight-config.c68 reg_csdev->reg_desc.val64 = param_csdev->current_value; in cscfg_init_reg_param()
70 reg_csdev->reg_desc.val32 = (u32)param_csdev->current_value; in cscfg_init_reg_param()
114 feat_csdev->params_csdev[i].current_value = in cscfg_reset_feat()
207 val = param_csdev->current_value; in cscfg_update_curr_params()
Dcoresight-config.h181 u64 current_value; member
Dcoresight-syscfg.c363 feat_csdev->params_csdev[param_idx].current_value = value; in cscfg_update_feat_param_val()
/drivers/platform/x86/dell/dell-wmi-sysman/
Dstring-attributes.c65 attribute_property_store(current_value, str);
67 __ATTR_RW_MODE(current_value, 0600);
Dint-attributes.c75 attribute_property_store(current_value, integer);
77 __ATTR_RW_MODE(current_value, 0600);
Denum-attributes.c75 attribute_property_store(current_value, enumeration);
77 __ATTR_RW_MODE(current_value, 0600);
/drivers/media/usb/dvb-usb-v2/
Dmxl111sf-phy.c293 u8 current_value, u8 hysteresis_value) in mxl111sf_idac_config() argument
298 val = current_value; in mxl111sf_idac_config()
Dmxl111sf-phy.h32 u8 current_value, u8 hysteresis_value);
/drivers/md/persistent-data/
Ddm-space-map-metadata.c28 dm_block_t current_value; member
55 return t->value_set && below_threshold(t, t->current_value); in threshold_already_triggered()
65 t->current_value = value; in check_threshold()
/drivers/iio/adc/
Dqcom-spmi-rradc.c345 uint32_t current_value; in rradc_post_process_batt_id() local
348 current_value = chip->batt_id_data; in rradc_post_process_batt_id()
350 r_id = div64_s64(r_id, (RR_ADC_CHAN_MSB * current_value)); in rradc_post_process_batt_id()
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega20_hwmgr.h425 int32_t current_value; member
Dvega20_hwmgr.c1369 od8_settings->od8_settings_array[i].current_value = in vega20_od8_initialize_default_settings()
1376 od8_settings->od8_settings_array[i].current_value = in vega20_od8_initialize_default_settings()
/drivers/platform/x86/
Dthinkpad_acpi.c6631 unsigned int current_value, i; in tpacpi_brightness_set_ucmsstep() local
6635 current_value = tpacpi_brightness_nvram_get(); in tpacpi_brightness_set_ucmsstep()
6637 if (value == current_value) in tpacpi_brightness_set_ucmsstep()
6640 cmos_cmd = (value > current_value) ? in tpacpi_brightness_set_ucmsstep()
6643 inc = (value > current_value) ? 1 : -1; in tpacpi_brightness_set_ucmsstep()
6645 for (i = current_value; i != value; i += inc) in tpacpi_brightness_set_ucmsstep()
Dthink-lmi.c1093 static struct kobj_attribute attr_current_val = __ATTR_RW_MODE(current_value, 0600);