Searched refs:p_q (Results 1 - 11 of 11) sorted by relevance

/external/bluetooth/bluedroid/hci/src/
H A Dutils.c80 void utils_queue_init (BUFFER_Q *p_q) argument
82 p_q->p_first = p_q->p_last = NULL;
83 p_q->count = 0;
95 void utils_enqueue (BUFFER_Q *p_q, void *p_buf) argument
103 if (p_q->p_last)
106 (HC_BUFFER_HDR_T *)((uint8_t *)p_q->p_last - BT_HC_BUFFER_HDR_SIZE);
111 p_q->p_first = p_buf;
113 p_q->p_last = p_buf;
114 p_q
129 utils_dequeue(BUFFER_Q *p_q) argument
146 utils_dequeue_unlocked(BUFFER_Q *p_q) argument
204 utils_remove_from_queue(BUFFER_Q *p_q, void *p_buf) argument
220 utils_remove_from_queue_unlocked(BUFFER_Q *p_q, void *p_buf) argument
[all...]
/external/bluetooth/bluedroid/hci/include/
H A Dutils.h88 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/vnd/ble/
H A Dvendor_ble.c64 tBTM_BLE_IRK_Q *p_q = &btm_ble_vendor_cb.irk_pend_q; local
66 memcpy(p_q->irk_q[p_q->q_next], target_bda, BD_ADDR_LEN);
67 memcpy(p_q->irk_q_random_pseudo[p_q->q_next], psuedo_bda, BD_ADDR_LEN);
68 p_q->irk_q_action[p_q->q_next] = to_add;
70 p_q->q_next ++;
71 p_q->q_next %= btm_cb.cmn_ble_vsc_cb.max_irk_list_sz;
90 tBTM_BLE_IRK_Q *p_q local
120 tBTM_BLE_IRK_Q *p_q = &btm_ble_vendor_cb.irk_pend_q; local
[all...]
/external/bluetooth/bluedroid/gki/common/
H A Dgki_buffer.c343 void GKI_init_q (BUFFER_Q *p_q) argument
345 p_q->p_first = p_q->p_last = NULL;
346 p_q->count = 0;
740 ** Parameters: p_q - (input) pointer to a queue.
746 void GKI_enqueue (BUFFER_Q *p_q, void *p_buf) argument
769 if (p_q->p_last)
771 BUFFER_HDR_T *p_last_hdr = (BUFFER_HDR_T *)((UINT8 *)p_q->p_last - BUFFER_HDR_SIZE);
775 p_q->p_first = p_buf;
777 p_q
801 GKI_enqueue_head(BUFFER_Q *p_q, void *p_buf) argument
855 GKI_dequeue(BUFFER_Q *p_q) argument
902 GKI_remove_from_queue(BUFFER_Q *p_q, void *p_buf) argument
956 GKI_getfirst(BUFFER_Q *p_q) argument
973 GKI_getlast(BUFFER_Q *p_q) argument
1014 GKI_queue_is_empty(BUFFER_Q *p_q) argument
[all...]
H A Dgki.h119 #define GKI_IS_QUEUE_EMPTY(p_q) ((p_q)->count == 0)
/external/libnfc-nci/halimpl/bcm2079x/gki/common/
H A Dgki_buffer.c331 void GKI_init_q (BUFFER_Q *p_q) argument
333 p_q->p_first = p_q->p_last = NULL;
334 p_q->count = 0;
806 ** Parameters: p_q - (input) pointer to a queue.
812 void GKI_enqueue (BUFFER_Q *p_q, void *p_buf) argument
835 if (p_q->p_first)
837 BUFFER_HDR_T *p_last_hdr = (BUFFER_HDR_T *)((UINT8 *)p_q->p_last - BUFFER_HDR_SIZE);
841 p_q->p_first = p_buf;
843 p_q
867 GKI_enqueue_head(BUFFER_Q *p_q, void *p_buf) argument
921 GKI_dequeue(BUFFER_Q *p_q) argument
968 GKI_remove_from_queue(BUFFER_Q *p_q, void *p_buf) argument
1022 GKI_getfirst(BUFFER_Q *p_q) argument
1038 GKI_getlast(BUFFER_Q *p_q) argument
1079 GKI_queue_is_empty(BUFFER_Q *p_q) argument
[all...]
H A Dgki.h366 #define GKI_IS_QUEUE_EMPTY(p_q) ((p_q)->count == 0)
/external/libnfc-nci/src/gki/common/
H A Dgki_buffer.c331 void GKI_init_q (BUFFER_Q *p_q) argument
333 p_q->p_first = p_q->p_last = NULL;
334 p_q->count = 0;
806 ** Parameters: p_q - (input) pointer to a queue.
812 void GKI_enqueue (BUFFER_Q *p_q, void *p_buf) argument
835 if (p_q->p_first)
837 BUFFER_HDR_T *p_last_hdr = (BUFFER_HDR_T *)((UINT8 *)p_q->p_last - BUFFER_HDR_SIZE);
841 p_q->p_first = p_buf;
843 p_q
867 GKI_enqueue_head(BUFFER_Q *p_q, void *p_buf) argument
921 GKI_dequeue(BUFFER_Q *p_q) argument
968 GKI_remove_from_queue(BUFFER_Q *p_q, void *p_buf) argument
1022 GKI_getfirst(BUFFER_Q *p_q) argument
1038 GKI_getlast(BUFFER_Q *p_q) argument
1079 GKI_queue_is_empty(BUFFER_Q *p_q) argument
[all...]
H A Dgki.h369 #define GKI_IS_QUEUE_EMPTY(p_q) ((p_q)->count == 0)
/external/bluetooth/bluedroid/stack/l2cap/
H A Dl2c_utils.c1243 tL2C_CCB_Q *p_q = NULL; local
1248 p_q = &p_ccb->p_lcb->ccb_queue;
1250 if ( (!p_ccb->in_use) || (p_q == NULL) )
1261 if (!p_q->p_first_ccb)
1263 p_q->p_first_ccb = p_q->p_last_ccb = p_ccb;
1268 p_ccb1 = p_q->p_first_ccb;
1276 if (p_ccb1 == p_q->p_first_ccb)
1277 p_q->p_first_ccb = p_ccb;
1294 p_q
1334 tL2C_CCB_Q *p_q = NULL; local
[all...]
/external/bluetooth/bluedroid/btif/src/
H A Dbtif_media_task.c329 static void btif_media_flush_q(BUFFER_Q *p_q);
1468 static void btif_media_flush_q(BUFFER_Q *p_q) argument
1470 while (!GKI_queue_is_empty(p_q))
1472 GKI_freebuf(GKI_dequeue(p_q));

Completed in 1340 milliseconds