Lines Matching refs:uinfo
148 struct snd_ctl_elem_info *uinfo) in snd_toneport_monitor_info() argument
150 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_toneport_monitor_info()
151 uinfo->count = 1; in snd_toneport_monitor_info()
152 uinfo->value.integer.min = 0; in snd_toneport_monitor_info()
153 uinfo->value.integer.max = 256; in snd_toneport_monitor_info()
195 struct snd_ctl_elem_info *uinfo) in snd_toneport_source_info() argument
199 uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; in snd_toneport_source_info()
200 uinfo->count = 1; in snd_toneport_source_info()
201 uinfo->value.enumerated.items = size; in snd_toneport_source_info()
203 if (uinfo->value.enumerated.item >= size) in snd_toneport_source_info()
204 uinfo->value.enumerated.item = size - 1; in snd_toneport_source_info()
206 strcpy(uinfo->value.enumerated.name, in snd_toneport_source_info()
207 toneport_source_info[uinfo->value.enumerated.item].name); in snd_toneport_source_info()