Lines Matching full:gain
14 0x10 high nibble red gain low nibble blue gain
15 0x11 low nibble green gain
17 0x05 red gain 0-127
18 0x06 blue gain 0-127
19 0x07 green gain 0-127
115 if we adjust the gain or exposure we must ignore at least the next frame for
230 add a bit additional red gain and a lot additional blue gain, which
291 0x09 Blue Gain
292 0x0a Green1 Gain
293 0x0b Green2 Gain
294 0x0c Red Gain
295 0x0e Global gain
315 /* Color Gain B Pixel 5 a */
317 /* Color Gain G1 Pixel 1 5 */
319 /* Color Gain G2 Pixel 1 0 5 */
321 /* Color Gain R Pixel 3 1 */
325 /* Global Gain */
352 0x07 Blue Gain
353 0x08 Green Gain
354 0x09 Red Gain
360 0x10 Master gain 0 - 31
400 * reg02: gain, bit order reversed!! 0 == max gain, 255 == min gain
582 u8 gain = gspca_dev->gain->val; in setgain() local
589 i2c[3] = 0x3f - gain; in setgain()
590 i2c[4] = 0x3f - gain; in setgain()
591 i2c[5] = 0x3f - gain; in setgain()
601 i2c[4] = 255 - gain; in setgain()
608 gain = 255 - gain; in setgain()
610 i2c[3] |= (gain & 0x80) >> 7; in setgain()
611 i2c[3] |= (gain & 0x40) >> 5; in setgain()
612 i2c[3] |= (gain & 0x20) >> 3; in setgain()
613 i2c[3] |= (gain & 0x10) >> 1; in setgain()
614 i2c[3] |= (gain & 0x08) << 1; in setgain()
615 i2c[3] |= (gain & 0x04) << 3; in setgain()
616 i2c[3] |= (gain & 0x02) << 5; in setgain()
617 i2c[3] |= (gain & 0x01) << 7; in setgain()
626 * The ov7630's gain is weird, at 32 the gain drops to the in setgain()
629 if (sd->sensor == SENSOR_OV7630 && gain >= 32) in setgain()
630 gain += 16; in setgain()
633 i2c[3] = gain; in setgain()
654 i2cpgain[3] = gain; in setgain()
655 i2cpcolorgain[3] = gain >> 1; in setgain()
656 i2cpcolorgain[4] = gain >> 1; in setgain()
657 i2cpcolorgain[5] = gain >> 1; in setgain()
658 i2cpcolorgain[6] = gain >> 1; in setgain()
667 u8 buf[3] = { gain, gain, gain }; /* R, G, B */ in setgain()
671 buf[0] = gain << 4 | gain; /* Red and blue */ in setgain()
672 buf[1] = gain; /* Green */ in setgain()
908 int gain_knee = (s32)gspca_dev->gain->maximum * 9 / 10; in do_autogain()
963 we are on a valid point of the autogain gain / in sd_s_ctrl()
966 gspca_dev->gain->val = gspca_dev->gain->default_value; in sd_s_ctrl()
981 if (gspca_dev->gain->is_new || (ctrl->is_new && ctrl->val)) in sd_s_ctrl()
1011 /* Gain range is sensor dependent */ in sd_init_controls()
1016 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
1020 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
1024 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
1030 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
1035 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
1038 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
1101 /* Set bridge gain to 1.0 */ in sd_start()