Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/staging/speakup/
Dvarhandlers.c186 struct var_t *var_data = var->data; in spk_set_num_var() local
187 if (var_data == NULL) in spk_set_num_var()
191 if (input < var_data->u.n.low || input > var_data->u.n.high) in spk_set_num_var()
194 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()
204 val = var_data->u.n.value; in spk_set_num_var()
209 if (val < var_data->u.n.low || val > var_data->u.n.high) in spk_set_num_var()
212 var_data->u.n.value = val; in spk_set_num_var()
223 if (var_data->u.n.multiplier != 0) in spk_set_num_var()
224 val *= var_data->u.n.multiplier; in spk_set_num_var()
[all …]
Dkobjects.c598 struct var_t *var_data; in spk_var_store() local
623 var_data = param->data; in spk_var_store()
626 var_data->u.n.low, var_data->u.n.high); in spk_var_store()
Dmain.c1760 struct var_t *var_data; in inc_dec_var() local
1772 var_data = p_header->data; in inc_dec_var()
1784 var_data->u.n.value); in inc_dec_var()