Home
last modified time | relevance | path

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

/drivers/accessibility/speakup/
Dvarhandlers.c185 struct var_t *var_data = var->data; in spk_set_num_var() local
187 if (!var_data) in spk_set_num_var()
190 val = var_data->u.n.value; in spk_set_num_var()
193 if (input < var_data->u.n.low || input > var_data->u.n.high) in spk_set_num_var()
195 var_data->u.n.default_val = input; in spk_set_num_var()
198 val = var_data->u.n.default_val; in spk_set_num_var()
211 if (val < var_data->u.n.low || val > var_data->u.n.high) in spk_set_num_var()
214 var_data->u.n.value = val; in spk_set_num_var()
225 if (var_data->u.n.multiplier != 0) in spk_set_num_var()
226 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.c1837 struct var_t *var_data; in inc_dec_var() local
1850 var_data = p_header->data; in inc_dec_var()
1862 var_data->u.n.value); in inc_dec_var()
/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()
/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()