Searched refs:red_gain (Results 1 – 4 of 4) sorted by relevance
494 s32 red_gain, blue_gain, green_gain; in setawb_n_RGB() local498 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() local869 red_gain = reg_r(gspca_dev, 0x0087); in sd_g_volatile_ctrl()870 if (red_gain > 0x40) in sd_g_volatile_ctrl()[all …]
178 u16 green_gain, blue_gain, red_gain; in set_balance() local192 red_gain = calc_mt9v011_gain(bal); in set_balance()197 mt9v011_write(sd, R2D_MT9V011_RED_GAIN, red_gain); in set_balance()
48 int red_gain; member
494 dev->red_gain = ctrl->val; in ctrl_set_awb_gains()498 gains.r_gain.num = dev->red_gain; in ctrl_set_awb_gains()