Home
last modified time | relevance | path

Searched refs:gv (Results 1 – 1 of 1) sorted by relevance

/sound/soc/intel/atom/
Dsst-atom-controls.c407 static int sst_send_gain_cmd(struct sst_data *drv, struct sst_gain_value *gv, in sst_send_gain_cmd() argument
418 if (mute || gv->mute) { in sst_send_gain_cmd()
422 cmd.cell_gains[0].cell_gain_left = gv->l_gain; in sst_send_gain_cmd()
423 cmd.cell_gains[0].cell_gain_right = gv->r_gain; in sst_send_gain_cmd()
428 cmd.cell_gains[0].gain_time_constant = gv->ramp_duration; in sst_send_gain_cmd()
444 struct sst_gain_value *gv = mc->gain_val; in sst_gain_get() local
448 ucontrol->value.integer.value[0] = gv->l_gain; in sst_gain_get()
449 ucontrol->value.integer.value[1] = gv->r_gain; in sst_gain_get()
453 ucontrol->value.integer.value[0] = gv->mute ? 0 : 1; in sst_gain_get()
457 ucontrol->value.integer.value[0] = gv->ramp_duration; in sst_gain_get()
[all …]