Home
last modified time | relevance | path

Searched refs:uvalue (Results 1 – 25 of 52) sorted by relevance

123

/openbmc/linux/drivers/media/common/siano/
H A Dsmsdvb-main.c268 c->strength.stat[0].uvalue = p->in_band_power * 1000; in smsdvb_update_per_slices()
278 client->last_per = c->block_error.stat[0].uvalue; in smsdvb_update_per_slices()
281 c->block_error.stat[0].uvalue += p->ets_packets; in smsdvb_update_per_slices()
282 c->block_count.stat[0].uvalue += p->ets_packets + p->ts_packets; in smsdvb_update_per_slices()
287 c->post_bit_error.stat[0].uvalue += p->ber_error_count; in smsdvb_update_per_slices()
288 c->post_bit_count.stat[0].uvalue += p->ber_bit_count; in smsdvb_update_per_slices()
326 c->strength.stat[0].uvalue = p->in_band_pwr * 1000; in smsdvb_update_dvb_stats()
333 client->last_per = c->block_error.stat[0].uvalue; in smsdvb_update_dvb_stats()
336 c->block_error.stat[0].uvalue += p->error_ts_packets; in smsdvb_update_dvb_stats()
337 c->block_count.stat[0].uvalue += p->total_ts_packets; in smsdvb_update_dvb_stats()
[all …]
/openbmc/linux/kernel/bpf/
H A Dbpf_struct_ops.c55 struct bpf_struct_ops_value *uvalue; member
259 struct bpf_struct_ops_value *uvalue, *kvalue; in bpf_struct_ops_map_sys_lookup_elem() local
277 uvalue = value; in bpf_struct_ops_map_sys_lookup_elem()
278 memcpy(uvalue, st_map->uvalue, map->value_size); in bpf_struct_ops_map_sys_lookup_elem()
279 uvalue->state = state; in bpf_struct_ops_map_sys_lookup_elem()
287 refcount_set(&uvalue->refcnt, max_t(s64, refcnt, 0)); in bpf_struct_ops_map_sys_lookup_elem()
374 struct bpf_struct_ops_value *uvalue, *kvalue; in bpf_struct_ops_map_update_elem() local
393 uvalue = value; in bpf_struct_ops_map_update_elem()
394 err = check_zero_holes(t, uvalue->data); in bpf_struct_ops_map_update_elem()
398 if (uvalue->state || refcount_read(&uvalue->refcnt)) in bpf_struct_ops_map_update_elem()
[all …]
/openbmc/linux/sound/soc/atmel/
H A Dmchp-spdifrx.c529 struct snd_ctl_elem_value *uvalue) in mchp_spdifrx_cs_get() argument
576 memcpy(uvalue->value.iec958.status, ch_stat->data, in mchp_spdifrx_cs_get()
588 struct snd_ctl_elem_value *uvalue) in mchp_spdifrx_cs1_get() argument
593 return mchp_spdifrx_cs_get(dev, 0, uvalue); in mchp_spdifrx_cs1_get()
597 struct snd_ctl_elem_value *uvalue) in mchp_spdifrx_cs2_get() argument
602 return mchp_spdifrx_cs_get(dev, 1, uvalue); in mchp_spdifrx_cs2_get()
606 struct snd_ctl_elem_value *uvalue) in mchp_spdifrx_cs_mask() argument
608 memset(uvalue->value.iec958.status, 0xff, in mchp_spdifrx_cs_mask()
609 sizeof(uvalue->value.iec958.status)); in mchp_spdifrx_cs_mask()
616 struct snd_ctl_elem_value *uvalue) in mchp_spdifrx_subcode_ch_get() argument
[all …]
H A Dmchp-spdiftx.c546 struct snd_ctl_elem_value *uvalue) in mchp_spdiftx_cs_get() argument
554 memcpy(uvalue->value.iec958.status, ctrl->ch_stat, in mchp_spdiftx_cs_get()
562 struct snd_ctl_elem_value *uvalue) in mchp_spdiftx_cs_put() argument
573 if (ctrl->ch_stat[i] != uvalue->value.iec958.status[i]) in mchp_spdiftx_cs_put()
575 ctrl->ch_stat[i] = uvalue->value.iec958.status[i]; in mchp_spdiftx_cs_put()
597 struct snd_ctl_elem_value *uvalue) in mchp_spdiftx_cs_mask() argument
599 memset(uvalue->value.iec958.status, 0xff, in mchp_spdiftx_cs_mask()
600 sizeof(uvalue->value.iec958.status)); in mchp_spdiftx_cs_mask()
606 struct snd_ctl_elem_value *uvalue) in mchp_spdiftx_subcode_get() argument
614 memcpy(uvalue->value.iec958.subcode, ctrl->user_data, in mchp_spdiftx_subcode_get()
[all …]
H A Dmchp-pdmc.c135 struct snd_ctl_elem_value *uvalue) in mchp_pdmc_sinc_order_get() argument
143 uvalue->value.enumerated.item[0] = item; in mchp_pdmc_sinc_order_get()
149 struct snd_ctl_elem_value *uvalue) in mchp_pdmc_sinc_order_put() argument
154 unsigned int *item = uvalue->value.enumerated.item; in mchp_pdmc_sinc_order_put()
170 struct snd_ctl_elem_value *uvalue) in mchp_pdmc_af_get() argument
175 uvalue->value.integer.value[0] = !!dd->audio_filter_en; in mchp_pdmc_af_get()
181 struct snd_ctl_elem_value *uvalue) in mchp_pdmc_af_put() argument
185 bool af = uvalue->value.integer.value[0] ? true : false; in mchp_pdmc_af_put()
/openbmc/linux/drivers/media/test-drivers/vidtv/
H A Dvidtv_demod.c143 c->pre_bit_error.stat[0].uvalue = 0; in vidtv_clean_stats()
146 c->pre_bit_count.stat[0].uvalue = 0; in vidtv_clean_stats()
149 c->post_bit_error.stat[0].uvalue = 0; in vidtv_clean_stats()
152 c->post_bit_count.stat[0].uvalue = 0; in vidtv_clean_stats()
155 c->block_error.stat[0].uvalue = 0; in vidtv_clean_stats()
158 c->block_count.stat[0].uvalue = 0; in vidtv_clean_stats()
242 *strength = c->strength.stat[0].uvalue; in vidtv_demod_read_signal_strength()
H A Dvidtv_mux.c433 c->pre_bit_count.stat[0].uvalue = nbytes * 8; in vidtv_mux_tick()
434 c->post_bit_count.stat[0].uvalue = nbytes * 8; in vidtv_mux_tick()
435 c->block_count.stat[0].uvalue += npkts; in vidtv_mux_tick()
449 c->pre_bit_error.stat[0].uvalue++; in vidtv_mux_tick()
/openbmc/linux/drivers/media/dvb-frontends/
H A Dmb86a20s.c327 return c->strength.stat[0].uvalue; in mb86a20s_read_signal_strength()
330 c->strength.stat[0].uvalue = 0; in mb86a20s_read_signal_strength()
368 c->strength.stat[0].uvalue = rf; in mb86a20s_read_signal_strength()
1548 c->strength.stat[0].uvalue = 0; in mb86a20s_stats_not_ready()
1597 c->pre_bit_error.stat[1 + layer].uvalue += bit_error; in mb86a20s_get_stats()
1599 c->pre_bit_count.stat[1 + layer].uvalue += bit_count; in mb86a20s_get_stats()
1619 c->post_bit_error.stat[1 + layer].uvalue += bit_error; in mb86a20s_get_stats()
1621 c->post_bit_count.stat[1 + layer].uvalue += bit_count; in mb86a20s_get_stats()
1642 c->block_error.stat[1 + layer].uvalue += block_error; in mb86a20s_get_stats()
1644 c->block_count.stat[1 + layer].uvalue += block_count; in mb86a20s_get_stats()
[all …]
H A Dmn88443x.c296 c->strength.stat[0].uvalue = agc; in mn88443x_s_read_status()
335 c->cnr.stat[0].uvalue = cnr; in mn88443x_s_read_status()
356 c->post_bit_error.stat[0].uvalue = bit_err; in mn88443x_s_read_status()
359 c->post_bit_count.stat[0].uvalue = bit_cnt; in mn88443x_s_read_status()
500 c->strength.stat[0].uvalue = agc; in mn88443x_t_read_status()
524 c->cnr.stat[0].uvalue = cnr; in mn88443x_t_read_status()
548 c->post_bit_error.stat[0].uvalue = bit_err; in mn88443x_t_read_status()
551 c->post_bit_count.stat[0].uvalue = bit_cnt; in mn88443x_t_read_status()
H A Dtc90522.c292 stats->stat[i].uvalue = val[i * 5] << 16 in tc90522s_get_frontend()
305 stats->stat[i].uvalue = in tc90522s_get_frontend()
307 stats->stat[i].uvalue *= 204 * 8; in tc90522s_get_frontend()
452 stats->stat[i].uvalue = val[i * 3] << 16 in tc90522t_get_frontend()
465 stats->stat[i].uvalue = in tc90522t_get_frontend()
467 stats->stat[i].uvalue *= 204 * 8; in tc90522t_get_frontend()
H A Dcx24120.c344 *ber = c->post_bit_error.stat[0].uvalue - state->ber_prev; in cx24120_read_ber()
345 state->ber_prev = c->post_bit_error.stat[0].uvalue; in cx24120_read_ber()
435 *signal_strength = c->strength.stat[0].uvalue; in cx24120_read_signal_strength()
639 c->strength.stat[0].uvalue = sig; in cx24120_get_stats()
680 c->post_bit_error.stat[0].uvalue += ber; in cx24120_get_stats()
683 c->post_bit_count.stat[0].uvalue += CX24120_BER_WSIZE; in cx24120_get_stats()
696 state->ucb_offset = c->block_error.stat[0].uvalue; in cx24120_get_stats()
699 c->block_error.stat[0].uvalue = ucb + state->ucb_offset; in cx24120_get_stats()
702 c->block_count.stat[0].uvalue += state->bitrate / 8 / 208; in cx24120_get_stats()
1544 *ucblocks = c->block_error.stat[0].uvalue - state->ucb_offset; in cx24120_read_ucblocks()
H A Dmn88473.c325 c->strength.stat[0].uvalue = utmp1; in mn88473_read_status()
425 c->post_bit_error.stat[0].uvalue += utmp1; in mn88473_read_status()
427 c->post_bit_count.stat[0].uvalue += utmp2; in mn88473_read_status()
445 c->block_error.stat[0].uvalue += utmp1; in mn88473_read_status()
447 c->block_count.stat[0].uvalue += utmp2; in mn88473_read_status()
H A Dsi2165.c753 c->post_bit_error.stat[0].uvalue = 0; in si2165_read_status()
754 c->post_bit_count.stat[0].uvalue = 0; in si2165_read_status()
775 c->post_bit_error.stat[0].uvalue += in si2165_read_status()
777 c->post_bit_count.stat[0].uvalue += in si2165_read_status()
820 *ber = c->post_bit_error.stat[0].uvalue - state->ber_prev; in si2165_read_ber()
821 state->ber_prev = c->post_bit_error.stat[0].uvalue; in si2165_read_ber()
H A Drtl2830.c424 c->strength.stat[0].uvalue = utmp; in rtl2830_read_status()
484 c->post_bit_error.stat[0].uvalue = dev->post_bit_error; in rtl2830_read_status()
486 c->post_bit_count.stat[0].uvalue = dev->post_bit_count; in rtl2830_read_status()
534 *strength = c->strength.stat[0].uvalue; in rtl2830_read_signal_strength()
H A Dlgdt330x.c707 p->block_error.stat[0].uvalue += state->ucblocks; in lgdt3302_read_status()
709 p->block_count.stat[0].uvalue += 10000; in lgdt3302_read_status()
813 p->block_error.stat[0].uvalue += state->ucblocks; in lgdt3303_read_status()
815 p->block_count.stat[0].uvalue += 10000; in lgdt3303_read_status()
H A Dcxd2820r_c.c190 c->strength.stat[0].uvalue = strength; in cxd2820r_read_status_c()
266 c->post_bit_error.stat[0].uvalue = priv->post_bit_error; in cxd2820r_read_status_c()
H A Dcxd2820r_t2.c320 c->strength.stat[0].uvalue = strength; in cxd2820r_read_status_t2()
372 c->post_bit_error.stat[0].uvalue = priv->post_bit_error; in cxd2820r_read_status_t2()
H A Dcxd2820r_t.c295 c->strength.stat[0].uvalue = strength; in cxd2820r_read_status_t()
360 c->post_bit_error.stat[0].uvalue = priv->post_bit_error; in cxd2820r_read_status_t()
/openbmc/linux/sound/pci/hda/
H A Dpatch_si3054.c86 struct snd_ctl_elem_value *uvalue) in si3054_switch_get() argument
91 uvalue->value.integer.value[0] = (GET_REG(codec, reg)) & mask ? 1 : 0 ; in si3054_switch_get()
96 struct snd_ctl_elem_value *uvalue) in si3054_switch_put() argument
101 if (uvalue->value.integer.value[0]) in si3054_switch_put()
/openbmc/linux/drivers/rtc/
H A Drtc-pcf8523.c248 param->uvalue = RTC_BSM_LEVEL; in pcf8523_param_get()
252 param->uvalue = RTC_BSM_DIRECT; in pcf8523_param_get()
255 param->uvalue = RTC_BSM_STANDBY; in pcf8523_param_get()
258 param->uvalue = RTC_BSM_DISABLED; in pcf8523_param_get()
277 switch (param->uvalue) { in pcf8523_param_set()
/openbmc/linux/drivers/media/dvb-frontends/cxd2880/
H A Dcxd2880_top.c1050 c->pre_bit_error.stat[0].uvalue = 0; in cxd2880_set_frontend()
1053 c->pre_bit_count.stat[0].uvalue = 0; in cxd2880_set_frontend()
1056 c->post_bit_error.stat[0].uvalue = 0; in cxd2880_set_frontend()
1059 c->post_bit_count.stat[0].uvalue = 0; in cxd2880_set_frontend()
1062 c->block_error.stat[0].uvalue = 0; in cxd2880_set_frontend()
1065 c->block_count.stat[0].uvalue = 0; in cxd2880_set_frontend()
1177 c->pre_bit_error.stat[0].uvalue += pre_bit_err; in cxd2880_get_stats()
1180 c->pre_bit_count.stat[0].uvalue += pre_bit_count; in cxd2880_get_stats()
1212 c->post_bit_error.stat[0].uvalue += post_bit_err; in cxd2880_get_stats()
1215 c->post_bit_count.stat[0].uvalue += post_bit_count; in cxd2880_get_stats()
[all …]
/openbmc/linux/sound/soc/fsl/
H A Dfsl_spdif.c788 struct snd_ctl_elem_value *uvalue) in fsl_spdif_pb_get() argument
794 uvalue->value.iec958.status[0] = ctrl->ch_status[0]; in fsl_spdif_pb_get()
795 uvalue->value.iec958.status[1] = ctrl->ch_status[1]; in fsl_spdif_pb_get()
796 uvalue->value.iec958.status[2] = ctrl->ch_status[2]; in fsl_spdif_pb_get()
797 uvalue->value.iec958.status[3] = ctrl->ch_status[3]; in fsl_spdif_pb_get()
803 struct snd_ctl_elem_value *uvalue) in fsl_spdif_pb_put() argument
809 ctrl->ch_status[0] = uvalue->value.iec958.status[0]; in fsl_spdif_pb_put()
810 ctrl->ch_status[1] = uvalue->value.iec958.status[1]; in fsl_spdif_pb_put()
811 ctrl->ch_status[2] = uvalue->value.iec958.status[2]; in fsl_spdif_pb_put()
812 ctrl->ch_status[3] = uvalue->value.iec958.status[3]; in fsl_spdif_pb_put()
/openbmc/qemu/qobject/
H A Djson-parser.c506 uint64_t uvalue; in parse_literal() local
515 ret = qemu_strtou64(token->str, NULL, 10, &uvalue); in parse_literal()
517 return QOBJECT(qnum_from_uint(uvalue)); in parse_literal()
/openbmc/linux/include/uapi/linux/
H A Drtc.h73 __u64 uvalue; member
/openbmc/linux/include/sound/sof/
H A Dcontrol.h92 uint32_t uvalue; member

123