Home
last modified time | relevance | path

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

/drivers/staging/speakup/
Dvarhandlers.c180 int *p_val = var->p_val; in spk_set_num_var() local
211 if (var->var_type == VAR_TIME && p_val != NULL) { in spk_set_num_var()
212 *p_val = msecs_to_jiffies(val); in spk_set_num_var()
215 if (p_val != NULL) in spk_set_num_var()
216 *p_val = val; in spk_set_num_var()
257 if (!var->p_val) in spk_set_string_var()
258 var->p_val = var_data->u.s.default_val; in spk_set_string_var()
259 if (var->p_val != var_data->u.s.default_val) in spk_set_string_var()
260 strcpy((char *)var->p_val, var_data->u.s.default_val); in spk_set_string_var()
262 } else if (var->p_val) in spk_set_string_var()
[all …]
Dspk_types.h106 void *p_val; /* ptr to programs variable to store value */ member
Dkobjects.c565 for (cp = (char *)param->p_val; (ch = *cp); cp++) { in spk_var_show()
/drivers/media/dvb-frontends/
Dstv6110.c269 s32 p_calc, p_calc_opt = 1000, r_div, r_div_opt = 0, p_val; in stv6110_set_frequency() local
312 p_val = (int)(1 << (p + 1)) * 10;/* P = 2 or P = 4 */ in stv6110_set_frequency()
316 if ((abssub(p_calc, p_val)) < (abssub(p_calc_opt, p_val))) in stv6110_set_frequency()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_execbuf.c441 struct vmw_resource_val_node **p_val) in vmw_cmd_res_reloc_add() argument
446 *p_val = NULL; in vmw_cmd_res_reloc_add()
480 if (p_val) in vmw_cmd_res_reloc_add()
481 *p_val = node; in vmw_cmd_res_reloc_add()
506 struct vmw_resource_val_node **p_val) in vmw_cmd_res_check() argument
515 if (p_val) in vmw_cmd_res_check()
516 *p_val = NULL; in vmw_cmd_res_check()
533 if (p_val) in vmw_cmd_res_check()
534 *p_val = rcache->node; in vmw_cmd_res_check()
563 if (p_val) in vmw_cmd_res_check()
[all …]