Lines Matching refs:exposure

363 	if (cam->params.exposure.gainMode == 0)  in cpia_read_proc()
369 1<<(cam->params.exposure.gainMode-1), tmpstr); in cpia_read_proc()
371 switch(cam->params.exposure.expMode) { in cpia_read_proc()
386 (2-cam->params.exposure.centreWeight) ? "on" : "off", in cpia_read_proc()
389 1<<cam->params.exposure.gain, 1, 1); in cpia_read_proc()
398 cam->params.exposure.fineExp*2, 0, tmp, 0); in cpia_read_proc()
407 " %8d\n", cam->params.exposure.coarseExpLo+ in cpia_read_proc()
408 256*cam->params.exposure.coarseExpHi, 0, tmp, 185); in cpia_read_proc()
410 cam->params.exposure.redComp, 220, 255, 220); in cpia_read_proc()
412 cam->params.exposure.green1Comp, 214, 255, 214); in cpia_read_proc()
414 cam->params.exposure.green2Comp, 214, 255, 214); in cpia_read_proc()
416 cam->params.exposure.blueComp, 230, 255, 230); in cpia_read_proc()
775 new_params.exposure.gainMode = 1; in cpia_write_proc()
778 new_params.exposure.gainMode = 2; in cpia_write_proc()
781 new_params.exposure.gainMode = 3; in cpia_write_proc()
784 new_params.exposure.gainMode = 4; in cpia_write_proc()
794 new_params.exposure.expMode = 2; in cpia_write_proc()
796 if (new_params.exposure.expMode == 2) in cpia_write_proc()
797 new_params.exposure.expMode = 3; in cpia_write_proc()
806 new_params.exposure.centreWeight = 1; in cpia_write_proc()
808 new_params.exposure.centreWeight = 2; in cpia_write_proc()
820 new_params.exposure.gain = 0; in cpia_write_proc()
821 new_params.exposure.expMode = 1; in cpia_write_proc()
826 new_params.exposure.gain = 1; in cpia_write_proc()
827 new_params.exposure.expMode = 1; in cpia_write_proc()
832 new_params.exposure.gain = 2; in cpia_write_proc()
833 new_params.exposure.expMode = 1; in cpia_write_proc()
838 new_params.exposure.gain = 3; in cpia_write_proc()
839 new_params.exposure.expMode = 1; in cpia_write_proc()
848 if (new_params.exposure.gain > in cpia_write_proc()
849 new_params.exposure.gainMode-1) in cpia_write_proc()
861 new_params.exposure.fineExp = val; in cpia_write_proc()
862 new_params.exposure.expMode = 1; in cpia_write_proc()
879 new_params.exposure.coarseExpLo = in cpia_write_proc()
881 new_params.exposure.coarseExpHi = in cpia_write_proc()
883 new_params.exposure.expMode = 1; in cpia_write_proc()
896 new_params.exposure.redComp = val; in cpia_write_proc()
907 new_params.exposure.green1Comp = val; in cpia_write_proc()
918 new_params.exposure.green2Comp = val; in cpia_write_proc()
929 new_params.exposure.blueComp = val; in cpia_write_proc()
1025 new_params.exposure.expMode = 2; in cpia_write_proc()
1673 cam->params.exposure.gain = data[0]; in do_command()
1674 cam->params.exposure.fineExp = data[1]; in do_command()
1675 cam->params.exposure.coarseExpLo = data[2]; in do_command()
1676 cam->params.exposure.coarseExpHi = data[3]; in do_command()
1677 cam->params.exposure.redComp = data[4]; in do_command()
1678 cam->params.exposure.green1Comp = data[5]; in do_command()
1679 cam->params.exposure.green2Comp = data[6]; in do_command()
1680 cam->params.exposure.blueComp = data[7]; in do_command()
1685 if (cam->params.exposure.redComp < 220 || in do_command()
1686 cam->params.exposure.green1Comp < 214 || in do_command()
1687 cam->params.exposure.green2Comp < 214 || in do_command()
1688 cam->params.exposure.blueComp < 230) in do_command()
1691 cam->params.exposure.redComp, in do_command()
1692 cam->params.exposure.green1Comp, in do_command()
1693 cam->params.exposure.green2Comp, in do_command()
1694 cam->params.exposure.blueComp); in do_command()
1695 cam->params.exposure.redComp = 220; in do_command()
1696 cam->params.exposure.green1Comp = 214; in do_command()
1697 cam->params.exposure.green2Comp = 214; in do_command()
1698 cam->params.exposure.blueComp = 230; in do_command()
2099 cam->params.exposure.gainMode, in dispatch_commands()
2100 cam->params.exposure.expMode, in dispatch_commands()
2101 cam->params.exposure.compMode, in dispatch_commands()
2102 cam->params.exposure.centreWeight, in dispatch_commands()
2103 cam->params.exposure.gain, in dispatch_commands()
2104 cam->params.exposure.fineExp, in dispatch_commands()
2105 cam->params.exposure.coarseExpLo, in dispatch_commands()
2106 cam->params.exposure.coarseExpHi, in dispatch_commands()
2107 cam->params.exposure.redComp, in dispatch_commands()
2108 cam->params.exposure.green1Comp, in dispatch_commands()
2109 cam->params.exposure.green2Comp, in dispatch_commands()
2110 cam->params.exposure.blueComp); in dispatch_commands()
2351 cam->params.exposure.gain, in save_camera_state()
2352 cam->params.exposure.fineExp, in save_camera_state()
2353 cam->params.exposure.coarseExpLo, in save_camera_state()
2354 cam->params.exposure.coarseExpHi, in save_camera_state()
2355 cam->params.exposure.redComp, in save_camera_state()
2356 cam->params.exposure.green1Comp, in save_camera_state()
2357 cam->params.exposure.green2Comp, in save_camera_state()
2358 cam->params.exposure.blueComp); in save_camera_state()
2382 cam->params.exposure.gainMode, 1, 1, in set_camera_state()
2383 cam->params.exposure.centreWeight, in set_camera_state()
2384 cam->params.exposure.gain, in set_camera_state()
2385 cam->params.exposure.fineExp, in set_camera_state()
2386 cam->params.exposure.coarseExpLo, in set_camera_state()
2387 cam->params.exposure.coarseExpHi, in set_camera_state()
2388 cam->params.exposure.redComp, in set_camera_state()
2389 cam->params.exposure.green1Comp, in set_camera_state()
2390 cam->params.exposure.green2Comp, in set_camera_state()
2391 cam->params.exposure.blueComp); in set_camera_state()
2396 if (!cam->params.exposure.gainMode) in set_camera_state()
2397 cam->params.exposure.gainMode = 2; in set_camera_state()
2398 if (!cam->params.exposure.expMode) in set_camera_state()
2399 cam->params.exposure.expMode = 2; in set_camera_state()
2400 if (!cam->params.exposure.centreWeight) in set_camera_state()
2401 cam->params.exposure.centreWeight = 1; in set_camera_state()
3095 cam->params.exposure.gainMode = 2; in reset_camera_struct()
3096 cam->params.exposure.expMode = 2; /* AEC */ in reset_camera_struct()
3097 cam->params.exposure.compMode = 1; in reset_camera_struct()
3098 cam->params.exposure.centreWeight = 1; in reset_camera_struct()
3099 cam->params.exposure.gain = 0; in reset_camera_struct()
3100 cam->params.exposure.fineExp = 0; in reset_camera_struct()
3101 cam->params.exposure.coarseExpLo = 185; in reset_camera_struct()
3102 cam->params.exposure.coarseExpHi = 0; in reset_camera_struct()
3103 cam->params.exposure.redComp = 220; in reset_camera_struct()
3104 cam->params.exposure.green1Comp = 214; in reset_camera_struct()
3105 cam->params.exposure.green2Comp = 214; in reset_camera_struct()
3106 cam->params.exposure.blueComp = 230; in reset_camera_struct()