Home
last modified time | relevance | path

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

12

/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 …]
/linux/sound/virtio/
H A Dvirtio_kctl.c143 * @uvalue: Element value. in virtsnd_kctl_get()
149 struct snd_ctl_elem_value *uvalue) in virtsnd_kctl_get()
185 uvalue->value.integer.value[i] = in virtsnd_kctl_put()
190 uvalue->value.integer64.value[i] = in virtsnd_kctl_put()
195 uvalue->value.enumerated.item[i] = in virtsnd_kctl_put()
199 memcpy(uvalue->value.bytes.data, kvalue->value.bytes, count); in virtsnd_kctl_put()
202 memcpy(&uvalue->value.iec958, &kvalue->value.iec958, in virtsnd_kctl_put()
203 sizeof(uvalue->value.iec958)); in virtsnd_kctl_put()
216 * @uvalue: Element value. in virtsnd_kctl_put()
222 struct snd_ctl_elem_value *uvalue) in virtsnd_kctl_put()
103 virtsnd_kctl_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * uvalue) virtsnd_kctl_get() argument
176 virtsnd_kctl_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * uvalue) virtsnd_kctl_put() argument
[all...]
/linux/sound/soc/atmel/
H A Dmchp-spdifrx.c536 struct snd_ctl_elem_value *uvalue) in mchp_spdifrx_cs_get()
583 memcpy(uvalue->value.iec958.status, ch_stat->data, in mchp_spdifrx_cs_get()
594 struct snd_ctl_elem_value *uvalue)
599 return mchp_spdifrx_cs_get(dev, 0, uvalue); in mchp_spdifrx_cs2_get()
603 struct snd_ctl_elem_value *uvalue)
608 return mchp_spdifrx_cs_get(dev, 1, uvalue); in mchp_spdifrx_cs_mask()
612 struct snd_ctl_elem_value *uvalue)
614 memset(uvalue->value.iec958.status, 0xff, in mchp_spdifrx_subcode_ch_get()
615 sizeof(uvalue->value.iec958.status)); in mchp_spdifrx_subcode_ch_get() argument
622 struct snd_ctl_elem_value *uvalue) in mchp_spdifrx_subcode_ch_get()
529 mchp_spdifrx_cs_get(struct mchp_spdifrx_dev * dev,int channel,struct snd_ctl_elem_value * uvalue) mchp_spdifrx_cs_get() argument
587 mchp_spdifrx_cs1_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * uvalue) mchp_spdifrx_cs1_get() argument
596 mchp_spdifrx_cs2_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * uvalue) mchp_spdifrx_cs2_get() argument
605 mchp_spdifrx_cs_mask(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * uvalue) mchp_spdifrx_cs_mask() argument
669 mchp_spdifrx_subcode_ch1_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * uvalue) mchp_spdifrx_subcode_ch1_get() argument
678 mchp_spdifrx_subcode_ch2_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * uvalue) mchp_spdifrx_subcode_ch2_get() argument
698 mchp_spdifrx_ulock_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * uvalue) mchp_spdifrx_ulock_get() argument
735 mchp_spdifrx_badf_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * uvalue) mchp_spdifrx_badf_get() argument
772 mchp_spdifrx_signal_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * uvalue) mchp_spdifrx_signal_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.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/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 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 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()
H A Dmxl5xx.c552 p->pre_bit_error.stat[0].uvalue = reg[2]; in read_ber()
554 p->pre_bit_count.stat[0].uvalue = reg[3]; in read_ber()
570 p->post_bit_error.stat[0].uvalue = reg[5]; in read_ber()
572 p->post_bit_count.stat[0].uvalue = reg[6]; in read_ber()
576 p->post_bit_error.stat[0].uvalue = reg[1]; in read_ber()
578 p->post_bit_count.stat[0].uvalue = reg[2]; in read_ber()
H A Ddib7000p.c1679 c->strength.stat[0].uvalue = 0; in dib7000p_reset_stats()
1944 c->block_error.stat[0].uvalue = ucb; in dib7000p_get_stats()
1954 c->block_count.stat[0].uvalue += blocks; in dib7000p_get_stats()
1969 c->post_bit_error.stat[0].uvalue += val; in dib7000p_get_stats()
1972 c->post_bit_count.stat[0].uvalue += 100000000; in dib7000p_get_stats()
1980 c->block_error.stat[0].uvalue += val; in dib7000p_get_stats()
1987 c->block_count.stat[0].uvalue += blocks; in dib7000p_get_stats()
/linux/kernel/bpf/
H A Dbpf_struct_ops.c50 struct bpf_struct_ops_value *uvalue; member
525 struct bpf_struct_ops_value *uvalue, *kvalue; in bpf_struct_ops_map_sys_lookup_elem() local
543 uvalue = value; in bpf_struct_ops_map_sys_lookup_elem()
544 memcpy(uvalue, st_map->uvalue, map->value_size); in bpf_struct_ops_map_sys_lookup_elem()
545 uvalue->common.state = state; in bpf_struct_ops_map_sys_lookup_elem()
553 refcount_set(&uvalue->common.refcnt, max_t(s64, refcnt, 0)); in bpf_struct_ops_map_sys_lookup_elem()
732 struct bpf_struct_ops_value *uvalue, *kvalue; in bpf_struct_ops_map_update_elem() local
755 uvalue = value; in bpf_struct_ops_map_update_elem()
756 err = check_zero_holes(st_map->btf, t, uvalue->data); in bpf_struct_ops_map_update_elem()
760 if (uvalue->common.state || refcount_read(&uvalue->common.refcnt)) in bpf_struct_ops_map_update_elem()
[all …]
/linux/sound/hda/codecs/
H A Dsi3054.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/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()
H A Drtc-rv3028.c538 param->uvalue = RTC_BSM_DIRECT; in rv3028_param_get()
541 param->uvalue = RTC_BSM_LEVEL; in rv3028_param_get()
544 param->uvalue = RTC_BSM_DISABLED; in rv3028_param_get()
562 switch (param->uvalue) { in rv3028_param_set()
H A Drtc-pcf2127.c353 param->uvalue = RTC_BSM_LEVEL; in pcf2127_param_get()
355 param->uvalue = RTC_BSM_DIRECT; in pcf2127_param_get()
357 param->uvalue = RTC_BSM_DISABLED; in pcf2127_param_get()
388 switch (param->uvalue) { in pcf2127_param_set()
/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 …]
/linux/sound/soc/fsl/
H A 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 in fsl_spdif_pb_put()
[all...]
/linux/include/sound/sof/
H A Dcontrol.h92 uint32_t uvalue; member
/linux/include/uapi/linux/
H A Drtc.h73 __u64 uvalue; member
/linux/Documentation/driver-api/media/
H A Ddtv-frontend.rst193 c->strength.stat[0].uvalue = strength;
374 c->pre_bit_error.stat[0].uvalue += bit_error;
376 c->pre_bit_count.stat[0].uvalue += rc;
427 c->pre_bit_error.stat[0].uvalue += bit_error;
429 c->pre_bit_count.stat[0].uvalue += bits;
/linux/tools/testing/selftests/rtc/
H A Drtctest.c104 if ((param.uvalue & _BITUL(RTC_FEATURE_ALARM)) == 0) in get_rtc_alarm_state()
108 if (need_seconds && (param.uvalue & _BITUL(RTC_FEATURE_ALARM_RES_MINUTE))) in get_rtc_alarm_state()
/linux/drivers/media/usb/dvb-usb-v2/
H A Dlmedm04.c260 c->strength.stat[0].uvalue = (u64)s_tmp; in lme2510_update_stats()
264 c->cnr.stat[0].uvalue = (u64)c_tmp; in lme2510_update_stats()
900 *strength = (u16)c->strength.stat[0].uvalue; in dm04_read_signal_strength()
916 *snr = (u16)c->cnr.stat[0].uvalue; in dm04_read_snr()
/linux/Documentation/userspace-api/media/dvb/
H A Dfrontend-stat-properties.rst32 - ``svalue`` or ``uvalue``, where ``svalue`` is for signed values of
33 the measure (dB measures) and ``uvalue`` is for unsigned values

12