Searched refs:expotimes (Results 1 – 2 of 2) sorted by relevance
646 int expotimes; in do_autogain() local677 expotimes = i2c_read(gspca_dev, 0x09, 0x10); in do_autogain()679 expotimes = expotimes & 0x07ff; in do_autogain()682 expotimes += (luma_mean - y) >> spring; in do_autogain()691 if (expotimes > 0x0256) in do_autogain()692 expotimes = 0x0256; in do_autogain()693 else if (expotimes < 3) in do_autogain()694 expotimes = 3; in do_autogain()695 i2c_write(gspca_dev, expotimes | pixelclk, 0x09); in do_autogain()
2573 int expotimes; in do_autogain() local2597 expotimes = sd->exposure; in do_autogain()2598 expotimes += (luma_mean - delta) >> 6; in do_autogain()2599 if (expotimes < 0) in do_autogain()2600 expotimes = 0; in do_autogain()2602 (unsigned int) expotimes); in do_autogain()2605 expotimes = sd->exposure >> 8; in do_autogain()2606 expotimes += (luma_mean - delta) >> 4; in do_autogain()2607 if (expotimes < 0) in do_autogain()2608 expotimes = 0; in do_autogain()[all …]