Home
last modified time | relevance | path

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

12

/linux/drivers/platform/x86/hp/hp-bioscfg/
H A Denum-attributes.c21 bioscfg_drv.enumeration_data[instance_id].current_value); in current_value_show()
55 strscpy(enum_data->current_value, attr_value); in update_enumeration_value()
62 ATTRIBUTE_PROPERTY_STORE(current_value, enumeration);
64 __ATTR_RW(current_value);
234 strscpy(enum_data->current_value, str_value); in hp_populate_enumeration_elements_from_package()
350 ret = hp_get_string_from_buffer(&buffer_ptr, buffer_size, enum_data->current_value, in hp_populate_enumeration_elements_from_buffer()
351 sizeof(enum_data->current_value)); in hp_populate_enumeration_elements_from_buffer()
362 enum_data->current_value, in hp_populate_enumeration_elements_from_buffer()
363 sizeof(enum_data->current_value)); in hp_populate_enumeration_elements_from_buffer()
H A Dorder-list-attributes.c21 bioscfg_drv.ordered_list_data[instance_id].current_value); in current_value_show()
60 strscpy(ordered_list_data->current_value, attr_value); in update_ordered_list_value()
67 ATTRIBUTE_PROPERTY_STORE(current_value, ordered_list);
69 __ATTR_RW_MODE(current_value, 0644);
180 strscpy(ordered_list_data->current_value, str_value); in hp_populate_ordered_list_elements_from_package()
181 replace_char_str(ordered_list_data->current_value, COMMA_SEP, SEMICOLON_SEP); in hp_populate_ordered_list_elements_from_package()
342 ret = hp_get_string_from_buffer(&buffer_ptr, buffer_size, ordered_list_data->current_value, in hp_populate_ordered_list_elements_from_buffer()
343 sizeof(ordered_list_data->current_value)); in hp_populate_ordered_list_elements_from_buffer()
347 replace_char_str(ordered_list_data->current_value, COMMA_SEP, SEMICOLON_SEP); in hp_populate_ordered_list_elements_from_buffer()
H A Dstring-attributes.c23 bioscfg_drv.string_data[instance_id].current_value); in current_value_show()
53 strscpy(string_data->current_value, attr_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, str_value); in hp_populate_string_elements_from_package()
312 ret = hp_get_string_from_buffer(&buffer_ptr, buffer_size, string_data->current_value, in hp_populate_string_elements_from_buffer()
313 sizeof(string_data->current_value)); in hp_populate_string_elements_from_buffer()
H A 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()
328 integer_data->current_value = 0; in hp_populate_integer_elements_from_buffer()
331 ret = kstrtoint(dst, 10, &integer_data->current_value); in hp_populate_integer_elements_from_buffer()
H A 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/drivers/acpi/acpica/
H A 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()
H A 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/tools/testing/selftests/damon/
H A Ddamos_quota_goal.py39 goal.current_value = score_values_to_test.pop(0)
40 expect_increase = goal.current_value < goal.target_value
61 goal.current_value, last_effective_bytes, goal.effective_bytes,
H A D_damon_sysfs.py91 current_value = None variable in DamosQuotaGoal
96 def __init__(self, metric, target_value=10000, current_value=0): argument
99 self.current_value = current_value
114 self.current_value)
/linux/drivers/hwtracing/coresight/
H A 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()
H A Dcoresight-config.h181 u64 current_value; member
/linux/drivers/md/dm-vdo/
H A Drecovery-journal.c143 u16 *current_value; in vdo_release_recovery_journal_block_reference() local
151 current_value = get_counter(journal, lock_number, zone_type, zone_id); in vdo_release_recovery_journal_block_reference()
153 VDO_ASSERT_LOG_ONLY((*current_value >= 1), in vdo_release_recovery_journal_block_reference()
155 *current_value -= 1; in vdo_release_recovery_journal_block_reference()
163 if (*current_value != 0) in vdo_release_recovery_journal_block_reference()
1562 u16 *current_value; in vdo_acquire_recovery_journal_block_reference() local
1571 current_value = get_counter(journal, lock_number, zone_type, zone_id); in vdo_acquire_recovery_journal_block_reference()
1572 VDO_ASSERT_LOG_ONLY(*current_value < U16_MAX, in vdo_acquire_recovery_journal_block_reference()
1575 if (*current_value == 0) { in vdo_acquire_recovery_journal_block_reference()
1586 *current_value += 1; in vdo_acquire_recovery_journal_block_reference()
/linux/drivers/platform/x86/dell/dell-wmi-sysman/
H A Dstring-attributes.c65 attribute_property_store(current_value, str);
67 __ATTR_RW_MODE(current_value, 0600);
H A Dint-attributes.c75 attribute_property_store(current_value, integer);
77 __ATTR_RW_MODE(current_value, 0600);
H A Denum-attributes.c75 attribute_property_store(current_value, enumeration);
77 __ATTR_RW_MODE(current_value, 0600);
/linux/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf-phy.c293 u8 current_value, u8 hysteresis_value) in mxl111sf_idac_config() argument
298 val = current_value; in mxl111sf_idac_config()
H A Dmxl111sf-phy.h32 u8 current_value, u8 hysteresis_value);
/linux/sound/pci/lx6464es/
H A 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/drivers/md/persistent-data/
H A 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/drivers/iio/adc/
H A 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/Documentation/ABI/testing/
H A 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/mm/damon/
H A Dreclaim.c219 goal->current_value = quota_autotune_feedback; in damon_reclaim_apply_parameters()
H A Dsysfs-schemes.c833 unsigned long current_value; member
898 return sysfs_emit(buf, "%lu\n", goal->current_value); in current_value_show()
906 int err = kstrtoul(buf, 0, &goal->current_value); in current_value_store()
925 __ATTR_RW_MODE(current_value, 0600);
1969 goal->current_value = sysfs_goal->current_value; in damos_sysfs_add_quota_score()
H A Dcore.c694 dst->current_value = src->current_value; in damos_commit_quota_goal()
1515 goal->current_value = now_psi_total - goal->last_psi_total; in damos_set_quota_goal_current_value()
1532 goal->current_value * 10000 / in damos_quota_score()
/linux/include/linux/
H A Ddamon.h168 unsigned long current_value; member

12