Lines Matching refs:uinfo

40 	struct snd_ctl_elem_info *uinfo)  in snd_soc_info_enum_double()  argument
44 return snd_ctl_enum_info(uinfo, e->shift_l == e->shift_r ? 1 : 2, in snd_soc_info_enum_double()
175 struct snd_ctl_elem_info *uinfo) in snd_soc_info_volsw() argument
182 max = uinfo->value.integer.max = mc->max - mc->min; in snd_soc_info_volsw()
190 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_soc_info_volsw()
192 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; in snd_soc_info_volsw()
194 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_soc_info_volsw()
197 uinfo->count = snd_soc_volsw_is_stereo(mc) ? 2 : 1; in snd_soc_info_volsw()
198 uinfo->value.integer.min = 0; in snd_soc_info_volsw()
199 uinfo->value.integer.max = max; in snd_soc_info_volsw()
219 struct snd_ctl_elem_info *uinfo) in snd_soc_info_volsw_sx() argument
231 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; in snd_soc_info_volsw_sx()
233 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_soc_info_volsw_sx()
235 uinfo->count = snd_soc_volsw_is_stereo(mc) ? 2 : 1; in snd_soc_info_volsw_sx()
236 uinfo->value.integer.min = 0; in snd_soc_info_volsw_sx()
237 uinfo->value.integer.max = max; in snd_soc_info_volsw_sx()
501 struct snd_ctl_elem_info *uinfo) in snd_soc_info_volsw_range() argument
512 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_soc_info_volsw_range()
513 uinfo->count = snd_soc_volsw_is_stereo(mc) ? 2 : 1; in snd_soc_info_volsw_range()
514 uinfo->value.integer.min = 0; in snd_soc_info_volsw_range()
515 uinfo->value.integer.max = platform_max - min; in snd_soc_info_volsw_range()
674 struct snd_ctl_elem_info *uinfo) in snd_soc_bytes_info() argument
679 uinfo->type = SNDRV_CTL_ELEM_TYPE_BYTES; in snd_soc_bytes_info()
680 uinfo->count = params->num_regs * component->val_bytes; in snd_soc_bytes_info()
851 struct snd_ctl_elem_info *uinfo) in snd_soc_info_xr_sx() argument
855 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_soc_info_xr_sx()
856 uinfo->count = 1; in snd_soc_info_xr_sx()
857 uinfo->value.integer.min = mc->min; in snd_soc_info_xr_sx()
858 uinfo->value.integer.max = mc->max; in snd_soc_info_xr_sx()