Lines Matching refs:uinfo
14 struct snd_ctl_elem_info *uinfo) in pcsp_enable_info() argument
16 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; in pcsp_enable_info()
17 uinfo->count = 1; in pcsp_enable_info()
18 uinfo->value.integer.min = 0; in pcsp_enable_info()
19 uinfo->value.integer.max = 1; in pcsp_enable_info()
45 struct snd_ctl_elem_info *uinfo) in pcsp_treble_info() argument
48 uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; in pcsp_treble_info()
49 uinfo->count = 1; in pcsp_treble_info()
50 uinfo->value.enumerated.items = chip->max_treble + 1; in pcsp_treble_info()
51 if (uinfo->value.enumerated.item > chip->max_treble) in pcsp_treble_info()
52 uinfo->value.enumerated.item = chip->max_treble; in pcsp_treble_info()
53 sprintf(uinfo->value.enumerated.name, "%lu", in pcsp_treble_info()
54 (unsigned long)PCSP_CALC_RATE(uinfo->value.enumerated.item)); in pcsp_treble_info()
83 struct snd_ctl_elem_info *uinfo) in pcsp_pcspkr_info() argument
85 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; in pcsp_pcspkr_info()
86 uinfo->count = 1; in pcsp_pcspkr_info()
87 uinfo->value.integer.min = 0; in pcsp_pcspkr_info()
88 uinfo->value.integer.max = 1; in pcsp_pcspkr_info()