Lines Matching refs:uctl
431 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_switch_get() argument
436 uctl->value.integer.value[0] = mts->smpte_switch; in snd_mts64_ctl_smpte_switch_get()
445 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_switch_put() argument
449 int val = !!uctl->value.integer.value[0]; in snd_mts64_ctl_smpte_switch_put()
513 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_time_get() argument
519 uctl->value.integer.value[0] = mts->time[idx]; in snd_mts64_ctl_smpte_time_get()
526 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_time_put() argument
530 unsigned int time = uctl->value.integer.value[0] % 60; in snd_mts64_ctl_smpte_time_put()
599 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_fps_get() argument
604 uctl->value.enumerated.item[0] = mts->fps; in snd_mts64_ctl_smpte_fps_get()
611 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_fps_put() argument
616 if (uctl->value.enumerated.item[0] >= 5) in snd_mts64_ctl_smpte_fps_put()
619 if (mts->fps != uctl->value.enumerated.item[0]) { in snd_mts64_ctl_smpte_fps_put()
621 mts->fps = uctl->value.enumerated.item[0]; in snd_mts64_ctl_smpte_fps_put()