Home
last modified time | relevance | path

Searched refs:poll_cb (Results 1 – 8 of 8) sorted by relevance

/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_thread.c63 static int32_t mm_camera_poll_sig(mm_camera_poll_thread_t *poll_cb, in mm_camera_poll_sig() argument
74 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig()
76 poll_cb->status = FALSE; in mm_camera_poll_sig()
79 len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig()
85 if (FALSE == poll_cb->status) { in mm_camera_poll_sig()
87 pthread_cond_wait(&poll_cb->cond_v, &poll_cb->mutex); in mm_camera_poll_sig()
90 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig()
95 static void mm_camera_poll_sig_done(mm_camera_poll_thread_t *poll_cb) in mm_camera_poll_sig_done() argument
97 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig_done()
98 poll_cb->status = TRUE; in mm_camera_poll_sig_done()
[all …]
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c79 static int32_t mm_camera_poll_sig_async(mm_camera_poll_thread_t *poll_cb, in mm_camera_poll_sig_async() argument
90 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig_async()
92 poll_cb->status = FALSE; in mm_camera_poll_sig_async()
95 len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig_async()
99 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_async()
103 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_async()
124 static int32_t mm_camera_poll_sig(mm_camera_poll_thread_t *poll_cb, in mm_camera_poll_sig() argument
135 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig()
137 poll_cb->status = FALSE; in mm_camera_poll_sig()
140 len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig()
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c82 static int32_t mm_camera_poll_sig_async(mm_camera_poll_thread_t *poll_cb, in mm_camera_poll_sig_async() argument
93 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig_async()
95 poll_cb->status = FALSE; in mm_camera_poll_sig_async()
98 len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig_async()
102 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_async()
106 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_async()
127 static int32_t mm_camera_poll_sig(mm_camera_poll_thread_t *poll_cb, in mm_camera_poll_sig() argument
138 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig()
140 poll_cb->status = FALSE; in mm_camera_poll_sig()
143 len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig()
[all …]
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c82 static int32_t mm_camera_poll_sig_async(mm_camera_poll_thread_t *poll_cb, in mm_camera_poll_sig_async() argument
93 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig_async()
95 poll_cb->status = FALSE; in mm_camera_poll_sig_async()
98 len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig_async()
102 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_async()
106 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_async()
127 static int32_t mm_camera_poll_sig(mm_camera_poll_thread_t *poll_cb, in mm_camera_poll_sig() argument
138 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig()
140 poll_cb->status = FALSE; in mm_camera_poll_sig()
143 len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig()
[all …]
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h558 mm_camera_poll_thread_t * poll_cb,
560 extern int32_t mm_camera_poll_thread_release(mm_camera_poll_thread_t *poll_cb);
562 mm_camera_poll_thread_t * poll_cb,
569 mm_camera_poll_thread_t * poll_cb,
573 mm_camera_poll_thread_t * poll_cb);
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h613 mm_camera_poll_thread_t * poll_cb,
615 extern int32_t mm_camera_poll_thread_release(mm_camera_poll_thread_t *poll_cb);
617 mm_camera_poll_thread_t * poll_cb,
624 mm_camera_poll_thread_t * poll_cb,
628 mm_camera_poll_thread_t * poll_cb);
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h556 mm_camera_poll_thread_t * poll_cb,
558 extern int32_t mm_camera_poll_thread_release(mm_camera_poll_thread_t *poll_cb);
560 mm_camera_poll_thread_t * poll_cb,
567 mm_camera_poll_thread_t * poll_cb,
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/
Dmm_camera.h678 mm_camera_poll_thread_t * poll_cb,
680 extern int32_t mm_camera_poll_thread_release(mm_camera_poll_thread_t *poll_cb);
682 mm_camera_poll_thread_t * poll_cb,
688 mm_camera_poll_thread_t * poll_cb,