Searched refs:gainG (Results 1 – 1 of 1) sorted by relevance
648 int gainG; in do_autogain() local680 gainG = i2c_read(gspca_dev, 0x35, 0x10); in do_autogain()683 gainG += (luma_mean - y) / 50; in do_autogain()685 if (gainG > 0x3f) in do_autogain()686 gainG = 0x3f; in do_autogain()687 else if (gainG < 3) in do_autogain()688 gainG = 3; in do_autogain()689 i2c_write(gspca_dev, gainG, 0x35); in do_autogain()