Home
last modified time | relevance | path

Searched refs:var_data (Results 1 – 7 of 7) sorted by relevance

/linux-5.19.10/drivers/accessibility/speakup/
Dvarhandlers.c186 struct var_t *var_data = var->data; in spk_set_num_var() local
188 if (!var_data) in spk_set_num_var()
191 val = var_data->u.n.value; in spk_set_num_var()
194 if (input < var_data->u.n.low || input > var_data->u.n.high) in spk_set_num_var()
196 var_data->u.n.default_val = input; in spk_set_num_var()
199 val = var_data->u.n.default_val; in spk_set_num_var()
212 if (val < var_data->u.n.low || val > var_data->u.n.high) in spk_set_num_var()
215 var_data->u.n.value = val; in spk_set_num_var()
226 if (var_data->u.n.multiplier != 0) in spk_set_num_var()
227 val *= var_data->u.n.multiplier; in spk_set_num_var()
[all …]
Dkobjects.c629 struct var_t *var_data; in spk_var_store() local
657 var_data = param->data; in spk_var_store()
660 var_data->u.n.low, var_data->u.n.high); in spk_var_store()
669 var_data = param->data; in spk_var_store()
670 value = var_data->u.n.value; in spk_var_store()
Dmain.c1835 struct var_t *var_data; in inc_dec_var() local
1848 var_data = p_header->data; in inc_dec_var()
1860 var_data->u.n.value); in inc_dec_var()
/linux-5.19.10/drivers/iio/adc/
Dsc27xx_adc.c94 const struct sc27xx_adc_variant_data *var_data; member
199 calib_graph = data->var_data->bscale_cal; in sc27xx_adc_scale_calibration()
203 calib_graph = data->var_data->sscale_cal; in sc27xx_adc_scale_calibration()
499 if ((data->var_data->set_volref) && (channel == 30 || channel == 31)) { in sc27xx_adc_read()
520 tmp = (scale << data->var_data->scale_shift) & data->var_data->scale_mask; in sc27xx_adc_read()
524 data->var_data->scale_mask, in sc27xx_adc_read()
563 if ((data->var_data->set_volref) && (channel == 30 || channel == 31)) { in sc27xx_adc_read()
588 ratio = data->var_data->get_ratio(channel, scale); in sc27xx_adc_volt_ratio()
767 ret = regmap_update_bits(data->regmap, data->var_data->module_en, in sc27xx_adc_enable()
773 ret = regmap_update_bits(data->regmap, data->var_data->clk_en, in sc27xx_adc_enable()
[all …]
/linux-5.19.10/drivers/nvmem/
Dsc27xx-efuse.c68 const struct sc27xx_efuse_variant_data *var_data; member
141 ret = regmap_update_bits(efuse->regmap, efuse->var_data->module_en, in sc27xx_efuse_read()
191 regmap_update_bits(efuse->regmap, efuse->var_data->module_en, SC27XX_EFUSE_EN, 0); in sc27xx_efuse_read()
241 efuse->var_data = of_device_get_match_data(&pdev->dev); in sc27xx_efuse_probe()
/linux-5.19.10/drivers/thermal/
Dsprd_thermal.c85 const struct sprd_thm_variant_data *var_data; member
172 sen->cal_slope = (thm->var_data->ideal_k * ratio) / 1000; in sprd_thm_sensor_calibration()
173 sen->cal_offset = thm->var_data->ideal_b + (dt_offset - 128) * 250; in sprd_thm_sensor_calibration()
351 thm->var_data = pdata; in sprd_thm_probe()
/linux-5.19.10/kernel/trace/
Dtrace_events_hist.c878 struct hist_trigger_data *var_data, in check_field_for_var_ref() argument
884 hist_field->var.hist_data == var_data) in check_field_for_var_ref()
903 struct hist_trigger_data *var_data, in find_var_ref() argument
911 if (check_field_for_var_ref(hist_field, var_data, var_idx)) in find_var_ref()
937 struct hist_var_data *var_data; in find_any_var_ref() local
939 list_for_each_entry(var_data, &tr->hist_vars, list) { in find_any_var_ref()
940 if (var_data->hist_data == hist_data) in find_any_var_ref()
942 found = find_var_ref(var_data->hist_data, hist_data, var_idx); in find_any_var_ref()
985 struct hist_var_data *var_data, *found = NULL; in find_hist_vars() local
987 list_for_each_entry(var_data, &tr->hist_vars, list) { in find_hist_vars()
[all …]