Lines Matching refs:result

35 static void CameraIntrVsync(CAMERAResult result);
36 static void CameraIntrError(CAMERAResult result);
37 static void CameraIntrReboot(CAMERAResult result);
95 CAMERAResult result; in CameraInit() local
96 result = CAMERA_Init(); in CameraInit()
97 if(result == CAMERA_RESULT_FATAL_ERROR) in CameraInit()
99 if(result == CAMERA_RESULT_ILLEGAL_STATUS) in CameraInit()
102 result = CAMERA_I2CEffect(current_camera, CAMERA_EFFECT_NONE); in CameraInit()
103 if (result != CAMERA_RESULT_SUCCESS) in CameraInit()
105 OS_TPrintf("CAMERA_I2CEffect was failed. (%d)\n", result); in CameraInit()
108 result = CAMERA_I2CActivate(current_camera); in CameraInit()
109 if (result == CAMERA_RESULT_FATAL_ERROR) in CameraInit()
110 OS_TPanic("CAMERA_I2CActivate was failed. (%d)\n", result); in CameraInit()
111 if(result == CAMERA_RESULT_ILLEGAL_STATUS) in CameraInit()
122 void CameraIntrError(CAMERAResult result) in CameraIntrError() argument
124 #pragma unused(result) in CameraIntrError()
135 void CameraIntrReboot(CAMERAResult result) in CameraIntrReboot() argument
137 if(result == CAMERA_RESULT_FATAL_ERROR) in CameraIntrReboot()
141 CameraIntrError(result); // DMA synchronization might have drifted, so realign in CameraIntrReboot()
144 void CameraIntrVsync(CAMERAResult result) in CameraIntrVsync() argument
146 #pragma unused(result) in CameraIntrVsync()
152 result = CAMERA_I2CActivate(current_camera); in CameraIntrVsync()
153 if(result == CAMERA_RESULT_FATAL_ERROR) in CameraIntrVsync()
212 CAMERAResult result; in TwlMain() local
375 result = CAMERA_I2CActivate(CAMERA_SELECT_NONE); in TwlMain()
376 if(result == CAMERA_RESULT_FATAL_ERROR) in TwlMain()
403 result = CAMERA_I2CActivate(current_camera); in TwlMain()
404 if(result == CAMERA_RESULT_FATAL_ERROR) in TwlMain()