| /linux/drivers/platform/x86/hp/hp-bioscfg/ |
| H A D | enum-attributes.c | 21 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); 240 strscpy(enum_data->current_value, str_value); in hp_populate_enumeration_elements_from_package() 360 ret = hp_get_string_from_buffer(&buffer_ptr, buffer_size, enum_data->current_value, in hp_populate_enumeration_elements_from_buffer() 361 sizeof(enum_data->current_value)); in hp_populate_enumeration_elements_from_buffer() 372 enum_data->current_value, in hp_populate_enumeration_elements_from_buffer() 373 sizeof(enum_data->current_value)); in hp_populate_enumeration_elements_from_buffer()
|
| H A D | order-list-attributes.c | 21 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); 179 strscpy(ordered_list_data->current_value, str_value); in hp_populate_ordered_list_elements_from_package() 180 replace_char_str(ordered_list_data->current_value, COMMA_SEP, SEMICOLON_SEP); in hp_populate_ordered_list_elements_from_package() 352 ret = hp_get_string_from_buffer(&buffer_ptr, buffer_size, ordered_list_data->current_value, in hp_populate_ordered_list_elements_from_buffer() 353 sizeof(ordered_list_data->current_value)); in hp_populate_ordered_list_elements_from_buffer() 357 replace_char_str(ordered_list_data->current_value, COMMA_SEP, SEMICOLON_SEP); in hp_populate_ordered_list_elements_from_buffer()
|
| H A D | string-attributes.c | 23 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() 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()
|
| H A D | int-attributes.c | 21 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() 332 integer_data->current_value = 0; in hp_populate_integer_elements_from_buffer() 335 ret = kstrtoint(dst, 10, &integer_data->current_value); in hp_populate_integer_elements_from_buffer()
|
| H A D | bioscfg.h | 135 u8 current_value[MAX_BUFF_SIZE]; member 144 u32 current_value; member 154 u8 current_value[MAX_BUFF_SIZE]; member 163 u8 current_value[MAX_BUFF_SIZE]; member
|
| /linux/tools/testing/selftests/damon/ |
| H A D | damos_quota_goal.py | 39 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.py | 95 current_value = None variable in DamosQuotaGoal 101 def __init__(self, metric, target_value=10000, current_value=0, nid=0): argument 104 self.current_value = current_value 119 err = write_file(os.path.join(self.sysfs_dir(), 'current_value'), 120 self.current_value)
|
| H A D | sysfs.py | 62 assert_true(dump['current_value'] == qgoal.current_value, 63 'current_value', dump)
|
| /linux/drivers/platform/x86/ |
| H A D | samsung-galaxybook.c | 88 struct kobj_attribute current_value; member 958 container_of(attr, struct galaxybook_fw_attr, current_value); in current_value_show() 973 container_of(attr, struct galaxybook_fw_attr, current_value); in current_value_store() 1026 sysfs_attr_init(&fw_attr->current_value.attr); in galaxybook_fw_attr_init() 1027 fw_attr->current_value.attr.name = "current_value"; in galaxybook_fw_attr_init() 1028 fw_attr->current_value.attr.mode = 0644; in galaxybook_fw_attr_init() 1029 fw_attr->current_value.show = current_value_show; in galaxybook_fw_attr_init() 1030 fw_attr->current_value.store = current_value_store; in galaxybook_fw_attr_init() 1031 attrs[5] = &fw_attr->current_value.attr; in galaxybook_fw_attr_init()
|
| H A D | asus-armoury.h | 106 __ASUS_ATTR_RO(_attrname, current_value); \ 127 __ASUS_ATTR_RW(_attrname, current_value); \ 175 __ASUS_ATTR_RW(_attrname, current_value); \ 185 __ASUS_ATTR_RW(_attrname, current_value); \ 204 __ASUS_ATTR_RO(_attrname, current_value); \ 284 __ASUS_ATTR_RW(_attr, current_value)
|
| /linux/drivers/platform/x86/dell/dell-wmi-sysman/ |
| H A D | string-attributes.c | 66 attribute_property_store(current_value, str); 68 __ATTR_RW_MODE(current_value, 0600);
|
| H A D | int-attributes.c | 76 attribute_property_store(current_value, integer); 78 __ATTR_RW_MODE(current_value, 0600);
|
| /linux/drivers/media/usb/dvb-usb-v2/ |
| H A D | mxl111sf-phy.c | 293 u8 current_value, u8 hysteresis_value) in mxl111sf_idac_config() argument 298 val = current_value; in mxl111sf_idac_config()
|
| H A D | mxl111sf-phy.h | 32 u8 current_value, u8 hysteresis_value);
|
| /linux/tools/testing/selftests/tty/ |
| H A D | tty_tiocsti_test.c | 546 int current_value = get_legacy_tiocsti_setting(_metadata); in FIXTURE_TEARDOWN() local 548 if (current_value != self->original_legacy_tiocsti_setting) { in FIXTURE_TEARDOWN() 550 current_value, in FIXTURE_TEARDOWN()
|
| /linux/drivers/hwtracing/coresight/ |
| H A D | coresight-config.h | 181 u64 current_value; member
|
| /linux/sound/pci/lx6464es/ |
| H A D | lx6464es.c | 835 int current_value = chip->playback_mute; in lx_control_playback_put() local 837 if (current_value != ucontrol->value.integer.value[0]) { in lx_control_playback_put() 838 lx_level_unmute(chip, 0, !current_value); in lx_control_playback_put() 839 chip->playback_mute = !current_value; in lx_control_playback_put()
|
| /linux/drivers/md/persistent-data/ |
| H A D | dm-space-map-metadata.c | 28 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 D | qcom-spmi-rradc.c | 344 uint32_t current_value; in rradc_post_process_batt_id() local 347 current_value = chip->batt_id_data; in rradc_post_process_batt_id() 349 r_id = div64_s64(r_id, (RR_ADC_CHAN_MSB * current_value)); in rradc_post_process_batt_id()
|
| /linux/mm/damon/ |
| H A D | core.c | 1145 dst->current_value = src->current_value; in damos_commit_quota_goal() 3020 /* User should already set goal->current_value */ in damos_set_quota_goal_current_value() 3024 goal->current_value = now_psi_total - goal->last_psi_total; in damos_set_quota_goal_current_value() 3029 goal->current_value = damos_get_node_mem_bp(goal); in damos_set_quota_goal_current_value() 3033 goal->current_value = damos_get_node_memcg_used_bp(goal); in damos_set_quota_goal_current_value() 3037 goal->current_value = damos_get_in_active_mem_bp( in damos_set_quota_goal_current_value() 3041 goal->current_value = damos_get_node_eligible_mem_bp(c, s, in damos_set_quota_goal_current_value() 3059 mult_frac(goal->current_value, 10000, in damos_quota_score()
|
| /linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| H A D | vega20_hwmgr.h | 425 int32_t current_value; member
|
| H A D | vega20_hwmgr.c | 1380 od8_settings->od8_settings_array[i].current_value = in vega20_od8_initialize_default_settings() 1387 od8_settings->od8_settings_array[i].current_value = in vega20_od8_initialize_default_settings()
|
| /linux/Documentation/hid/ |
| H A D | hid-bpf.rst | 389 __u8 current_value = 0; 400 if (current_value != data[152]) { 409 current_value = data[152];
|
| /linux/drivers/platform/x86/lenovo/ |
| H A D | thinkpad_acpi.c | 6555 unsigned int current_value, i; in tpacpi_brightness_set_ucmsstep() local 6559 current_value = tpacpi_brightness_nvram_get(); in tpacpi_brightness_set_ucmsstep() 6561 if (value == current_value) in tpacpi_brightness_set_ucmsstep() 6564 cmos_cmd = (value > current_value) ? in tpacpi_brightness_set_ucmsstep() 6567 inc = (value > current_value) ? 1 : -1; in tpacpi_brightness_set_ucmsstep() 6569 for (i = current_value; i != value; i += inc) in tpacpi_brightness_set_ucmsstep()
|
| H A D | think-lmi.c | 1224 static struct kobj_attribute attr_current_val = __ATTR_RW_MODE(current_value, 0600);
|