Home
last modified time | relevance | path

Searched refs:n_try (Results 1 – 6 of 6) sorted by relevance

/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c241 int8_t n_try=MM_CAMERA_DEV_OPEN_TRIES; in mm_camera_open() local
253 n_try--; in mm_camera_open()
256 if((my_obj->ctrl_fd > 0) || (errno != EIO) || (n_try <= 0 )) { in mm_camera_open()
263 }while (n_try > 0); in mm_camera_open()
273 n_try = MM_CAMERA_DEV_OPEN_TRIES; in mm_camera_open()
275 n_try--; in mm_camera_open()
278 if((my_obj->ds_fd > 0) || (n_try <= 0 )) { in mm_camera_open()
285 } while (n_try > 0); in mm_camera_open()
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c242 int8_t n_try=MM_CAMERA_DEV_OPEN_TRIES; in mm_camera_open() local
254 n_try--; in mm_camera_open()
257 if((my_obj->ctrl_fd >= 0) || (errno != EIO) || (n_try <= 0 )) { in mm_camera_open()
264 }while (n_try > 0); in mm_camera_open()
274 n_try = MM_CAMERA_DEV_OPEN_TRIES; in mm_camera_open()
276 n_try--; in mm_camera_open()
279 if((my_obj->ds_fd >= 0) || (n_try <= 0 )) { in mm_camera_open()
286 } while (n_try > 0); in mm_camera_open()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c241 int8_t n_try=MM_CAMERA_DEV_OPEN_TRIES; in mm_camera_open() local
256 n_try--; in mm_camera_open()
259 if((my_obj->ctrl_fd >= 0) || (errno != EIO) || (n_try <= 0 )) { in mm_camera_open()
266 }while (n_try > 0); in mm_camera_open()
276 n_try = MM_CAMERA_DEV_OPEN_TRIES; in mm_camera_open()
278 n_try--; in mm_camera_open()
281 if((my_obj->ds_fd >= 0) || (n_try <= 0 )) { in mm_camera_open()
288 } while (n_try > 0); in mm_camera_open()
/device/lge/mako/camera/mm-camera-interface/
Dmm_camera.c959 int8_t n_try=MM_CAMERA_DEV_OPEN_TRIES; in mm_camera_open() local
980 n_try--; in mm_camera_open()
984 if((my_obj->ctrl_fd > 0) || (errno != EIO) || (n_try <= 0 )) { in mm_camera_open()
992 }while(n_try>0); in mm_camera_open()
1003 n_try=MM_CAMERA_DEV_OPEN_TRIES; in mm_camera_open()
1005 n_try--; in mm_camera_open()
1009 if((my_obj->ds_fd > 0) || (n_try <= 0 )) { in mm_camera_open()
1016 }while(n_try>0); in mm_camera_open()
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera.c204 int8_t n_try=MM_CAMERA_DEV_OPEN_TRIES; in mm_camera_open() local
215 n_try--; in mm_camera_open()
218 if((my_obj->ctrl_fd > 0) || (errno != EIO) || (n_try <= 0 )) { in mm_camera_open()
225 }while(n_try>0); in mm_camera_open()
235 n_try=MM_CAMERA_DEV_OPEN_TRIES; in mm_camera_open()
237 n_try--; in mm_camera_open()
240 if((my_obj->ds_fd > 0) || (n_try <= 0 )) { in mm_camera_open()
247 }while(n_try>0); in mm_camera_open()
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera.c270 int8_t n_try=MM_CAMERA_DEV_OPEN_TRIES; in mm_camera_open() local
281 n_try--; in mm_camera_open()
284 if((my_obj->ctrl_fd > 0) || (errno != EIO) || (n_try <= 0 )) { in mm_camera_open()
291 }while(n_try>0); in mm_camera_open()
301 n_try=MM_CAMERA_DEV_OPEN_TRIES; in mm_camera_open()
303 n_try--; in mm_camera_open()
306 if((my_obj->ds_fd > 0) || (n_try <= 0 )) { in mm_camera_open()
313 }while(n_try>0); in mm_camera_open()