Home
last modified time | relevance | path

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

/linux-6.6.21/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
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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);
/linux-6.6.21/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);
/linux-6.6.21/sound/pci/lx6464es/
Dlx6464es.c851 int current_value = chip->playback_mute; in lx_control_playback_put() local
853 if (current_value != ucontrol->value.integer.value[0]) { in lx_control_playback_put()
854 lx_level_unmute(chip, 0, !current_value); in lx_control_playback_put()
855 chip->playback_mute = !current_value; in lx_control_playback_put()
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-class-firmware-attributes32 current_value:
73 increments of current_value this attribute accepts.
146 the list in a different order to current_value alters
223 echo "disabled" > TouchScreen/current_value
298 echo Enable > attribute/PasswordBeep/current_value
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/Documentation/hid/
Dhid-bpf.rst384 __u8 current_value = 0;
395 if (current_value != data[152]) {
404 current_value = data[152];
/linux-6.6.21/drivers/platform/x86/
Dthinkpad_acpi.c6630 unsigned int current_value, i; in tpacpi_brightness_set_ucmsstep() local
6634 current_value = tpacpi_brightness_nvram_get(); in tpacpi_brightness_set_ucmsstep()
6636 if (value == current_value) in tpacpi_brightness_set_ucmsstep()
6639 cmos_cmd = (value > current_value) ? in tpacpi_brightness_set_ucmsstep()
6642 inc = (value > current_value) ? 1 : -1; in tpacpi_brightness_set_ucmsstep()
6644 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);
/linux-6.6.21/Documentation/sound/kernel-api/
Dwriting-an-alsa-driver.rst2624 if (chip->current_value !=