Lines Matching refs:uinfo
46 struct snd_ctl_elem_info *uinfo) in snd_soc_info_enum_double() argument
50 return snd_ctl_enum_info(uinfo, e->shift_l == e->shift_r ? 1 : 2, in snd_soc_info_enum_double()
187 struct snd_ctl_elem_info *uinfo) in snd_soc_info_volsw() argument
198 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; in snd_soc_info_volsw()
200 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_soc_info_volsw()
202 uinfo->count = snd_soc_volsw_is_stereo(mc) ? 2 : 1; in snd_soc_info_volsw()
203 uinfo->value.integer.min = 0; in snd_soc_info_volsw()
204 uinfo->value.integer.max = platform_max - mc->min; in snd_soc_info_volsw()
222 struct snd_ctl_elem_info *uinfo) in snd_soc_info_volsw_sx() argument
227 snd_soc_info_volsw(kcontrol, uinfo); in snd_soc_info_volsw_sx()
231 uinfo->value.integer.max += mc->min; in snd_soc_info_volsw_sx()
461 struct snd_ctl_elem_info *uinfo) in snd_soc_info_volsw_range() argument
472 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_soc_info_volsw_range()
473 uinfo->count = snd_soc_volsw_is_stereo(mc) ? 2 : 1; in snd_soc_info_volsw_range()
474 uinfo->value.integer.min = 0; in snd_soc_info_volsw_range()
475 uinfo->value.integer.max = platform_max - min; in snd_soc_info_volsw_range()
628 struct snd_ctl_elem_info *uinfo) in snd_soc_bytes_info() argument
633 uinfo->type = SNDRV_CTL_ELEM_TYPE_BYTES; in snd_soc_bytes_info()
634 uinfo->count = params->num_regs * component->val_bytes; in snd_soc_bytes_info()
805 struct snd_ctl_elem_info *uinfo) in snd_soc_info_xr_sx() argument
809 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_soc_info_xr_sx()
810 uinfo->count = 1; in snd_soc_info_xr_sx()
811 uinfo->value.integer.min = mc->min; in snd_soc_info_xr_sx()
812 uinfo->value.integer.max = mc->max; in snd_soc_info_xr_sx()