Home
last modified time | relevance | path

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

12

/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/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/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.h45 pthread_cond_t cond; member
51 pthread_cond_init(&(s->cond), NULL); in cam_sem_init()
59 pthread_cond_signal(&(s->cond)); in cam_sem_post()
68 rc = pthread_cond_wait(&(s->cond), &(s->mutex)); in cam_sem_wait()
77 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/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/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/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/msm8084/loc_api/libloc_api-rpc/inc/
Ddebug.h49 #define FAILIF(cond, msg...) do { \ argument
50 if (__builtin_expect (cond, 0)) { \
/hardware/qcom/gps/msm8974/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/msm8974/loc_api/libloc_api-rpc/inc/
Ddebug.h49 #define FAILIF(cond, msg...) do { \ argument
50 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/libhardware/modules/soundtrigger/
Dsound_trigger_hw.c54 pthread_cond_t cond; member
73 int rc = pthread_cond_timedwait(&stdev->cond, &stdev->lock, &ts); in callback_thread_loop()
174 pthread_cond_signal(&stdev->cond); in stdev_unload_sound_model()
234 pthread_cond_signal(&stdev->cond); in stdev_stop_recognition()
275 pthread_cond_init(&stdev->cond, (const pthread_condattr_t *) NULL); in stdev_open()
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera_dbg.h78 #define CDBG_FATAL_IF(cond, ...) LOG_ALWAYS_FATAL_IF(cond, ## __VA_ARGS__) argument
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpegdec.c203 pthread_cond_init(&p_session->cond, NULL); in mm_jpegdec_session_create()
271 pthread_cond_destroy(&p_session->cond); in mm_jpegdec_session_destroy()
443 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpeg_session_port_enable()
482 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpeg_session_port_disable()
552 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpegdec_session_decode()
624 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpegdec_session_decode()
1021 pthread_cond_signal(&p_session->cond); in mm_jpegdec_event_handler()
1045 pthread_cond_signal(&p_session->cond); in mm_jpegdec_event_handler()
1049 pthread_cond_signal(&p_session->cond); in mm_jpegdec_event_handler()
1052 pthread_cond_signal(&p_session->cond); in mm_jpegdec_event_handler()
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c77 pthread_cond_t cond; member
131 pthread_cond_signal(&p_obj->cond); in mm_jpegdec_decode_callback()
245 pthread_cond_init(&p_obj->cond, NULL); in decode_init()
425 pthread_cond_wait(&jpeg_obj.cond, &jpeg_obj.lock); in decode_test()
Dmm_jpeg_test.c108 pthread_cond_t cond; member
181 pthread_cond_signal(&p_obj->cond); in mm_jpeg_encode_callback()
308 pthread_cond_init(&p_obj->cond, NULL); in encode_init()
451 pthread_cond_wait(&jpeg_obj.cond, &jpeg_obj.lock); in encode_test()
/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/qcom/audio/visualizer/
Doffload_visualizer.c167 pthread_cond_t cond; variable
212 pthread_cond_init(&cond, NULL); in init_once()
380 pthread_cond_wait(&cond, &lock); in capture_thread_loop()
466 pthread_cond_signal(&cond); in visualizer_hal_start_output()
503 pthread_cond_signal(&cond); in visualizer_hal_stop_output()
508 pthread_cond_signal(&cond); in visualizer_hal_stop_output()
1144 pthread_cond_signal(&cond); in effect_command()
1160 pthread_cond_signal(&cond); in effect_command()
/hardware/libhardware/modules/radio/
Dradio_hw.c87 pthread_cond_t cond; member
151 pthread_cond_signal(&tuner->cond); in send_command_l()
266 pthread_cond_timedwait(&tuner->cond, &tuner->lock, &ts); in callback_thread_loop()
269 pthread_cond_wait(&tuner->cond, &tuner->lock); in callback_thread_loop()
642 pthread_cond_init(&rdev->tuner->cond, (const pthread_condattr_t *) NULL); in rdev_open_tuner()
/hardware/qcom/camera/QCamera2/HAL3/
DQCamera3HWI.h60 #define CDBG_FATAL_IF(cond, ...) LOG_ALWAYS_FATAL_IF(cond, ## __VA_ARGS__) argument
/hardware/qcom/audio/hal/
Daudio_hw.h129 pthread_cond_t cond; member

12