Home
last modified time | relevance | path

Searched refs:green_gain (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/media/usb/gspca/
Dt613.c494 s32 red_gain, blue_gain, green_gain; in setawb_n_RGB() local
496 green_gain = sd->gain->val; in setawb_n_RGB()
498 red_gain = green_gain + sd->red_balance->val; in setawb_n_RGB()
504 blue_gain = green_gain + sd->blue_balance->val; in setawb_n_RGB()
512 all_gain_reg[5] = green_gain; in setawb_n_RGB()
863 s32 red_gain, blue_gain, green_gain; in sd_g_volatile_ctrl() local
881 green_gain = reg_r(gspca_dev, 0x0089); in sd_g_volatile_ctrl()
882 if (green_gain > 0x40) in sd_g_volatile_ctrl()
883 green_gain = 0x40; in sd_g_volatile_ctrl()
884 else if (green_gain < 0x10) in sd_g_volatile_ctrl()
[all …]
/linux-6.12.1/drivers/media/i2c/
Dmt9v011.c176 u16 green_gain, blue_gain, red_gain; in set_balance() local
182 green_gain = calc_mt9v011_gain(core->global_gain); in set_balance()
192 mt9v011_write(sd, R2B_MT9V011_GREEN_1_GAIN, green_gain); in set_balance()
193 mt9v011_write(sd, R2E_MT9V011_GREEN_2_GAIN, green_gain); in set_balance()