Lines Matching refs:uctl
447 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_switch_get() argument
452 uctl->value.integer.value[0] = mts->smpte_switch; in snd_mts64_ctl_smpte_switch_get()
461 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_switch_put() argument
465 int val = !!uctl->value.integer.value[0]; in snd_mts64_ctl_smpte_switch_put()
529 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_time_get() argument
535 uctl->value.integer.value[0] = mts->time[idx]; in snd_mts64_ctl_smpte_time_get()
542 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_time_put() argument
546 unsigned int time = uctl->value.integer.value[0] % 60; in snd_mts64_ctl_smpte_time_put()
615 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_fps_get() argument
620 uctl->value.enumerated.item[0] = mts->fps; in snd_mts64_ctl_smpte_fps_get()
627 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_fps_put() argument
632 if (uctl->value.enumerated.item[0] >= 5) in snd_mts64_ctl_smpte_fps_put()
635 if (mts->fps != uctl->value.enumerated.item[0]) { in snd_mts64_ctl_smpte_fps_put()
637 mts->fps = uctl->value.enumerated.item[0]; in snd_mts64_ctl_smpte_fps_put()