Searched refs:expotimes (Results 1 – 2 of 2) sorted by relevance
658 int expotimes; in do_autogain() local690 expotimes = i2c_read(gspca_dev, 0x09, 0x10); in do_autogain()692 expotimes = expotimes & 0x07ff; in do_autogain()700 expotimes += (luma_mean - y) >> spring; in do_autogain()712 if (expotimes > 0x0256) in do_autogain()713 expotimes = 0x0256; in do_autogain()714 else if (expotimes < 3) in do_autogain()715 expotimes = 3; in do_autogain()716 i2c_write(gspca_dev, expotimes | pixelclk, 0x09); in do_autogain()
2584 int expotimes; in do_autogain() local2608 expotimes = sd->exposure; in do_autogain()2609 expotimes += (luma_mean - delta) >> 6; in do_autogain()2610 if (expotimes < 0) in do_autogain()2611 expotimes = 0; in do_autogain()2613 (unsigned int) expotimes); in do_autogain()2616 expotimes = sd->exposure >> 8; in do_autogain()2617 expotimes += (luma_mean - delta) >> 4; in do_autogain()2618 if (expotimes < 0) in do_autogain()2619 expotimes = 0; in do_autogain()[all …]