Lines Matching refs:shutter
2259 static unsigned int cap = 0, shutter = 0x04e2; in gc2145_aec_ctrl() local
2282 shutter = (value << 8); in gc2145_aec_ctrl()
2285 shutter |= (value & 0xff); in gc2145_aec_ctrl()
2287 __func__, __LINE__, shutter); in gc2145_aec_ctrl()
2288 shutter = shutter * capture_lines / preview_lines; in gc2145_aec_ctrl()
2289 shutter = shutter * capture_fps / preview_fps; in gc2145_aec_ctrl()
2291 if (shutter > lines_10ms) { in gc2145_aec_ctrl()
2292 shutter = shutter + lines_10ms / 2; in gc2145_aec_ctrl()
2293 shutter /= lines_10ms; in gc2145_aec_ctrl()
2294 shutter *= lines_10ms; in gc2145_aec_ctrl()
2296 if (shutter < 1) in gc2145_aec_ctrl()
2297 shutter = 0x276; in gc2145_aec_ctrl()
2299 __func__, __LINE__, lines_10ms, shutter); in gc2145_aec_ctrl()
2301 ret |= gc2145_write(client, 0x03, ((shutter >> 8) & 0x1f)); in gc2145_aec_ctrl()
2302 ret |= gc2145_write(client, 0x04, (shutter & 0xff)); in gc2145_aec_ctrl()