Lines Matching refs:gain_sft
112 unsigned int gain_sft) in rt715_sdca_get_gain() argument
123 reg_val = gain_sft - reg_val / RT715_SDCA_DB_STEP; in rt715_sdca_get_gain()
125 reg_val = gain_sft + reg_val / RT715_SDCA_DB_STEP; in rt715_sdca_get_gain()
172 const unsigned int gain_sft = 0x2f; in rt715_sdca_set_amp_gain_4ch_put() local
187 gain_sft); in rt715_sdca_set_amp_gain_4ch_put()
208 const unsigned int gain_sft = 8; in rt715_sdca_set_amp_gain_8ch_put() local
223 gain_sft); in rt715_sdca_set_amp_gain_8ch_put()
267 const unsigned int gain_sft = 0x2f; in rt715_sdca_set_amp_gain_4ch_get() local
278 ucontrol->value.integer.value[i] = rt715_sdca_get_gain(val, gain_sft); in rt715_sdca_set_amp_gain_4ch_get()
292 const unsigned int gain_sft = 8; in rt715_sdca_set_amp_gain_8ch_get() local
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()