Home
last modified time | relevance | path

Searched refs:uc (Results 1 – 9 of 9) sorted by relevance

/sound/pci/ice1712/
Dse.c445 struct snd_ctl_elem_value *uc) in se200pci_cont_volume_get() argument
450 uc->value.integer.value[0] = spec->vol[n].ch1; in se200pci_cont_volume_get()
451 uc->value.integer.value[1] = spec->vol[n].ch2; in se200pci_cont_volume_get()
456 struct snd_ctl_elem_value *uc) in se200pci_cont_boolean_get() argument
461 uc->value.integer.value[0] = spec->vol[n].ch1; in se200pci_cont_boolean_get()
466 struct snd_ctl_elem_value *uc) in se200pci_cont_enum_get() argument
471 uc->value.enumerated.item[0] = spec->vol[n].ch1; in se200pci_cont_enum_get()
517 struct snd_ctl_elem_value *uc) in se200pci_cont_volume_put() argument
526 vol1 = uc->value.integer.value[0] & 0xff; in se200pci_cont_volume_put()
527 vol2 = uc->value.integer.value[1] & 0xff; in se200pci_cont_volume_put()
[all …]
/sound/soc/intel/atom/
Dsst-mfld-platform-compress.c118 str_params.sparams.uc.mp3_params.num_chan = params->codec.ch_in; in sst_platform_compr_set_params()
119 str_params.sparams.uc.mp3_params.pcm_wd_sz = 16; in sst_platform_compr_set_params()
125 str_params.sparams.uc.aac_params.num_chan = params->codec.ch_in; in sst_platform_compr_set_params()
126 str_params.sparams.uc.aac_params.pcm_wd_sz = 16; in sst_platform_compr_set_params()
128 str_params.sparams.uc.aac_params.bs_format = in sst_platform_compr_set_params()
131 str_params.sparams.uc.aac_params.bs_format = in sst_platform_compr_set_params()
137 str_params.sparams.uc.aac_params.externalsr = in sst_platform_compr_set_params()
Dsst-mfld-platform-pcm.c145 param->uc.pcm_params.num_chan = (u8) substream->runtime->channels; in sst_fill_pcm_params()
146 param->uc.pcm_params.pcm_wd_sz = substream->runtime->sample_bits; in sst_fill_pcm_params()
147 param->uc.pcm_params.sfreq = substream->runtime->rate; in sst_fill_pcm_params()
150 param->uc.pcm_params.use_offload_path = 0; in sst_fill_pcm_params()
151 param->uc.pcm_params.reserved2 = 0; in sst_fill_pcm_params()
152 memset(param->uc.pcm_params.channel_map, 0, sizeof(u8)); in sst_fill_pcm_params()
Dsst-mfld-dsp.h384 union snd_sst_codec_params uc; member
/sound/soc/intel/atom/sst/
Dsst_drv_interface.c80 return str_param->sparams.uc.pcm_params.sfreq; in sst_get_sfreq()
82 return str_param->sparams.uc.aac_params.externalsr; in sst_get_sfreq()
99 return str_param->sparams.uc.pcm_params.num_chan; in sst_get_num_channel()
101 return str_param->sparams.uc.mp3_params.num_chan; in sst_get_num_channel()
103 return str_param->sparams.uc.aac_params.num_chan; in sst_get_num_channel()
Dsst_stream.c63 pcm_params = &str_info->alloc_param.codec_params.uc.pcm_params; in sst_alloc_stream_mrfld()
/sound/soc/ti/
Domap-mcbsp-st.c399 struct snd_ctl_elem_value *uc) \
407 int val = uc->value.integer.value[0]; \
418 struct snd_ctl_elem_value *uc) \
427 uc->value.integer.value[0] = chgain; \
/sound/soc/sh/rcar/
Dcore.c1558 struct snd_ctl_elem_value *uc) in rsnd_kctrl_get() argument
1565 uc->value.enumerated.item[i] = cfg->val[i]; in rsnd_kctrl_get()
1567 uc->value.integer.value[i] = cfg->val[i]; in rsnd_kctrl_get()
1573 struct snd_ctl_elem_value *uc) in rsnd_kctrl_put() argument
1583 change |= (uc->value.enumerated.item[i] != cfg->val[i]); in rsnd_kctrl_put()
1584 cfg->val[i] = uc->value.enumerated.item[i]; in rsnd_kctrl_put()
1586 change |= (uc->value.integer.value[i] != cfg->val[i]); in rsnd_kctrl_put()
1587 cfg->val[i] = uc->value.integer.value[i]; in rsnd_kctrl_put()
/sound/soc/img/
Dimg-spdif-in.c396 struct snd_ctl_elem_value *uc) in img_spdif_in_get_lock_freq() argument
411 uc->value.integer.value[0] = spdif->multi_freqs[i]; in img_spdif_in_get_lock_freq()
413 uc->value.integer.value[0] = spdif->single_freq; in img_spdif_in_get_lock_freq()
416 uc->value.integer.value[0] = 0; in img_spdif_in_get_lock_freq()