Searched refs:rgain (Results 1 – 4 of 4) sorted by relevance
334 int rgain; member480 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()
695 unsigned int rgain; in ov965x_set_gain() local709 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()
1993 u8 rgain[] = /* 15: gain */ in setgain() local1996 rgain[3] = gspca_dev->gain->val; in setgain()1997 i2c_w8(gspca_dev, rgain); in setgain()
3957 static void setrgain(struct gspca_dev *gspca_dev, s32 rgain) in setrgain() argument3959 i2c_w(gspca_dev, CX0342_RAW_RGAIN_H, rgain >> 8); in setrgain()3960 i2c_w(gspca_dev, CX0342_RAW_RGAIN_L, rgain); in setrgain()