Lines Matching refs:kcontrol

2241 static int snd_hdspm_info_system_sample_rate(struct snd_kcontrol *kcontrol,  in snd_hdspm_info_system_sample_rate()  argument
2253 static int snd_hdspm_get_system_sample_rate(struct snd_kcontrol *kcontrol, in snd_hdspm_get_system_sample_rate() argument
2257 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_get_system_sample_rate()
2263 static int snd_hdspm_put_system_sample_rate(struct snd_kcontrol *kcontrol, in snd_hdspm_put_system_sample_rate() argument
2267 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_put_system_sample_rate()
2409 static int snd_hdspm_info_autosync_sample_rate(struct snd_kcontrol *kcontrol, in snd_hdspm_info_autosync_sample_rate() argument
2417 static int snd_hdspm_get_autosync_sample_rate(struct snd_kcontrol *kcontrol, in snd_hdspm_get_autosync_sample_rate() argument
2421 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_get_autosync_sample_rate()
2425 switch (kcontrol->private_value) { in snd_hdspm_get_autosync_sample_rate()
2441 kcontrol->private_value-1); in snd_hdspm_get_autosync_sample_rate()
2446 switch (kcontrol->private_value) { in snd_hdspm_get_autosync_sample_rate()
2462 kcontrol->private_value-1); in snd_hdspm_get_autosync_sample_rate()
2468 switch (kcontrol->private_value) { in snd_hdspm_get_autosync_sample_rate()
2488 kcontrol->private_value - in snd_hdspm_get_autosync_sample_rate()
2554 static int snd_hdspm_info_system_clock_mode(struct snd_kcontrol *kcontrol, in snd_hdspm_info_system_clock_mode() argument
2562 static int snd_hdspm_get_system_clock_mode(struct snd_kcontrol *kcontrol, in snd_hdspm_get_system_clock_mode() argument
2565 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_get_system_clock_mode()
2571 static int snd_hdspm_put_system_clock_mode(struct snd_kcontrol *kcontrol, in snd_hdspm_put_system_clock_mode() argument
2574 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_put_system_clock_mode()
2648 static int snd_hdspm_info_clock_source(struct snd_kcontrol *kcontrol, in snd_hdspm_info_clock_source() argument
2654 static int snd_hdspm_get_clock_source(struct snd_kcontrol *kcontrol, in snd_hdspm_get_clock_source() argument
2657 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_get_clock_source()
2663 static int snd_hdspm_put_clock_source(struct snd_kcontrol *kcontrol, in snd_hdspm_put_clock_source() argument
2666 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_put_clock_source()
2965 static int snd_hdspm_info_pref_sync_ref(struct snd_kcontrol *kcontrol, in snd_hdspm_info_pref_sync_ref() argument
2968 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_info_pref_sync_ref()
2975 static int snd_hdspm_get_pref_sync_ref(struct snd_kcontrol *kcontrol, in snd_hdspm_get_pref_sync_ref() argument
2978 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_get_pref_sync_ref()
2989 static int snd_hdspm_put_pref_sync_ref(struct snd_kcontrol *kcontrol, in snd_hdspm_put_pref_sync_ref() argument
2992 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_put_pref_sync_ref()
3059 static int snd_hdspm_info_autosync_ref(struct snd_kcontrol *kcontrol, in snd_hdspm_info_autosync_ref() argument
3062 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_info_autosync_ref()
3078 static int snd_hdspm_get_autosync_ref(struct snd_kcontrol *kcontrol, in snd_hdspm_get_autosync_ref() argument
3081 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_get_autosync_ref()
3098 static int snd_hdspm_info_tco_video_input_format(struct snd_kcontrol *kcontrol, in snd_hdspm_info_tco_video_input_format() argument
3106 static int snd_hdspm_get_tco_video_input_format(struct snd_kcontrol *kcontrol, in snd_hdspm_get_tco_video_input_format() argument
3112 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_get_tco_video_input_format()
3144 static int snd_hdspm_info_tco_ltc_frames(struct snd_kcontrol *kcontrol, in snd_hdspm_info_tco_ltc_frames() argument
3184 static int snd_hdspm_get_tco_ltc_frames(struct snd_kcontrol *kcontrol, in snd_hdspm_get_tco_ltc_frames() argument
3187 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_get_tco_ltc_frames()
3239 static int snd_hdspm_get_toggle_setting(struct snd_kcontrol *kcontrol, in snd_hdspm_get_toggle_setting() argument
3242 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_get_toggle_setting()
3243 u32 regmask = kcontrol->private_value; in snd_hdspm_get_toggle_setting()
3251 static int snd_hdspm_put_toggle_setting(struct snd_kcontrol *kcontrol, in snd_hdspm_put_toggle_setting() argument
3254 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_put_toggle_setting()
3255 u32 regmask = kcontrol->private_value; in snd_hdspm_put_toggle_setting()
3294 static int snd_hdspm_info_input_select(struct snd_kcontrol *kcontrol, in snd_hdspm_info_input_select() argument
3302 static int snd_hdspm_get_input_select(struct snd_kcontrol *kcontrol, in snd_hdspm_get_input_select() argument
3305 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_get_input_select()
3313 static int snd_hdspm_put_input_select(struct snd_kcontrol *kcontrol, in snd_hdspm_put_input_select() argument
3316 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_put_input_select()
3356 static int snd_hdspm_info_ds_wire(struct snd_kcontrol *kcontrol, in snd_hdspm_info_ds_wire() argument
3364 static int snd_hdspm_get_ds_wire(struct snd_kcontrol *kcontrol, in snd_hdspm_get_ds_wire() argument
3367 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_get_ds_wire()
3375 static int snd_hdspm_put_ds_wire(struct snd_kcontrol *kcontrol, in snd_hdspm_put_ds_wire() argument
3378 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_put_ds_wire()
3429 static int snd_hdspm_info_qs_wire(struct snd_kcontrol *kcontrol, in snd_hdspm_info_qs_wire() argument
3437 static int snd_hdspm_get_qs_wire(struct snd_kcontrol *kcontrol, in snd_hdspm_get_qs_wire() argument
3440 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_get_qs_wire()
3448 static int snd_hdspm_put_qs_wire(struct snd_kcontrol *kcontrol, in snd_hdspm_put_qs_wire() argument
3451 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_put_qs_wire()
3493 static int snd_hdspm_info_tristate(struct snd_kcontrol *kcontrol, in snd_hdspm_info_tristate() argument
3496 u32 regmask = kcontrol->private_value; in snd_hdspm_info_tristate()
3512 static int snd_hdspm_get_tristate(struct snd_kcontrol *kcontrol, in snd_hdspm_get_tristate() argument
3515 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_get_tristate()
3516 u32 regmask = kcontrol->private_value; in snd_hdspm_get_tristate()
3524 static int snd_hdspm_put_tristate(struct snd_kcontrol *kcontrol, in snd_hdspm_put_tristate() argument
3527 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_put_tristate()
3528 u32 regmask = kcontrol->private_value; in snd_hdspm_put_tristate()
3583 static int snd_hdspm_info_madi_speedmode(struct snd_kcontrol *kcontrol, in snd_hdspm_info_madi_speedmode() argument
3591 static int snd_hdspm_get_madi_speedmode(struct snd_kcontrol *kcontrol, in snd_hdspm_get_madi_speedmode() argument
3594 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_get_madi_speedmode()
3602 static int snd_hdspm_put_madi_speedmode(struct snd_kcontrol *kcontrol, in snd_hdspm_put_madi_speedmode() argument
3605 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_put_madi_speedmode()
3635 static int snd_hdspm_info_mixer(struct snd_kcontrol *kcontrol, in snd_hdspm_info_mixer() argument
3646 static int snd_hdspm_get_mixer(struct snd_kcontrol *kcontrol, in snd_hdspm_get_mixer() argument
3649 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_get_mixer()
3679 static int snd_hdspm_put_mixer(struct snd_kcontrol *kcontrol, in snd_hdspm_put_mixer() argument
3682 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_put_mixer()
3739 static int snd_hdspm_info_playback_mixer(struct snd_kcontrol *kcontrol, in snd_hdspm_info_playback_mixer() argument
3750 static int snd_hdspm_get_playback_mixer(struct snd_kcontrol *kcontrol, in snd_hdspm_get_playback_mixer() argument
3753 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_get_playback_mixer()
3769 static int snd_hdspm_put_playback_mixer(struct snd_kcontrol *kcontrol, in snd_hdspm_put_playback_mixer() argument
3772 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_put_playback_mixer()
3818 static int snd_hdspm_info_sync_check(struct snd_kcontrol *kcontrol, in snd_hdspm_info_sync_check() argument
3826 static int snd_hdspm_tco_info_lock_check(struct snd_kcontrol *kcontrol, in snd_hdspm_tco_info_lock_check() argument
4015 static int snd_hdspm_get_sync_check(struct snd_kcontrol *kcontrol, in snd_hdspm_get_sync_check() argument
4018 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_get_sync_check()
4023 switch (kcontrol->private_value) { in snd_hdspm_get_sync_check()
4032 kcontrol->private_value-1); in snd_hdspm_get_sync_check()
4037 switch (kcontrol->private_value) { in snd_hdspm_get_sync_check()
4046 kcontrol->private_value-1); in snd_hdspm_get_sync_check()
4051 switch (kcontrol->private_value) { in snd_hdspm_get_sync_check()
4068 switch (kcontrol->private_value) { in snd_hdspm_get_sync_check()
4077 kcontrol->private_value-1); in snd_hdspm_get_sync_check()
4084 switch (kcontrol->private_value) { in snd_hdspm_get_sync_check()
4211 static int snd_hdspm_info_tco_sample_rate(struct snd_kcontrol *kcontrol, in snd_hdspm_info_tco_sample_rate() argument
4220 static int snd_hdspm_get_tco_sample_rate(struct snd_kcontrol *kcontrol, in snd_hdspm_get_tco_sample_rate() argument
4223 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_get_tco_sample_rate()
4230 static int snd_hdspm_put_tco_sample_rate(struct snd_kcontrol *kcontrol, in snd_hdspm_put_tco_sample_rate() argument
4233 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_put_tco_sample_rate()
4258 static int snd_hdspm_info_tco_pull(struct snd_kcontrol *kcontrol, in snd_hdspm_info_tco_pull() argument
4267 static int snd_hdspm_get_tco_pull(struct snd_kcontrol *kcontrol, in snd_hdspm_get_tco_pull() argument
4270 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_get_tco_pull()
4277 static int snd_hdspm_put_tco_pull(struct snd_kcontrol *kcontrol, in snd_hdspm_put_tco_pull() argument
4280 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_put_tco_pull()
4304 static int snd_hdspm_info_tco_wck_conversion(struct snd_kcontrol *kcontrol, in snd_hdspm_info_tco_wck_conversion() argument
4312 static int snd_hdspm_get_tco_wck_conversion(struct snd_kcontrol *kcontrol, in snd_hdspm_get_tco_wck_conversion() argument
4315 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_get_tco_wck_conversion()
4322 static int snd_hdspm_put_tco_wck_conversion(struct snd_kcontrol *kcontrol, in snd_hdspm_put_tco_wck_conversion() argument
4325 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_put_tco_wck_conversion()
4350 static int snd_hdspm_info_tco_frame_rate(struct snd_kcontrol *kcontrol, in snd_hdspm_info_tco_frame_rate() argument
4359 static int snd_hdspm_get_tco_frame_rate(struct snd_kcontrol *kcontrol, in snd_hdspm_get_tco_frame_rate() argument
4362 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_get_tco_frame_rate()
4369 static int snd_hdspm_put_tco_frame_rate(struct snd_kcontrol *kcontrol, in snd_hdspm_put_tco_frame_rate() argument
4372 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_put_tco_frame_rate()
4397 static int snd_hdspm_info_tco_sync_source(struct snd_kcontrol *kcontrol, in snd_hdspm_info_tco_sync_source() argument
4405 static int snd_hdspm_get_tco_sync_source(struct snd_kcontrol *kcontrol, in snd_hdspm_get_tco_sync_source() argument
4408 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_get_tco_sync_source()
4415 static int snd_hdspm_put_tco_sync_source(struct snd_kcontrol *kcontrol, in snd_hdspm_put_tco_sync_source() argument
4418 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_put_tco_sync_source()
4443 static int snd_hdspm_info_tco_word_term(struct snd_kcontrol *kcontrol, in snd_hdspm_info_tco_word_term() argument
4455 static int snd_hdspm_get_tco_word_term(struct snd_kcontrol *kcontrol, in snd_hdspm_get_tco_word_term() argument
4458 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_get_tco_word_term()
4466 static int snd_hdspm_put_tco_word_term(struct snd_kcontrol *kcontrol, in snd_hdspm_put_tco_word_term() argument
4469 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); in snd_hdspm_put_tco_word_term()