Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/codecs/
Dmt6357.c748 int lgain, rgain; in adc_enable_event() local
753 regmap_read(priv->regmap, MT6357_AUDENC_ANA_CON1, &rgain); in adc_enable_event()
775 MT6357_AUDPREAMPRGAIN_MASK, rgain); in adc_enable_event()
1012 int lgain, rgain; in lo_mux_event() local
1016 rgain = (lgain & MT6357_AUD_LOR_GAIN_MASK) >> MT6357_AUD_LOR_GAIN_SFT; in lo_mux_event()
1039 DL_GAIN_N_40DB, rgain); in lo_mux_event()
1045 rgain, DL_GAIN_N_40DB); in lo_mux_event()
1063 rgain << MT6357_AUD_LOR_GAIN_SFT); in lo_mux_event()
1137 int lgain, rgain; in hp_main_mux_event() local
1141 rgain = (lgain & MT6357_AUD_HPR_GAIN_MASK) >> MT6357_AUD_HPR_GAIN_SFT; in hp_main_mux_event()
[all …]
/linux-6.12.1/sound/sparc/
Damd7930.c334 int rgain; member
480 map->gx = gx_coeff[amd->rgain]; in __amd7930_update_map()
791 swval = &amd->rgain; in snd_amd7930_get_volume()
816 swval = &amd->rgain; in snd_amd7930_put_volume()
959 amd->rgain = 128; in snd_amd7930_create()
/linux-6.12.1/drivers/media/i2c/
Dov9650.c695 unsigned int rgain; in ov965x_set_gain() local
709 rgain = (gain - ((1 << m) * 16)) / (1 << m); in ov965x_set_gain()
710 rgain |= (((1 << m) - 1) << 4); in ov965x_set_gain()
712 ret = ov965x_write(ov965x, REG_GAIN, rgain & 0xff); in ov965x_set_gain()
719 reg |= (((rgain >> 8) & 0x3) << 6); in ov965x_set_gain()
724 ctrls->gain->val = (1 << m) * (16 + (rgain & 0xf)); in ov965x_set_gain()
/linux-6.12.1/drivers/media/usb/gspca/
Dsonixj.c1993 u8 rgain[] = /* 15: gain */ in setgain() local
1996 rgain[3] = gspca_dev->gain->val; in setgain()
1997 i2c_w8(gspca_dev, rgain); in setgain()
Dtopro.c3957 static void setrgain(struct gspca_dev *gspca_dev, s32 rgain) in setrgain() argument
3959 i2c_w(gspca_dev, CX0342_RAW_RGAIN_H, rgain >> 8); in setrgain()
3960 i2c_w(gspca_dev, CX0342_RAW_RGAIN_L, rgain); in setrgain()