Lines Matching defs:uinfo
65 static int snd_ak4531_info_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
69 uinfo->type = mask == 1 ? SNDRV_CTL_ELEM_TYPE_BOOLEAN : SNDRV_CTL_ELEM_TYPE_INTEGER;
70 uinfo->count = 1;
71 uinfo->value.integer.min = 0;
72 uinfo->value.integer.max = mask;
132 static int snd_ak4531_info_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
136 uinfo->type = mask == 1 ? SNDRV_CTL_ELEM_TYPE_BOOLEAN : SNDRV_CTL_ELEM_TYPE_INTEGER;
137 uinfo->count = 2;
138 uinfo->value.integer.min = 0;
139 uinfo->value.integer.max = mask;
209 static int snd_ak4531_info_input_sw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
211 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN;
212 uinfo->count = 4;
213 uinfo->value.integer.min = 0;
214 uinfo->value.integer.max = 1;