Searched refs:ptr_q (Results 1 – 5 of 5) sorted by relevance
32 struct video_queue_context *ptr_q = NULL; in check_if_queue_empty() local41 ptr_q = (struct video_queue_context *)queuecontext; in check_if_queue_empty()45 if (ptr_q->read_comq == ptr_q->write_comq) in check_if_queue_empty()52 if (ptr_q->write_dataq == ptr_q->read_dataq) in check_if_queue_empty()65 struct video_queue_context *ptr_q = NULL; in queue_get_cmd() local74 ptr_q = (struct video_queue_context *)queuecontext; in queue_get_cmd()77 sem_wait(&ptr_q->sem_message); in queue_get_cmd()80 pthread_mutex_lock(&ptr_q->mutex); in queue_get_cmd()82 if (ptr_q->read_comq != ptr_q->write_comq) in queue_get_cmd()84 pitem = &ptr_q->ptr_cmdq [ptr_q->read_comq]; in queue_get_cmd()[all …]
32 struct video_queue_context *ptr_q = NULL; in check_if_queue_empty() local42 ptr_q = (struct video_queue_context *)queuecontext; in check_if_queue_empty()45 if (ptr_q->read_comq == ptr_q->write_comq) { in check_if_queue_empty()49 if (ptr_q->write_dataq == ptr_q->read_dataq) { in check_if_queue_empty()60 struct video_queue_context *ptr_q = NULL; in queue_get_cmd() local68 ptr_q = (struct video_queue_context *)queuecontext; in queue_get_cmd()71 sem_wait(&ptr_q->sem_message); in queue_get_cmd()74 pthread_mutex_lock(&ptr_q->mutex); in queue_get_cmd()76 if (ptr_q->read_comq != ptr_q->write_comq) { in queue_get_cmd()77 pitem = &ptr_q->ptr_cmdq [ptr_q->read_comq]; in queue_get_cmd()[all …]