Home
last modified time | relevance | path

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

/openbmc/linux/sound/sparc/
H A 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()
/openbmc/linux/drivers/media/i2c/
H A 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()
/openbmc/linux/drivers/media/usb/gspca/
H A 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()
H A 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()