Lines Matching refs:uinfo
79 static int snd_ak4531_info_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_ak4531_info_single() argument
83 uinfo->type = mask == 1 ? SNDRV_CTL_ELEM_TYPE_BOOLEAN : SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_ak4531_info_single()
84 uinfo->count = 1; in snd_ak4531_info_single()
85 uinfo->value.integer.min = 0; in snd_ak4531_info_single()
86 uinfo->value.integer.max = mask; in snd_ak4531_info_single()
146 static int snd_ak4531_info_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_ak4531_info_double() argument
150 uinfo->type = mask == 1 ? SNDRV_CTL_ELEM_TYPE_BOOLEAN : SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_ak4531_info_double()
151 uinfo->count = 2; in snd_ak4531_info_double()
152 uinfo->value.integer.min = 0; in snd_ak4531_info_double()
153 uinfo->value.integer.max = mask; in snd_ak4531_info_double()
223 static int snd_ak4531_info_input_sw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_ak4531_info_input_sw() argument
225 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; in snd_ak4531_info_input_sw()
226 uinfo->count = 4; in snd_ak4531_info_input_sw()
227 uinfo->value.integer.min = 0; in snd_ak4531_info_input_sw()
228 uinfo->value.integer.max = 1; in snd_ak4531_info_input_sw()