Lines Matching refs:ucontrol
245 struct snd_ctl_elem_value *ucontrol) in scarlett_ctl_switch_get() argument
256 ucontrol->value.integer.value[i] = val; in scarlett_ctl_switch_get()
263 struct snd_ctl_elem_value *ucontrol) in scarlett_ctl_switch_put() argument
274 val = ucontrol->value.integer.value[i]; in scarlett_ctl_switch_put()
316 struct snd_ctl_elem_value *ucontrol) in scarlett_ctl_get() argument
328 ucontrol->value.integer.value[i] = val; in scarlett_ctl_get()
335 struct snd_ctl_elem_value *ucontrol) in scarlett_ctl_put() argument
346 val = ucontrol->value.integer.value[i] - in scarlett_ctl_put()
411 struct snd_ctl_elem_value *ucontrol) in scarlett_ctl_enum_get() argument
423 ucontrol->value.enumerated.item[0] = val; in scarlett_ctl_enum_get()
429 struct snd_ctl_elem_value *ucontrol) in scarlett_ctl_enum_put() argument
439 val = ucontrol->value.integer.value[0]; in scarlett_ctl_enum_put()
459 struct snd_ctl_elem_value *ucontrol) in scarlett_ctl_meter_get() argument
476 ucontrol->value.enumerated.item[0] = clamp((int)buf[0], 0, 1); in scarlett_ctl_meter_get()