Lines Matching refs:uinfo
392 static int snd_cs4236_info_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
396 uinfo->type = mask == 1 ? SNDRV_CTL_ELEM_TYPE_BOOLEAN : SNDRV_CTL_ELEM_TYPE_INTEGER;
397 uinfo->count = 1;
398 uinfo->value.integer.min = 0;
399 uinfo->value.integer.max = mask;
505 static int snd_cs4236_info_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
509 uinfo->type = mask == 1 ? SNDRV_CTL_ELEM_TYPE_BOOLEAN : SNDRV_CTL_ELEM_TYPE_INTEGER;
510 uinfo->count = 2;
511 uinfo->value.integer.min = 0;
512 uinfo->value.integer.max = mask;