Searched refs:expotimes (Results 1 – 2 of 2) sorted by relevance
655 int expotimes; in do_autogain() local686 expotimes = i2c_read(gspca_dev, 0x09, 0x10); in do_autogain()688 expotimes = expotimes & 0x07ff; in do_autogain()691 expotimes += (luma_mean - y) >> spring; in do_autogain()700 if (expotimes > 0x0256) in do_autogain()701 expotimes = 0x0256; in do_autogain()702 else if (expotimes < 3) in do_autogain()703 expotimes = 3; in do_autogain()704 i2c_write(gspca_dev, expotimes | pixelclk, 0x09); in do_autogain()
2577 int expotimes; in do_autogain() local2601 expotimes = sd->exposure; in do_autogain()2602 expotimes += (luma_mean - delta) >> 6; in do_autogain()2603 if (expotimes < 0) in do_autogain()2604 expotimes = 0; in do_autogain()2606 (unsigned int) expotimes); in do_autogain()2609 expotimes = sd->exposure >> 8; in do_autogain()2610 expotimes += (luma_mean - delta) >> 4; in do_autogain()2611 if (expotimes < 0) in do_autogain()2612 expotimes = 0; in do_autogain()[all …]