Lines Matching refs:value
33 unsigned int nid, unsigned int reg, unsigned int value) in rt715_sdca_index_write() argument
41 ret = regmap_write(regmap, addr, value); in rt715_sdca_index_write()
45 value); in rt715_sdca_index_write()
51 unsigned int nid, unsigned int reg, unsigned int *value) in rt715_sdca_index_read() argument
59 ret = regmap_read(regmap, addr, value); in rt715_sdca_index_read()
63 addr, *value, ret); in rt715_sdca_index_read()
142 if (ucontrol->value.integer.value[i] != rt715->kctl_2ch_orig[i]) { in rt715_sdca_set_amp_gain_put()
149 rt715->kctl_2ch_orig[i] = ucontrol->value.integer.value[i]; in rt715_sdca_set_amp_gain_put()
151 rt715_sdca_vol_gain(ucontrol->value.integer.value[i], mc->max, in rt715_sdca_set_amp_gain_put()
177 if (ucontrol->value.integer.value[i] != rt715->kctl_4ch_orig[i]) { in rt715_sdca_set_amp_gain_4ch_put()
184 rt715->kctl_4ch_orig[i] = ucontrol->value.integer.value[i]; in rt715_sdca_set_amp_gain_4ch_put()
186 rt715_sdca_vol_gain(ucontrol->value.integer.value[i], p->max, in rt715_sdca_set_amp_gain_4ch_put()
213 if (ucontrol->value.integer.value[i] != rt715->kctl_8ch_orig[i]) { in rt715_sdca_set_amp_gain_8ch_put()
220 rt715->kctl_8ch_orig[i] = ucontrol->value.integer.value[i]; in rt715_sdca_set_amp_gain_8ch_put()
222 rt715_sdca_boost_gain(ucontrol->value.integer.value[i], p->max, in rt715_sdca_set_amp_gain_8ch_put()
253 ucontrol->value.integer.value[i] = rt715_sdca_get_gain(val, mc->shift); in rt715_sdca_set_amp_gain_get()
278 ucontrol->value.integer.value[i] = rt715_sdca_get_gain(val, gain_sft); in rt715_sdca_set_amp_gain_4ch_get()
304 ucontrol->value.integer.value[i] = (val_l >> gain_sft) / 10; in rt715_sdca_set_amp_gain_8ch_get()
313 ucontrol->value.integer.value[i + 1] = (val_r >> gain_sft) / 10; in rt715_sdca_set_amp_gain_8ch_get()
336 ucontrol->value.integer.value[i] = invert ? p->max - val : val; in rt715_sdca_get_volsw()
341 ucontrol->value.integer.value[i + 1] = in rt715_sdca_get_volsw()
364 if (ucontrol->value.integer.value[i] != rt715->kctl_switch_orig[i]) { in rt715_sdca_put_volsw()
371 rt715->kctl_switch_orig[i * 2] = ucontrol->value.integer.value[i * 2]; in rt715_sdca_put_volsw()
372 val[i * 2] = ucontrol->value.integer.value[i * 2] & mask; in rt715_sdca_put_volsw()
379 ucontrol->value.integer.value[i * 2 + 1]; in rt715_sdca_put_volsw()
381 ucontrol->value.integer.value[i * 2 + 1] & mask; in rt715_sdca_put_volsw()
412 uinfo->value.integer.min = 0; in rt715_sdca_fu_info()
413 uinfo->value.integer.max = p->max; in rt715_sdca_fu_info()
541 ucontrol->value.enumerated.item[0] = val; in rt715_sdca_mux_get()
555 unsigned int *item = ucontrol->value.enumerated.item; in rt715_sdca_mux_put()