Home
last modified time | relevance | path

Searched refs:p_val (Results 1 – 4 of 4) sorted by relevance

/drivers/staging/speakup/
Dvarhandlers.c182 int *p_val = var->p_val; in set_num_var() local
213 if (var->var_type == VAR_TIME && p_val != NULL) { in set_num_var()
214 *p_val = msecs_to_jiffies(val); in set_num_var()
217 if (p_val != NULL) in set_num_var()
218 *p_val = val; in set_num_var()
259 if (!var->p_val) in set_string_var()
260 var->p_val = var_data->u.s.default_val; in set_string_var()
261 if (var->p_val != var_data->u.s.default_val) in set_string_var()
262 strcpy((char *)var->p_val, var_data->u.s.default_val); in set_string_var()
263 } else if (var->p_val) in set_string_var()
[all …]
Dspk_types.h106 void *p_val; /* ptr to programs variable to store value */ member
Dkobjects.c563 for (cp = (char *)param->p_val; (ch = *cp); cp++) { in spk_var_show()
/drivers/media/dvb/frontends/
Dstv6110.c259 s32 p_calc, p_calc_opt = 1000, r_div, r_div_opt = 0, p_val; in stv6110_set_frequency() local
302 p_val = (int)(1 << (p + 1)) * 10;/* P = 2 or P = 4 */ in stv6110_set_frequency()
306 if ((abssub(p_calc, p_val)) < (abssub(p_calc_opt, p_val))) in stv6110_set_frequency()