Lines Matching refs:uinfo
41 struct snd_ctl_elem_info *uinfo) in snd_soc_info_enum_double() argument
45 return snd_ctl_enum_info(uinfo, e->shift_l == e->shift_r ? 1 : 2, in snd_soc_info_enum_double()
176 struct snd_ctl_elem_info *uinfo) in snd_soc_info_volsw() argument
187 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; in snd_soc_info_volsw()
189 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_soc_info_volsw()
191 uinfo->count = snd_soc_volsw_is_stereo(mc) ? 2 : 1; in snd_soc_info_volsw()
192 uinfo->value.integer.min = 0; in snd_soc_info_volsw()
193 uinfo->value.integer.max = platform_max - mc->min; in snd_soc_info_volsw()
211 struct snd_ctl_elem_info *uinfo) in snd_soc_info_volsw_sx() argument
216 snd_soc_info_volsw(kcontrol, uinfo); in snd_soc_info_volsw_sx()
220 uinfo->value.integer.max += mc->min; in snd_soc_info_volsw_sx()
477 struct snd_ctl_elem_info *uinfo) in snd_soc_info_volsw_range() argument
488 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_soc_info_volsw_range()
489 uinfo->count = snd_soc_volsw_is_stereo(mc) ? 2 : 1; in snd_soc_info_volsw_range()
490 uinfo->value.integer.min = 0; in snd_soc_info_volsw_range()
491 uinfo->value.integer.max = platform_max - min; in snd_soc_info_volsw_range()
651 struct snd_ctl_elem_info *uinfo) in snd_soc_bytes_info() argument
656 uinfo->type = SNDRV_CTL_ELEM_TYPE_BYTES; in snd_soc_bytes_info()
657 uinfo->count = params->num_regs * component->val_bytes; in snd_soc_bytes_info()
828 struct snd_ctl_elem_info *uinfo) in snd_soc_info_xr_sx() argument
832 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_soc_info_xr_sx()
833 uinfo->count = 1; in snd_soc_info_xr_sx()
834 uinfo->value.integer.min = mc->min; in snd_soc_info_xr_sx()
835 uinfo->value.integer.max = mc->max; in snd_soc_info_xr_sx()