Lines Matching refs:uctl
445 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_switch_get() argument
450 uctl->value.integer.value[0] = mts->smpte_switch; in snd_mts64_ctl_smpte_switch_get()
459 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_switch_put() argument
463 int val = !!uctl->value.integer.value[0]; in snd_mts64_ctl_smpte_switch_put()
527 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_time_get() argument
533 uctl->value.integer.value[0] = mts->time[idx]; in snd_mts64_ctl_smpte_time_get()
540 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_time_put() argument
544 unsigned int time = uctl->value.integer.value[0] % 60; in snd_mts64_ctl_smpte_time_put()
613 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_fps_get() argument
618 uctl->value.enumerated.item[0] = mts->fps; in snd_mts64_ctl_smpte_fps_get()
625 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_fps_put() argument
630 if (uctl->value.enumerated.item[0] >= 5) in snd_mts64_ctl_smpte_fps_put()
633 if (mts->fps != uctl->value.enumerated.item[0]) { in snd_mts64_ctl_smpte_fps_put()
635 mts->fps = uctl->value.enumerated.item[0]; in snd_mts64_ctl_smpte_fps_put()