Lines Matching refs:uinfo
1583 …tic int snd_hdsp_control_spdif_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_hdsp_control_spdif_info() argument
1585 uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958; in snd_hdsp_control_spdif_info()
1586 uinfo->count = 1; in snd_hdsp_control_spdif_info()
1612 … snd_hdsp_control_spdif_stream_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_hdsp_control_spdif_stream_info() argument
1614 uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958; in snd_hdsp_control_spdif_stream_info()
1615 uinfo->count = 1; in snd_hdsp_control_spdif_stream_info()
1643 …nt snd_hdsp_control_spdif_mask_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_hdsp_control_spdif_mask_info() argument
1645 uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958; in snd_hdsp_control_spdif_mask_info()
1646 uinfo->count = 1; in snd_hdsp_control_spdif_mask_info()
1677 static int snd_hdsp_info_spdif_in(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_hdsp_info_spdif_in() argument
1684 return snd_ctl_enum_info(uinfo, 1, (hdsp->io_type == H9632) ? 4 : 3, in snd_hdsp_info_spdif_in()
1780 …int snd_hdsp_info_spdif_sample_rate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_hdsp_info_spdif_sample_rate() argument
1788 return snd_ctl_enum_info(uinfo, 1, (hdsp->io_type == H9632) ? 10 : 7, in snd_hdsp_info_spdif_sample_rate()
1839 …nt snd_hdsp_info_system_sample_rate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_hdsp_info_system_sample_rate() argument
1841 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_hdsp_info_system_sample_rate()
1842 uinfo->count = 1; in snd_hdsp_info_system_sample_rate()
1863 … snd_hdsp_info_autosync_sample_rate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_hdsp_info_autosync_sample_rate() argument
1871 return snd_ctl_enum_info(uinfo, 1, (hdsp->io_type == H9632) ? 10 : 7, in snd_hdsp_info_autosync_sample_rate()
1931 …int snd_hdsp_info_system_clock_mode(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_hdsp_info_system_clock_mode() argument
1935 return snd_ctl_enum_info(uinfo, 1, 2, texts); in snd_hdsp_info_system_clock_mode()
2034 …atic int snd_hdsp_info_clock_source(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_hdsp_info_clock_source() argument
2044 return snd_ctl_enum_info(uinfo, 1, (hdsp->io_type == H9632) ? 10 : 7, in snd_hdsp_info_clock_source()
2147 static int snd_hdsp_info_da_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_hdsp_info_da_gain() argument
2151 return snd_ctl_enum_info(uinfo, 1, 3, texts); in snd_hdsp_info_da_gain()
2226 static int snd_hdsp_info_ad_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_hdsp_info_ad_gain() argument
2230 return snd_ctl_enum_info(uinfo, 1, 3, texts); in snd_hdsp_info_ad_gain()
2305 static int snd_hdsp_info_phone_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_hdsp_info_phone_gain() argument
2309 return snd_ctl_enum_info(uinfo, 1, 3, texts); in snd_hdsp_info_phone_gain()
2403 …tic int snd_hdsp_info_pref_sync_ref(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_hdsp_info_pref_sync_ref() argument
2426 return snd_ctl_enum_info(uinfo, 1, num_items, texts); in snd_hdsp_info_pref_sync_ref()
2504 …atic int snd_hdsp_info_autosync_ref(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_hdsp_info_autosync_ref() argument
2510 return snd_ctl_enum_info(uinfo, 1, 7, texts); in snd_hdsp_info_autosync_ref()
2625 static int snd_hdsp_info_mixer(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_hdsp_info_mixer() argument
2627 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_hdsp_info_mixer()
2628 uinfo->count = 3; in snd_hdsp_info_mixer()
2629 uinfo->value.integer.min = 0; in snd_hdsp_info_mixer()
2630 uinfo->value.integer.max = 65536; in snd_hdsp_info_mixer()
2631 uinfo->value.integer.step = 1; in snd_hdsp_info_mixer()
2695 static int snd_hdsp_info_sync_check(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_hdsp_info_sync_check() argument
2699 return snd_ctl_enum_info(uinfo, 1, 3, texts); in snd_hdsp_info_sync_check()
2869 static int snd_hdsp_info_dds_offset(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_hdsp_info_dds_offset() argument
2871 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_hdsp_info_dds_offset()
2872 uinfo->count = 1; in snd_hdsp_info_dds_offset()
2873 uinfo->value.integer.min = -5000; in snd_hdsp_info_dds_offset()
2874 uinfo->value.integer.max = 5000; in snd_hdsp_info_dds_offset()
3054 static int snd_hdsp_info_rpm_input(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_hdsp_info_rpm_input() argument
3060 return snd_ctl_enum_info(uinfo, 1, 5, texts); in snd_hdsp_info_rpm_input()
3183 static int snd_hdsp_info_rpm_bypass(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_hdsp_info_rpm_bypass() argument
3187 return snd_ctl_enum_info(uinfo, 1, 2, texts); in snd_hdsp_info_rpm_bypass()
3234 …ic int snd_hdsp_info_rpm_disconnect(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_hdsp_info_rpm_disconnect() argument
3238 return snd_ctl_enum_info(uinfo, 1, 2, texts); in snd_hdsp_info_rpm_disconnect()