Home
last modified time | relevance | path

Searched refs:cond (Results 1 – 25 of 57) sorted by relevance

123

/hardware/intel/common/libwsbm/src/
Dwsbm_driver.c58 n_condInit(struct _WsbmCond *cond, struct _WsbmThreadFuncs *func) in n_condInit() argument
60 cond->func = func; in n_condInit()
71 n_condNone(struct _WsbmCond *cond __attribute__ ((unused))) in n_condNone() argument
77 n_condWait(struct _WsbmCond *cond __attribute__ ((unused)), struct _WsbmMutex *mutex __attribute__ … in n_condWait() argument
115 pthread_cond_t cond; member
180 p_condInit(struct _WsbmCond *cond, struct _WsbmThreadFuncs *func) in p_condInit() argument
182 struct _WsbmPCond *pCond = pCondConvert(cond); in p_condInit()
188 pthread_cond_init(&pCond->cond, NULL); in p_condInit()
193 p_condFree(struct _WsbmCond *cond) in p_condFree() argument
195 struct _WsbmPCond *pCond = pCondConvert(cond); in p_condFree()
[all …]
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/
Dlog.h145 #define CONDITION(cond) ((cond) != 0) argument
150 #define MPL_LOGV_IF(cond, fmt, ...) \ argument
153 #define MPL_LOGV_IF(cond, fmt, ...) \
154 ((CONDITION(cond)) \
168 #define MPL_LOGD_IF(cond, fmt, ...) \ argument
169 ((CONDITION(cond)) \
186 #define MPL_LOGI_IF(cond, fmt, ...) \ argument
187 ((CONDITION(cond)) \
204 #define MPL_LOGW_IF(cond, fmt, ...) \ argument
205 ((CONDITION(cond)) \
[all …]
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/
Dlog.h176 #define CONDITION(cond) ((cond) != 0) argument
181 #define MPL_LOGV_IF(cond, fmt, ...) \ argument
184 #define MPL_LOGV_IF(cond, fmt, ...) \
185 ((CONDITION(cond)) \
204 #define MPL_LOGD_IF(cond, fmt, ...) \ argument
205 ((CONDITION(cond)) \
227 #define MPL_LOGI_IF(cond, fmt, ...) \ argument
228 ((CONDITION(cond)) \
245 #define MPL_LOGW_IF(cond, fmt, ...) \ argument
246 ((CONDITION(cond)) \
[all …]
/hardware/qcom/camera/QCamera2/stack/common/
Dcam_semaphore.h48 pthread_cond_t cond; member
54 pthread_cond_init(&(s->cond), NULL); in cam_sem_init()
62 pthread_cond_signal(&(s->cond)); in cam_sem_post()
71 rc = pthread_cond_wait(&(s->cond), &(s->mutex)); in cam_sem_wait()
80 pthread_cond_destroy(&(s->cond)); in cam_sem_destroy()
/hardware/qcom/display/msm8226/libgralloc/
Dgr.h78 pthread_cond_t cond; variable
88 pthread_cond_init(&cond, 0); in Locker()
92 pthread_cond_destroy(&cond); in ~Locker()
95 inline void wait() { pthread_cond_wait(&cond, &mutex); } in wait()
97 inline void signal() { pthread_cond_signal(&cond); } in signal()
/hardware/qcom/display/msm8909/libgralloc/
Dgr.h78 pthread_cond_t cond; variable
88 pthread_cond_init(&cond, 0); in Locker()
92 pthread_cond_destroy(&cond); in ~Locker()
95 inline void wait() { pthread_cond_wait(&cond, &mutex); } in wait()
97 inline void signal() { pthread_cond_signal(&cond); } in signal()
/hardware/qcom/display/msm8084/libgralloc/
Dgr.h78 pthread_cond_t cond; variable
88 pthread_cond_init(&cond, 0); in Locker()
92 pthread_cond_destroy(&cond); in ~Locker()
95 inline void wait() { pthread_cond_wait(&cond, &mutex); } in wait()
97 inline void signal() { pthread_cond_signal(&cond); } in signal()
/hardware/qcom/display/msm8996/libgralloc/
Dgr.h86 pthread_cond_t cond; variable
96 pthread_cond_init(&cond, 0); in Locker()
100 pthread_cond_destroy(&cond); in ~Locker()
103 inline void wait() { pthread_cond_wait(&cond, &mutex); } in wait()
105 inline void signal() { pthread_cond_signal(&cond); } in signal()
/hardware/qcom/display/msm8994/libgralloc/
Dgr.h85 pthread_cond_t cond; variable
95 pthread_cond_init(&cond, 0); in Locker()
99 pthread_cond_destroy(&cond); in ~Locker()
102 inline void wait() { pthread_cond_wait(&cond, &mutex); } in wait()
104 inline void signal() { pthread_cond_signal(&cond); } in signal()
/hardware/ril/libril/
DrilSocketQueue.h51 pthread_cond_t cond; variable
97 cond = PTHREAD_COND_INITIALIZER; in Ril_queue()
107 pthread_cond_wait(&cond, &mutex_instance); in dequeue()
132 pthread_cond_broadcast(&cond); in enqueue()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_ports/
Dasm_offsets.h17 #define ct_assert(name,cond) \ argument
19 static void assert_##name(void) {switch(0){case 0:case !!(cond):;}}
/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
Ddebug.h61 #define FAILIF(cond, msg...) do { \ argument
62 if (__builtin_expect (cond, 0)) { \
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
Ddebug.h61 #define FAILIF(cond, msg...) do { \ argument
62 if (__builtin_expect (cond, 0)) { \
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
Ddebug.h61 #define FAILIF(cond, msg...) do { \ argument
62 if (__builtin_expect (cond, 0)) { \
/hardware/qcom/gps/loc_api/libloc_api-rpc/inc/
Ddebug.h49 #define FAILIF(cond, msg...) do { \ argument
50 if (__builtin_expect (cond, 0)) { \
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc/inc/
Ddebug.h49 #define FAILIF(cond, msg...) do { \ argument
50 if (__builtin_expect (cond, 0)) { \
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc/inc/
Ddebug.h49 #define FAILIF(cond, msg...) do { \ argument
50 if (__builtin_expect (cond, 0)) { \
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
Ddebug.h61 #define FAILIF(cond, msg...) do { \ argument
62 if (__builtin_expect (cond, 0)) { \
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
Ddebug.h61 #define FAILIF(cond, msg...) do { \ argument
62 if (__builtin_expect (cond, 0)) { \
/hardware/bsp/intel/peripheral/light/mraa/
Dlights.c329 static int init_light_sync_resources(pthread_cond_t *cond, in init_light_sync_resources() argument
347 rc = pthread_cond_init(cond, &condattr); in init_light_sync_resources()
363 pthread_cond_destroy(cond); in init_light_sync_resources()
374 static void free_light_sync_resources(pthread_cond_t *cond, in free_light_sync_resources() argument
378 pthread_cond_destroy(cond); in free_light_sync_resources()
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpegdec.c199 pthread_cond_init(&p_session->cond, NULL); in mm_jpegdec_session_create()
267 pthread_cond_destroy(&p_session->cond); in mm_jpegdec_session_destroy()
437 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpeg_session_port_enable()
476 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpeg_session_port_disable()
546 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpegdec_session_decode()
618 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpegdec_session_decode()
1014 pthread_cond_signal(&p_session->cond); in mm_jpegdec_event_handler()
1038 pthread_cond_signal(&p_session->cond); in mm_jpegdec_event_handler()
1042 pthread_cond_signal(&p_session->cond); in mm_jpegdec_event_handler()
1045 pthread_cond_signal(&p_session->cond); in mm_jpegdec_event_handler()
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera_dbg.h63 #define FATAL_IF(cond, ...) LOG_ALWAYS_FATAL_IF(cond, ## __VA_ARGS__) argument
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/
Drtcd.pl184 my $cond = eval "\$have_${opt}";
185 print " if (${cond}) $fn = $ofn;\n"
/hardware/libhardware/modules/vehicle/
Dvehicle.c63 pthread_cond_t cond; member
419 pthread_cond_timedwait(&sub->cond, &sub->lock, &now); in fake_event_thread()
473 pthread_cond_init(&sub->cond, NULL); in vdev_subscribe()
507 pthread_cond_signal(&sub->cond); in vdev_unsubscribe()
510 pthread_cond_destroy(&sub->cond); in vdev_unsubscribe()
/hardware/qcom/camera/QCamera2/stack/mm-lib2d-interface/src/
Dmm_lib2d.c92 pthread_cond_t cond; member
125 pthread_cond_signal(&lib2d_obj->cond); in lib2d_event_handler()
330 pthread_cond_init(&lib2d_obj->cond, NULL); in mm_lib2d_init()
558 rc = lib2d_obj->img_lib.img_wait_for_completion(&lib2d_obj->cond, in mm_lib2d_start_job()

123