Home
last modified time | relevance | path

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

/linux-6.1.9/sound/soc/codecs/
Drt715-sdca.c137 unsigned int gain_val, i, k_changed = 0; in rt715_sdca_set_amp_gain_put() local
149 gain_val = in rt715_sdca_set_amp_gain_put()
152 ret = regmap_write(rt715->mbq_regmap, mc->reg + i, gain_val); in rt715_sdca_set_amp_gain_put()
155 mc->reg + i, gain_val); in rt715_sdca_set_amp_gain_put()
172 unsigned int gain_val, i; in rt715_sdca_set_amp_gain_4ch_put() local
184 gain_val = in rt715_sdca_set_amp_gain_4ch_put()
188 gain_val); in rt715_sdca_set_amp_gain_4ch_put()
191 reg_base + i, gain_val); in rt715_sdca_set_amp_gain_4ch_put()
208 unsigned int gain_val, reg; in rt715_sdca_set_amp_gain_8ch_put() local
220 gain_val = in rt715_sdca_set_amp_gain_8ch_put()
[all …]
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt76x2/
Dphy.c248 u8 gain_val[2]; in mt76x2_phy_set_gain_val() local
250 gain_val[0] = dev->cal.agc_gain_cur[0] - dev->cal.agc_gain_adjust; in mt76x2_phy_set_gain_val()
251 gain_val[1] = dev->cal.agc_gain_cur[1] - dev->cal.agc_gain_adjust; in mt76x2_phy_set_gain_val()
266 val | FIELD_PREP(MT_BBP_AGC_GAIN, gain_val[0])); in mt76x2_phy_set_gain_val()
268 val | FIELD_PREP(MT_BBP_AGC_GAIN, gain_val[1])); in mt76x2_phy_set_gain_val()
Dmcu.c80 __le32 gain_val; in mt76x2_mcu_init_gain() member
83 .gain_val = cpu_to_le32(gain), in mt76x2_mcu_init_gain()
/linux-6.1.9/drivers/staging/media/atomisp/i2c/
Datomisp-gc2235.c359 u16 expo_coarse_h, expo_coarse_l, gain_val = 0xF0, gain_val2 = 0xF0; in __gc2235_set_exposure() local
370 gain_val = 0x40; in __gc2235_set_exposure()
373 gain_val = 0x40; in __gc2235_set_exposure()
377 gain_val = 0xff; in __gc2235_set_exposure()
381 GC2235_GLOBAL_GAIN, (u8)gain_val); in __gc2235_set_exposure()
/linux-6.1.9/sound/soc/intel/atom/
Dsst-atom-controls.h691 struct sst_gain_value *gain_val; member
724 .instance_id = xinstance, .gain_val = xgain_val, .pname = xpname}
735 .instance_id = xinstance, .gain_val = xgain_val, .pname = xpname}
745 .instance_id = xinstance, .gain_val = xgain_val, .pname = xpname}
Dsst-atom-controls.c444 struct sst_gain_value *gv = mc->gain_val; in sst_gain_get()
476 struct sst_gain_value *gv = mc->gain_val; in sst_gain_put()
612 gv = mc->gain_val; in sst_set_pipe_gain()