Lines Matching defs:uinfo
448 struct snd_ctl_elem_info *uinfo)
452 return snd_ctl_enum_info(uinfo, e->shift_l == e->shift_r ? 1 : 2,
521 struct snd_ctl_elem_info *uinfo)
527 uinfo->type = mask == 1 ? SNDRV_CTL_ELEM_TYPE_BOOLEAN : SNDRV_CTL_ELEM_TYPE_INTEGER;
528 uinfo->count = shift == rshift ? 1 : 2;
529 uinfo->value.integer.min = 0;
530 uinfo->value.integer.max = mask;
687 static int snd_ac97_spdif_mask_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
689 uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958;
690 uinfo->count = 1;
872 static int snd_ac97_ad18xx_pcm_info_bits(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
879 uinfo->type = mask == 1 ? SNDRV_CTL_ELEM_TYPE_BOOLEAN : SNDRV_CTL_ELEM_TYPE_INTEGER;
881 uinfo->count = 2;
883 uinfo->count = 1;
884 uinfo->value.integer.min = 0;
885 uinfo->value.integer.max = mask;
926 static int snd_ac97_ad18xx_pcm_info_volume(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
928 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
929 uinfo->count = 2;
930 uinfo->value.integer.min = 0;
931 uinfo->value.integer.max = 31;