Lines Matching refs:ucontrol
160 struct snd_ctl_elem_value *ucontrol) in sst_slot_get() argument
177 ucontrol->value.enumerated.item[0] = mux; in sst_slot_get()
218 struct snd_ctl_elem_value *ucontrol) in sst_slot_put() argument
233 mux = ucontrol->value.enumerated.item[0]; in sst_slot_put()
327 struct snd_ctl_elem_value *ucontrol) in sst_algo_control_get() argument
334 memcpy(ucontrol->value.bytes.data, bc->params, bc->max); in sst_algo_control_get()
346 struct snd_ctl_elem_value *ucontrol) in sst_algo_control_set() argument
357 memcpy(bc->params, ucontrol->value.bytes.data, bc->max); in sst_algo_control_set()
433 struct snd_ctl_elem_value *ucontrol) in sst_gain_get() argument
441 ucontrol->value.integer.value[0] = gv->l_gain; in sst_gain_get()
442 ucontrol->value.integer.value[1] = gv->r_gain; in sst_gain_get()
446 ucontrol->value.integer.value[0] = gv->mute ? 1 : 0; in sst_gain_get()
450 ucontrol->value.integer.value[0] = gv->ramp_duration; in sst_gain_get()
463 struct snd_ctl_elem_value *ucontrol) in sst_gain_put() argument
475 gv->l_gain = ucontrol->value.integer.value[0]; in sst_gain_put()
476 gv->r_gain = ucontrol->value.integer.value[1]; in sst_gain_put()
482 gv->mute = !!ucontrol->value.integer.value[0]; in sst_gain_put()
487 gv->ramp_duration = ucontrol->value.integer.value[0]; in sst_gain_put()