Lines Matching refs:uinfo
758 static int snd_es1688_info_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_es1688_info_mux() argument
765 return snd_ctl_enum_info(uinfo, 1, 8, texts); in snd_es1688_info_mux()
800 static int snd_es1688_info_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_es1688_info_single() argument
804 uinfo->type = mask == 1 ? SNDRV_CTL_ELEM_TYPE_BOOLEAN : SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_es1688_info_single()
805 uinfo->count = 1; in snd_es1688_info_single()
806 uinfo->value.integer.min = 0; in snd_es1688_info_single()
807 uinfo->value.integer.max = mask; in snd_es1688_info_single()
859 static int snd_es1688_info_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_es1688_info_double() argument
863 uinfo->type = mask == 1 ? SNDRV_CTL_ELEM_TYPE_BOOLEAN : SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_es1688_info_double()
864 uinfo->count = 2; in snd_es1688_info_double()
865 uinfo->value.integer.min = 0; in snd_es1688_info_double()
866 uinfo->value.integer.max = mask; in snd_es1688_info_double()