Searched refs:p_q (Results 1 - 10 of 10) sorted by relevance
/external/bluetooth/bluedroid/hci/src/ |
H A D | utils.c | 79 void utils_queue_init (BUFFER_Q *p_q) argument 81 p_q->p_first = p_q->p_last = NULL; 82 p_q->count = 0; 94 void utils_enqueue (BUFFER_Q *p_q, void *p_buf) argument 102 if (p_q->p_last) 105 (HC_BUFFER_HDR_T *)((uint8_t *)p_q->p_last - BT_HC_BUFFER_HDR_SIZE); 110 p_q->p_first = p_buf; 112 p_q->p_last = p_buf; 113 p_q 128 utils_dequeue(BUFFER_Q *p_q) argument 145 utils_dequeue_unlocked(BUFFER_Q *p_q) argument 203 utils_remove_from_queue(BUFFER_Q *p_q, void *p_buf) argument 219 utils_remove_from_queue_unlocked(BUFFER_Q *p_q, void *p_buf) argument [all...] |
/external/bluetooth/bluedroid/hci/include/ |
H A D | utils.h | 88 void utils_queue_init (BUFFER_Q *p_q); 99 void utils_enqueue (BUFFER_Q *p_q, void *p_buf); 110 void *utils_dequeue (BUFFER_Q *p_q); 121 void *utils_dequeue_unlocked (BUFFER_Q *p_q); 144 void *utils_remove_from_queue (BUFFER_Q *p_q, void *p_buf); 155 void *utils_remove_from_queue_unlocked (BUFFER_Q *p_q, void *p_buf);
|
/external/bluetooth/bluedroid/gki/common/ |
H A D | gki_buffer.c | 343 void GKI_init_q (BUFFER_Q *p_q) argument 345 p_q->p_first = p_q->p_last = NULL; 346 p_q->count = 0; 737 ** Parameters: p_q - (input) pointer to a queue. 743 void GKI_enqueue (BUFFER_Q *p_q, void *p_buf) argument 766 if (p_q->p_last) 768 BUFFER_HDR_T *p_last_hdr = (BUFFER_HDR_T *)((UINT8 *)p_q->p_last - BUFFER_HDR_SIZE); 772 p_q->p_first = p_buf; 774 p_q 798 GKI_enqueue_head(BUFFER_Q *p_q, void *p_buf) argument 852 GKI_dequeue(BUFFER_Q *p_q) argument 899 GKI_remove_from_queue(BUFFER_Q *p_q, void *p_buf) argument 953 GKI_getfirst(BUFFER_Q *p_q) argument 970 GKI_getlast(BUFFER_Q *p_q) argument 1011 GKI_queue_is_empty(BUFFER_Q *p_q) argument [all...] |
H A D | gki.h | 351 #define GKI_IS_QUEUE_EMPTY(p_q) ((p_q)->count == 0)
|
/external/libnfc-nci/halimpl/bcm2079x/gki/common/ |
H A D | gki_buffer.c | 331 void GKI_init_q (BUFFER_Q *p_q) argument 333 p_q->p_first = p_q->p_last = NULL; 334 p_q->count = 0; 804 ** Parameters: p_q - (input) pointer to a queue. 810 void GKI_enqueue (BUFFER_Q *p_q, void *p_buf) argument 833 if (p_q->p_first) 835 BUFFER_HDR_T *p_last_hdr = (BUFFER_HDR_T *)((UINT8 *)p_q->p_last - BUFFER_HDR_SIZE); 839 p_q->p_first = p_buf; 841 p_q 865 GKI_enqueue_head(BUFFER_Q *p_q, void *p_buf) argument 919 GKI_dequeue(BUFFER_Q *p_q) argument 966 GKI_remove_from_queue(BUFFER_Q *p_q, void *p_buf) argument 1020 GKI_getfirst(BUFFER_Q *p_q) argument 1036 GKI_getlast(BUFFER_Q *p_q) argument 1077 GKI_queue_is_empty(BUFFER_Q *p_q) argument [all...] |
H A D | gki.h | 366 #define GKI_IS_QUEUE_EMPTY(p_q) ((p_q)->count == 0)
|
/external/libnfc-nci/src/gki/common/ |
H A D | gki_buffer.c | 331 void GKI_init_q (BUFFER_Q *p_q) argument 333 p_q->p_first = p_q->p_last = NULL; 334 p_q->count = 0; 804 ** Parameters: p_q - (input) pointer to a queue. 810 void GKI_enqueue (BUFFER_Q *p_q, void *p_buf) argument 833 if (p_q->p_first) 835 BUFFER_HDR_T *p_last_hdr = (BUFFER_HDR_T *)((UINT8 *)p_q->p_last - BUFFER_HDR_SIZE); 839 p_q->p_first = p_buf; 841 p_q 865 GKI_enqueue_head(BUFFER_Q *p_q, void *p_buf) argument 919 GKI_dequeue(BUFFER_Q *p_q) argument 966 GKI_remove_from_queue(BUFFER_Q *p_q, void *p_buf) argument 1020 GKI_getfirst(BUFFER_Q *p_q) argument 1036 GKI_getlast(BUFFER_Q *p_q) argument 1077 GKI_queue_is_empty(BUFFER_Q *p_q) argument [all...] |
H A D | gki.h | 369 #define GKI_IS_QUEUE_EMPTY(p_q) ((p_q)->count == 0)
|
/external/bluetooth/bluedroid/stack/l2cap/ |
H A D | l2c_utils.c | 1125 tL2C_CCB_Q *p_q = NULL; local 1130 p_q = &p_ccb->p_lcb->ccb_queue; 1132 if ( (!p_ccb->in_use) || (p_q == NULL) ) 1143 if (!p_q->p_first_ccb) 1145 p_q->p_first_ccb = p_q->p_last_ccb = p_ccb; 1150 p_ccb1 = p_q->p_first_ccb; 1158 if (p_ccb1 == p_q->p_first_ccb) 1159 p_q->p_first_ccb = p_ccb; 1176 p_q 1216 tL2C_CCB_Q *p_q = NULL; local [all...] |
/external/bluetooth/bluedroid/btif/src/ |
H A D | btif_media_task.c | 1188 static void btif_media_flush_q(BUFFER_Q *p_q) argument 1190 while (GKI_IS_QUEUE_EMPTY(p_q) == FALSE) 1192 GKI_freebuf(GKI_dequeue(p_q));
|
Completed in 162 milliseconds