Home
last modified time | relevance | path

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

/drivers/net/ethernet/qlogic/qed/
Dqed_mng_tlv.c24 void *p_val; member
258 p_buf->p_val = p_buf->data; in qed_mfw_get_gen_tlv_value()
270 p_buf->p_val = p_drv_buf->mac[idx]; in qed_mfw_get_gen_tlv_value()
278 p_buf->p_val = &p_drv_buf->rx_frames; in qed_mfw_get_gen_tlv_value()
284 p_buf->p_val = &p_drv_buf->rx_bytes; in qed_mfw_get_gen_tlv_value()
290 p_buf->p_val = &p_drv_buf->tx_frames; in qed_mfw_get_gen_tlv_value()
296 p_buf->p_val = &p_drv_buf->tx_bytes; in qed_mfw_get_gen_tlv_value()
315 p_buf->p_val = &p_drv_buf->lso_maxoff_size; in qed_mfw_get_eth_tlv_value()
321 p_buf->p_val = &p_drv_buf->lso_minseg_size; in qed_mfw_get_eth_tlv_value()
327 p_buf->p_val = &p_drv_buf->prom_mode; in qed_mfw_get_eth_tlv_value()
[all …]
Dqed_init_ops.c131 u32 rt_offset, u32 *p_val, size_t size) in qed_init_store_rt_agg() argument
136 p_hwfn->rt_data.init_val[rt_offset + i] = p_val[i]; in qed_init_store_rt_agg()
/drivers/accessibility/speakup/
Dvarhandlers.c182 int *p_val = var->p_val; in spk_set_num_var() local
215 if (var->var_type == VAR_TIME && p_val) { in spk_set_num_var()
216 *p_val = msecs_to_jiffies(val); in spk_set_num_var()
219 if (p_val) in spk_set_num_var()
220 *p_val = val; in spk_set_num_var()
259 if (!var->p_val) in spk_set_string_var()
260 var->p_val = var_data->u.s.default_val; in spk_set_string_var()
261 if (var->p_val != var_data->u.s.default_val) in spk_set_string_var()
262 strcpy((char *)var->p_val, var_data->u.s.default_val); in spk_set_string_var()
264 } else if (var->p_val) { in spk_set_string_var()
[all …]
Dspk_types.h111 void *p_val; /* ptr to programs variable to store value */ member
Dkobjects.c575 for (cp = (char *)param->p_val; (ch = *cp); cp++) { in spk_var_show()
/drivers/staging/fbtft/
Dfbtft-sysfs.c7 char *p_val; in get_next_ulong() local
12 p_val = strsep(str_p, sep); in get_next_ulong()
14 if (!p_val) in get_next_ulong()
17 return kstrtoul(p_val, base, val); in get_next_ulong()
/drivers/media/dvb-frontends/
Dstv6110.c253 s32 p_calc, p_calc_opt = 1000, r_div, r_div_opt = 0, p_val; in stv6110_set_frequency() local
288 p_val = (int)(1 << (p + 1)) * 10;/* P = 2 or P = 4 */ in stv6110_set_frequency()
292 if ((abssub(p_calc, p_val)) < (abssub(p_calc_opt, p_val))) in stv6110_set_frequency()