Lines Matching refs:uctl
430 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_switch_get() argument
435 uctl->value.integer.value[0] = mts->smpte_switch; in snd_mts64_ctl_smpte_switch_get()
444 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_switch_put() argument
448 int val = !!uctl->value.integer.value[0]; in snd_mts64_ctl_smpte_switch_put()
512 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_time_get() argument
518 uctl->value.integer.value[0] = mts->time[idx]; in snd_mts64_ctl_smpte_time_get()
525 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_time_put() argument
529 unsigned int time = uctl->value.integer.value[0] % 60; in snd_mts64_ctl_smpte_time_put()
598 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_fps_get() argument
603 uctl->value.enumerated.item[0] = mts->fps; in snd_mts64_ctl_smpte_fps_get()
610 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_fps_put() argument
615 if (uctl->value.enumerated.item[0] >= 5) in snd_mts64_ctl_smpte_fps_put()
618 if (mts->fps != uctl->value.enumerated.item[0]) { in snd_mts64_ctl_smpte_fps_put()
620 mts->fps = uctl->value.enumerated.item[0]; in snd_mts64_ctl_smpte_fps_put()