Lines Matching refs:uinfo
75 static int snd_ak4531_info_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_ak4531_info_single() argument
79 uinfo->type = mask == 1 ? SNDRV_CTL_ELEM_TYPE_BOOLEAN : SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_ak4531_info_single()
80 uinfo->count = 1; in snd_ak4531_info_single()
81 uinfo->value.integer.min = 0; in snd_ak4531_info_single()
82 uinfo->value.integer.max = mask; in snd_ak4531_info_single()
142 static int snd_ak4531_info_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_ak4531_info_double() argument
146 uinfo->type = mask == 1 ? SNDRV_CTL_ELEM_TYPE_BOOLEAN : SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_ak4531_info_double()
147 uinfo->count = 2; in snd_ak4531_info_double()
148 uinfo->value.integer.min = 0; in snd_ak4531_info_double()
149 uinfo->value.integer.max = mask; in snd_ak4531_info_double()
219 static int snd_ak4531_info_input_sw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_ak4531_info_input_sw() argument
221 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; in snd_ak4531_info_input_sw()
222 uinfo->count = 4; in snd_ak4531_info_input_sw()
223 uinfo->value.integer.min = 0; in snd_ak4531_info_input_sw()
224 uinfo->value.integer.max = 1; in snd_ak4531_info_input_sw()