Lines Matching refs:ucontrol
2255 ucontrol) in snd_hdspm_get_system_sample_rate()
2259 ucontrol->value.integer.value[0] = hdspm_get_system_sample_rate(hdspm); in snd_hdspm_get_system_sample_rate()
2265 ucontrol) in snd_hdspm_put_system_sample_rate()
2268 int rate = ucontrol->value.integer.value[0]; in snd_hdspm_put_system_sample_rate()
2272 hdspm_set_dds_value(hdspm, ucontrol->value.integer.value[0]); in snd_hdspm_put_system_sample_rate()
2419 ucontrol) in snd_hdspm_get_autosync_sample_rate()
2427 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate()
2431 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate()
2435 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate()
2439 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate()
2448 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate()
2452 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate()
2456 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate()
2460 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate()
2470 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate()
2474 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate()
2478 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate()
2482 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate()
2486 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate()
2496 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate()
2563 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_get_system_clock_mode() argument
2567 ucontrol->value.enumerated.item[0] = hdspm_system_clock_mode(hdspm); in snd_hdspm_get_system_clock_mode()
2572 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_put_system_clock_mode() argument
2580 val = ucontrol->value.enumerated.item[0]; in snd_hdspm_put_system_clock_mode()
2655 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_get_clock_source() argument
2659 ucontrol->value.enumerated.item[0] = hdspm_clock_source(hdspm); in snd_hdspm_get_clock_source()
2664 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_put_clock_source() argument
2672 val = ucontrol->value.enumerated.item[0]; in snd_hdspm_put_clock_source()
2976 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_get_pref_sync_ref() argument
2982 ucontrol->value.enumerated.item[0] = psf; in snd_hdspm_get_pref_sync_ref()
2990 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_put_pref_sync_ref() argument
2998 val = ucontrol->value.enumerated.item[0]; in snd_hdspm_put_pref_sync_ref()
3079 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_get_autosync_ref() argument
3083 ucontrol->value.enumerated.item[0] = hdspm_autosync_ref(hdspm); in snd_hdspm_get_autosync_ref()
3107 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_get_tco_video_input_format() argument
3129 ucontrol->value.enumerated.item[0] = ret; in snd_hdspm_get_tco_video_input_format()
3185 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_get_tco_ltc_frames() argument
3189 ucontrol->value.enumerated.item[0] = hdspm_tco_ltc_frames(hdspm); in snd_hdspm_get_tco_ltc_frames()
3240 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_get_toggle_setting() argument
3246 ucontrol->value.integer.value[0] = hdspm_toggle_setting(hdspm, regmask); in snd_hdspm_get_toggle_setting()
3252 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_put_toggle_setting() argument
3261 val = ucontrol->value.integer.value[0] & 1; in snd_hdspm_put_toggle_setting()
3303 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_get_input_select() argument
3308 ucontrol->value.enumerated.item[0] = hdspm_input_select(hdspm); in snd_hdspm_get_input_select()
3314 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_put_input_select() argument
3322 val = ucontrol->value.integer.value[0] & 1; in snd_hdspm_put_input_select()
3365 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_get_ds_wire() argument
3370 ucontrol->value.enumerated.item[0] = hdspm_ds_wire(hdspm); in snd_hdspm_get_ds_wire()
3376 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_put_ds_wire() argument
3384 val = ucontrol->value.integer.value[0] & 1; in snd_hdspm_put_ds_wire()
3438 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_get_qs_wire() argument
3443 ucontrol->value.enumerated.item[0] = hdspm_qs_wire(hdspm); in snd_hdspm_get_qs_wire()
3449 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_put_qs_wire() argument
3457 val = ucontrol->value.integer.value[0]; in snd_hdspm_put_qs_wire()
3513 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_get_tristate() argument
3519 ucontrol->value.enumerated.item[0] = hdspm_tristate(hdspm, regmask); in snd_hdspm_get_tristate()
3525 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_put_tristate() argument
3534 val = ucontrol->value.integer.value[0]; in snd_hdspm_put_tristate()
3592 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_get_madi_speedmode() argument
3597 ucontrol->value.enumerated.item[0] = hdspm_madi_speedmode(hdspm); in snd_hdspm_get_madi_speedmode()
3603 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_put_madi_speedmode() argument
3611 val = ucontrol->value.integer.value[0]; in snd_hdspm_put_madi_speedmode()
3647 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_get_mixer() argument
3653 source = ucontrol->value.integer.value[0]; in snd_hdspm_get_mixer()
3659 destination = ucontrol->value.integer.value[1]; in snd_hdspm_get_mixer()
3667 ucontrol->value.integer.value[2] = in snd_hdspm_get_mixer()
3671 ucontrol->value.integer.value[2] = in snd_hdspm_get_mixer()
3680 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_put_mixer() argument
3691 source = ucontrol->value.integer.value[0]; in snd_hdspm_put_mixer()
3692 destination = ucontrol->value.integer.value[1]; in snd_hdspm_put_mixer()
3699 gain = ucontrol->value.integer.value[2]; in snd_hdspm_put_mixer()
3751 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_get_playback_mixer() argument
3756 channel = ucontrol->id.index - 1; in snd_hdspm_get_playback_mixer()
3762 ucontrol->value.integer.value[0] = in snd_hdspm_get_playback_mixer()
3770 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_put_playback_mixer() argument
3780 channel = ucontrol->id.index - 1; in snd_hdspm_put_playback_mixer()
3785 gain = ucontrol->value.integer.value[0]*UNITY_GAIN/64; in snd_hdspm_put_playback_mixer()
4016 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_get_sync_check() argument
4102 ucontrol->value.enumerated.item[0] = val; in snd_hdspm_get_sync_check()
4221 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_get_tco_sample_rate() argument
4225 ucontrol->value.enumerated.item[0] = hdspm->tco->samplerate; in snd_hdspm_get_tco_sample_rate()
4231 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_put_tco_sample_rate() argument
4235 if (hdspm->tco->samplerate != ucontrol->value.enumerated.item[0]) { in snd_hdspm_put_tco_sample_rate()
4236 hdspm->tco->samplerate = ucontrol->value.enumerated.item[0]; in snd_hdspm_put_tco_sample_rate()
4268 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_get_tco_pull() argument
4272 ucontrol->value.enumerated.item[0] = hdspm->tco->pull; in snd_hdspm_get_tco_pull()
4278 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_put_tco_pull() argument
4282 if (hdspm->tco->pull != ucontrol->value.enumerated.item[0]) { in snd_hdspm_put_tco_pull()
4283 hdspm->tco->pull = ucontrol->value.enumerated.item[0]; in snd_hdspm_put_tco_pull()
4313 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_get_tco_wck_conversion() argument
4317 ucontrol->value.enumerated.item[0] = hdspm->tco->wordclock; in snd_hdspm_get_tco_wck_conversion()
4323 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_put_tco_wck_conversion() argument
4327 if (hdspm->tco->wordclock != ucontrol->value.enumerated.item[0]) { in snd_hdspm_put_tco_wck_conversion()
4328 hdspm->tco->wordclock = ucontrol->value.enumerated.item[0]; in snd_hdspm_put_tco_wck_conversion()
4360 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_get_tco_frame_rate() argument
4364 ucontrol->value.enumerated.item[0] = hdspm->tco->framerate; in snd_hdspm_get_tco_frame_rate()
4370 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_put_tco_frame_rate() argument
4374 if (hdspm->tco->framerate != ucontrol->value.enumerated.item[0]) { in snd_hdspm_put_tco_frame_rate()
4375 hdspm->tco->framerate = ucontrol->value.enumerated.item[0]; in snd_hdspm_put_tco_frame_rate()
4406 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_get_tco_sync_source() argument
4410 ucontrol->value.enumerated.item[0] = hdspm->tco->input; in snd_hdspm_get_tco_sync_source()
4416 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_put_tco_sync_source() argument
4420 if (hdspm->tco->input != ucontrol->value.enumerated.item[0]) { in snd_hdspm_put_tco_sync_source()
4421 hdspm->tco->input = ucontrol->value.enumerated.item[0]; in snd_hdspm_put_tco_sync_source()
4456 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_get_tco_word_term() argument
4460 ucontrol->value.integer.value[0] = hdspm->tco->term; in snd_hdspm_get_tco_word_term()
4467 struct snd_ctl_elem_value *ucontrol) in snd_hdspm_put_tco_word_term() argument
4471 if (hdspm->tco->term != ucontrol->value.integer.value[0]) { in snd_hdspm_put_tco_word_term()
4472 hdspm->tco->term = ucontrol->value.integer.value[0]; in snd_hdspm_put_tco_word_term()