/external/bluetooth/bluedroid/hci/src/ |
utils.c | 80 void utils_queue_init (BUFFER_Q *p_q) 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) 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->count++ [all...] |
/external/bluetooth/bluedroid/hci/include/ |
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/vnd/ble/ |
vendor_ble.c | 64 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 = &btm_ble_vendor_cb.irk_pend_q local 120 tBTM_BLE_IRK_Q *p_q = &btm_ble_vendor_cb.irk_pend_q; local [all...] |
/external/bluetooth/bluedroid/gki/common/ |
gki_buffer.c | 343 void GKI_init_q (BUFFER_Q *p_q) 345 p_q->p_first = p_q->p_last = NULL; 346 p_q->count = 0; 746 ** Parameters: p_q - (input) pointer to a queue. 752 void GKI_enqueue (BUFFER_Q *p_q, void *p_buf) 775 if (p_q->p_last) 777 BUFFER_HDR_T *p_last_hdr = (BUFFER_HDR_T *)((UINT8 *)p_q->p_last - BUFFER_HDR_SIZE); 781 p_q->p_first = p_buf; 783 p_q->p_last = p_buf [all...] |
gki.h | 119 #define GKI_IS_QUEUE_EMPTY(p_q) ((p_q)->count == 0)
|
/external/libnfc-nci/halimpl/bcm2079x/gki/common/ |
gki_buffer.c | 331 void GKI_init_q (BUFFER_Q *p_q) 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) 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->p_last = p_buf [all...] |
gki.h | 366 #define GKI_IS_QUEUE_EMPTY(p_q) ((p_q)->count == 0)
|
/external/libnfc-nci/src/gki/common/ |
gki_buffer.c | 331 void GKI_init_q (BUFFER_Q *p_q) 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) 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->p_last = p_buf [all...] |
gki.h | 369 #define GKI_IS_QUEUE_EMPTY(p_q) ((p_q)->count == 0)
|
/external/bluetooth/bluedroid/stack/l2cap/ |
l2c_utils.c | 1243 tL2C_CCB_Q *p_q = NULL; local 1334 tL2C_CCB_Q *p_q = NULL; local [all...] |
/external/bluetooth/bluedroid/btif/src/ |
btif_media_task.c | 326 static void btif_media_flush_q(BUFFER_Q *p_q); [all...] |