Lines Matching refs:uinfo
45 static int snd_sbmixer_info_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_sbmixer_info_single() argument
49 uinfo->type = mask == 1 ? SNDRV_CTL_ELEM_TYPE_BOOLEAN : SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_sbmixer_info_single()
50 uinfo->count = 1; in snd_sbmixer_info_single()
51 uinfo->value.integer.min = 0; in snd_sbmixer_info_single()
52 uinfo->value.integer.max = mask; in snd_sbmixer_info_single()
97 static int snd_sbmixer_info_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_sbmixer_info_double() argument
101 uinfo->type = mask == 1 ? SNDRV_CTL_ELEM_TYPE_BOOLEAN : SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_sbmixer_info_double()
102 uinfo->count = 2; in snd_sbmixer_info_double()
103 uinfo->value.integer.min = 0; in snd_sbmixer_info_double()
104 uinfo->value.integer.max = mask; in snd_sbmixer_info_double()
168 static int snd_dt019x_input_sw_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_dt019x_input_sw_info() argument
174 return snd_ctl_enum_info(uinfo, 1, 5, texts); in snd_dt019x_input_sw_info()
255 struct snd_ctl_elem_info *uinfo) in snd_als4k_mono_capture_route_info() argument
261 return snd_ctl_enum_info(uinfo, 1, 3, texts); in snd_als4k_mono_capture_route_info()
308 static int snd_sb8mixer_info_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_sb8mixer_info_mux() argument
314 return snd_ctl_enum_info(uinfo, 1, 3, texts); in snd_sb8mixer_info_mux()
375 …tic int snd_sb16mixer_info_input_sw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_sb16mixer_info_input_sw() argument
377 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; in snd_sb16mixer_info_input_sw()
378 uinfo->count = 4; in snd_sb16mixer_info_input_sw()
379 uinfo->value.integer.min = 0; in snd_sb16mixer_info_input_sw()
380 uinfo->value.integer.max = 1; in snd_sb16mixer_info_input_sw()