Lines Matching refs:result

35 static void CameraIntrVsync(CAMERAResult result);
36 static void CameraIntrError(CAMERAResult result);
37 static void CameraIntrReboot(CAMERAResult result);
97 CAMERAResult result; in CameraInit() local
98 result = CAMERA_Init(); in CameraInit()
99 if(result == CAMERA_RESULT_FATAL_ERROR) in CameraInit()
101 if(result == CAMERA_RESULT_ILLEGAL_STATUS) in CameraInit()
104 result = CAMERA_I2CEffect(current_camera, CAMERA_EFFECT_NONE); in CameraInit()
105 if (result != CAMERA_RESULT_SUCCESS) in CameraInit()
107 OS_TPrintf("CAMERA_I2CEffect was failed. (%d)\n", result); in CameraInit()
110 result = CAMERA_I2CActivate(current_camera); in CameraInit()
111 if (result == CAMERA_RESULT_FATAL_ERROR) in CameraInit()
112 OS_TPanic("CAMERA_I2CActivate was failed. (%d)\n", result); in CameraInit()
113 if(result == CAMERA_RESULT_ILLEGAL_STATUS) in CameraInit()
124 void CameraIntrError(CAMERAResult result) in CameraIntrError() argument
126 #pragma unused(result) in CameraIntrError()
136 void CameraIntrReboot(CAMERAResult result) in CameraIntrReboot() argument
138 if(result == CAMERA_RESULT_FATAL_ERROR) in CameraIntrReboot()
142 CameraIntrError(result); // DMA synchronization might have drifted, so realign in CameraIntrReboot()
145 void CameraIntrVsync(CAMERAResult result) in CameraIntrVsync() argument
147 #pragma unused(result) in CameraIntrVsync()
153 result = CAMERA_I2CActivate(current_camera); in CameraIntrVsync()
154 if(result == CAMERA_RESULT_FATAL_ERROR) in CameraIntrVsync()
220 CAMERAResult result; in TwlMain() local
379 result = CAMERA_I2CActivate(CAMERA_SELECT_NONE); in TwlMain()
380 if(result == CAMERA_RESULT_FATAL_ERROR) in TwlMain()
405 result = CAMERA_I2CActivate(current_camera); in TwlMain()
406 if(result == CAMERA_RESULT_FATAL_ERROR) in TwlMain()