Lines Matching refs:blue_gain
494 s32 red_gain, blue_gain, green_gain; in setawb_n_RGB() local
504 blue_gain = green_gain + sd->blue_balance->val; in setawb_n_RGB()
505 if (blue_gain > 0x40) in setawb_n_RGB()
506 blue_gain = 0x40; in setawb_n_RGB()
507 else if (blue_gain < 0x10) in setawb_n_RGB()
508 blue_gain = 0x10; in setawb_n_RGB()
511 all_gain_reg[3] = blue_gain; in setawb_n_RGB()
863 s32 red_gain, blue_gain, green_gain; in sd_g_volatile_ctrl() local
875 blue_gain = reg_r(gspca_dev, 0x0088); in sd_g_volatile_ctrl()
876 if (blue_gain > 0x40) in sd_g_volatile_ctrl()
877 blue_gain = 0x40; in sd_g_volatile_ctrl()
878 else if (blue_gain < 0x10) in sd_g_volatile_ctrl()
879 blue_gain = 0x10; in sd_g_volatile_ctrl()
889 sd->blue_balance->val = blue_gain - green_gain; in sd_g_volatile_ctrl()