Home
last modified time | relevance | path

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

/Linux-v4.19/sound/sparc/
Damd7930.c335 int rgain; member
481 map->gx = gx_coeff[amd->rgain]; in __amd7930_update_map()
810 swval = &amd->rgain; in snd_amd7930_get_volume()
835 swval = &amd->rgain; in snd_amd7930_put_volume()
978 amd->rgain = 128; in snd_amd7930_create()
/Linux-v4.19/drivers/media/i2c/
Dov9650.c710 unsigned int rgain; in ov965x_set_gain() local
719 rgain = (gain - ((1 << m) * 16)) / (1 << m); in ov965x_set_gain()
720 rgain |= (((1 << m) - 1) << 4); in ov965x_set_gain()
722 ret = ov965x_write(client, REG_GAIN, rgain & 0xff); in ov965x_set_gain()
729 reg |= (((rgain >> 8) & 0x3) << 6); in ov965x_set_gain()
734 ctrls->gain->val = (1 << m) * (16 + (rgain & 0xf)); in ov965x_set_gain()
/Linux-v4.19/drivers/media/usb/gspca/
Dtopro.c3969 static void setrgain(struct gspca_dev *gspca_dev, s32 rgain) in setrgain() argument
3971 i2c_w(gspca_dev, CX0342_RAW_RGAIN_H, rgain >> 8); in setrgain()
3972 i2c_w(gspca_dev, CX0342_RAW_RGAIN_L, rgain); in setrgain()
Dsonixj.c1997 u8 rgain[] = /* 15: gain */ in setgain() local
2000 rgain[3] = gspca_dev->gain->val; in setgain()
2001 i2c_w8(gspca_dev, rgain); in setgain()