Home
last modified time | relevance | path

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

/drivers/media/usb/gspca/
Dt613.c494 s32 red_gain, blue_gain, green_gain; in setawb_n_RGB() local
498 red_gain = green_gain + sd->red_balance->val; in setawb_n_RGB()
499 if (red_gain > 0x40) in setawb_n_RGB()
500 red_gain = 0x40; in setawb_n_RGB()
501 else if (red_gain < 0x10) in setawb_n_RGB()
502 red_gain = 0x10; in setawb_n_RGB()
510 all_gain_reg[1] = red_gain; in setawb_n_RGB()
863 s32 red_gain, blue_gain, green_gain; in sd_g_volatile_ctrl() local
869 red_gain = reg_r(gspca_dev, 0x0087); in sd_g_volatile_ctrl()
870 if (red_gain > 0x40) in sd_g_volatile_ctrl()
[all …]
/drivers/media/i2c/
Dmt9v011.c178 u16 green_gain, blue_gain, red_gain; in set_balance() local
192 red_gain = calc_mt9v011_gain(bal); in set_balance()
197 mt9v011_write(sd, R2D_MT9V011_RED_GAIN, red_gain); in set_balance()
/drivers/staging/vc04_services/bcm2835-camera/
Dbcm2835-camera.h48 int red_gain; member
Dcontrols.c488 dev->red_gain = ctrl->val; in ctrl_set_awb_gains()
492 gains.r_gain.numerator = dev->red_gain; in ctrl_set_awb_gains()