Lines Matching defs:kcontrol
1558 static int snd_hdsp_control_spdif_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
1565 static int snd_hdsp_control_spdif_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
1567 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
1573 static int snd_hdsp_control_spdif_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
1575 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
1587 static int snd_hdsp_control_spdif_stream_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
1594 static int snd_hdsp_control_spdif_stream_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
1596 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
1602 static int snd_hdsp_control_spdif_stream_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
1604 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
1618 static int snd_hdsp_control_spdif_mask_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
1625 static int snd_hdsp_control_spdif_mask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
1627 ucontrol->value.iec958.status[0] = kcontrol->private_value;
1652 static int snd_hdsp_info_spdif_in(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
1657 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
1663 static int snd_hdsp_get_spdif_in(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
1665 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
1671 static int snd_hdsp_put_spdif_in(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
1673 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
1715 static int snd_hdsp_get_toggle_setting(struct snd_kcontrol *kcontrol,
1718 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
1719 u32 regmask = kcontrol->private_value;
1727 static int snd_hdsp_put_toggle_setting(struct snd_kcontrol *kcontrol,
1730 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
1731 u32 regmask = kcontrol->private_value;
1755 static int snd_hdsp_info_spdif_sample_rate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
1761 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
1767 static int snd_hdsp_get_spdif_sample_rate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
1769 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
1814 static int snd_hdsp_info_system_sample_rate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
1821 static int snd_hdsp_get_system_sample_rate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
1823 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
1838 static int snd_hdsp_info_autosync_sample_rate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
1840 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
1850 static int snd_hdsp_get_autosync_sample_rate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
1852 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
1906 static int snd_hdsp_info_system_clock_mode(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
1913 static int snd_hdsp_get_system_clock_mode(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
1915 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2009 static int snd_hdsp_info_clock_source(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
2017 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2023 static int snd_hdsp_get_clock_source(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2025 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2031 static int snd_hdsp_put_clock_source(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2033 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2059 static int snd_hdsp_get_clock_source_lock(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2061 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2067 static int snd_hdsp_put_clock_source_lock(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2069 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2122 static int snd_hdsp_info_da_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
2129 static int snd_hdsp_get_da_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2131 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2137 static int snd_hdsp_put_da_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2139 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2201 static int snd_hdsp_info_ad_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
2208 static int snd_hdsp_get_ad_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2210 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2216 static int snd_hdsp_put_ad_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2218 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2280 static int snd_hdsp_info_phone_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
2287 static int snd_hdsp_get_phone_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2289 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2295 static int snd_hdsp_put_phone_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2297 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2378 static int snd_hdsp_info_pref_sync_ref(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
2383 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2404 static int snd_hdsp_get_pref_sync_ref(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2406 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2412 static int snd_hdsp_put_pref_sync_ref(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2414 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2479 static int snd_hdsp_info_autosync_ref(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
2488 static int snd_hdsp_get_autosync_ref(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2490 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2516 static int snd_hdsp_get_precise_pointer(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2518 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2526 static int snd_hdsp_put_precise_pointer(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2528 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2562 static int snd_hdsp_get_use_midi_work(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2564 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2572 static int snd_hdsp_put_use_midi_work(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2574 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2600 static int snd_hdsp_info_mixer(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
2610 static int snd_hdsp_get_mixer(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2612 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2631 static int snd_hdsp_put_mixer(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2633 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2670 static int snd_hdsp_info_sync_check(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
2690 static int snd_hdsp_get_wc_sync_check(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2692 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2721 static int snd_hdsp_get_spdif_sync_check(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2723 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2750 static int snd_hdsp_get_adatsync_sync_check(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2752 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2778 static int snd_hdsp_get_adat_sync_check(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2781 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2844 static int snd_hdsp_info_dds_offset(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
2853 static int snd_hdsp_get_dds_offset(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2855 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2861 static int snd_hdsp_put_dds_offset(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2863 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
2970 static int snd_hdsp_get_rpm_input12(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
2972 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
3006 static int snd_hdsp_put_rpm_input12(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
3008 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
3029 static int snd_hdsp_info_rpm_input(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
3055 static int snd_hdsp_get_rpm_input34(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
3057 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
3091 static int snd_hdsp_put_rpm_input34(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
3093 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
3121 static int snd_hdsp_get_rpm_bypass(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
3123 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
3141 static int snd_hdsp_put_rpm_bypass(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
3143 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
3158 static int snd_hdsp_info_rpm_bypass(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
3173 static int snd_hdsp_get_rpm_disconnect(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
3175 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
3193 static int snd_hdsp_put_rpm_disconnect(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
3195 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol);
3209 static int snd_hdsp_info_rpm_disconnect(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
3272 static int snd_hdsp_loopback_get(struct snd_kcontrol *const kcontrol,
3275 struct hdsp *const hdsp = snd_kcontrol_chip(kcontrol);
3276 const u8 channel = snd_ctl_get_ioff(kcontrol, &ucontrol->id);
3286 static int snd_hdsp_loopback_put(struct snd_kcontrol *const kcontrol,
3289 struct hdsp *const hdsp = snd_kcontrol_chip(kcontrol);
3290 const u8 channel = snd_ctl_get_ioff(kcontrol, &ucontrol->id);