Home
last modified time | relevance | path

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

123

/linux-6.12.1/drivers/media/common/siano/
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 …]
/linux-6.12.1/sound/virtio/
Dvirtio_kctl.c103 struct snd_ctl_elem_value *uvalue) in virtsnd_kctl_get() argument
139 uvalue->value.integer.value[i] = in virtsnd_kctl_get()
144 uvalue->value.integer64.value[i] = in virtsnd_kctl_get()
149 uvalue->value.enumerated.item[i] = in virtsnd_kctl_get()
153 memcpy(uvalue->value.bytes.data, kvalue->value.bytes, count); in virtsnd_kctl_get()
156 memcpy(&uvalue->value.iec958, &kvalue->value.iec958, in virtsnd_kctl_get()
157 sizeof(uvalue->value.iec958)); in virtsnd_kctl_get()
176 struct snd_ctl_elem_value *uvalue) in virtsnd_kctl_put() argument
205 cpu_to_le32(uvalue->value.integer.value[i]); in virtsnd_kctl_put()
210 cpu_to_le64(uvalue->value.integer64.value[i]); in virtsnd_kctl_put()
[all …]
/linux-6.12.1/sound/soc/atmel/
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 …]
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 …]
Dmchp-pdmc.c145 struct snd_ctl_elem_value *uvalue) in mchp_pdmc_sinc_order_get() argument
153 uvalue->value.enumerated.item[0] = item; in mchp_pdmc_sinc_order_get()
159 struct snd_ctl_elem_value *uvalue) in mchp_pdmc_sinc_order_put() argument
164 unsigned int *item = uvalue->value.enumerated.item; in mchp_pdmc_sinc_order_put()
184 struct snd_ctl_elem_value *uvalue) in mchp_pdmc_af_get() argument
189 uvalue->value.integer.value[0] = !!dd->audio_filter_en; in mchp_pdmc_af_get()
195 struct snd_ctl_elem_value *uvalue) in mchp_pdmc_af_put() argument
199 bool af = uvalue->value.integer.value[0] ? true : false; in mchp_pdmc_af_put()
/linux-6.12.1/kernel/bpf/
Dbpf_struct_ops.c49 struct bpf_struct_ops_value *uvalue; member
442 struct bpf_struct_ops_value *uvalue, *kvalue; in bpf_struct_ops_map_sys_lookup_elem() local
460 uvalue = value; in bpf_struct_ops_map_sys_lookup_elem()
461 memcpy(uvalue, st_map->uvalue, map->value_size); in bpf_struct_ops_map_sys_lookup_elem()
462 uvalue->common.state = state; in bpf_struct_ops_map_sys_lookup_elem()
470 refcount_set(&uvalue->common.refcnt, max_t(s64, refcnt, 0)); in bpf_struct_ops_map_sys_lookup_elem()
595 struct bpf_struct_ops_value *uvalue, *kvalue; in bpf_struct_ops_map_update_elem() local
615 uvalue = value; in bpf_struct_ops_map_update_elem()
616 err = check_zero_holes(st_map->btf, t, uvalue->data); in bpf_struct_ops_map_update_elem()
620 if (uvalue->common.state || refcount_read(&uvalue->common.refcnt)) in bpf_struct_ops_map_update_elem()
[all …]
/linux-6.12.1/drivers/media/test-drivers/vidtv/
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()
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()
/linux-6.12.1/drivers/media/dvb-frontends/
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 …]
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()
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()
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()
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()
Dsi2165.c751 c->post_bit_error.stat[0].uvalue = 0; in si2165_read_status()
752 c->post_bit_count.stat[0].uvalue = 0; in si2165_read_status()
773 c->post_bit_error.stat[0].uvalue += in si2165_read_status()
775 c->post_bit_count.stat[0].uvalue += in si2165_read_status()
818 *ber = c->post_bit_error.stat[0].uvalue - state->ber_prev; in si2165_read_ber()
819 state->ber_prev = c->post_bit_error.stat[0].uvalue; in si2165_read_ber()
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()
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()
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()
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()
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()
/linux-6.12.1/sound/pci/hda/
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()
/linux-6.12.1/drivers/rtc/
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()
/linux-6.12.1/drivers/media/dvb-frontends/cxd2880/
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 …]
/linux-6.12.1/sound/soc/fsl/
Dfsl_spdif.c786 struct snd_ctl_elem_value *uvalue) in fsl_spdif_pb_get() argument
792 uvalue->value.iec958.status[0] = ctrl->ch_status[0]; in fsl_spdif_pb_get()
793 uvalue->value.iec958.status[1] = ctrl->ch_status[1]; in fsl_spdif_pb_get()
794 uvalue->value.iec958.status[2] = ctrl->ch_status[2]; in fsl_spdif_pb_get()
795 uvalue->value.iec958.status[3] = ctrl->ch_status[3]; in fsl_spdif_pb_get()
801 struct snd_ctl_elem_value *uvalue) in fsl_spdif_pb_put() argument
807 ctrl->ch_status[0] = uvalue->value.iec958.status[0]; in fsl_spdif_pb_put()
808 ctrl->ch_status[1] = uvalue->value.iec958.status[1]; in fsl_spdif_pb_put()
809 ctrl->ch_status[2] = uvalue->value.iec958.status[2]; in fsl_spdif_pb_put()
810 ctrl->ch_status[3] = uvalue->value.iec958.status[3]; in fsl_spdif_pb_put()
/linux-6.12.1/include/sound/sof/
Dcontrol.h92 uint32_t uvalue; member
/linux-6.12.1/include/uapi/linux/
Drtc.h73 __u64 uvalue; member

123