Home
last modified time | relevance | path

Searched refs:p_q (Results 1 – 4 of 4) sorted by relevance

/system/bt/stack/btm/
Dbtm_ble_privacy.c67 tBTM_BLE_RESOLVE_Q *p_q = &btm_cb.ble_ctr_cb.resolving_list_pend_q; in btm_ble_enq_resolving_list_pending() local
69 memcpy(p_q->resolve_q_random_pseudo[p_q->q_next], pseudo_bda, BD_ADDR_LEN); in btm_ble_enq_resolving_list_pending()
70 p_q->resolve_q_action[p_q->q_next] = op_code; in btm_ble_enq_resolving_list_pending()
71 p_q->q_next ++; in btm_ble_enq_resolving_list_pending()
72 p_q->q_next %= controller_get_interface()->get_ble_resolving_list_max_size(); in btm_ble_enq_resolving_list_pending()
89 tBTM_BLE_RESOLVE_Q *p_q = &btm_cb.ble_ctr_cb.resolving_list_pend_q; in btm_ble_brcm_find_resolving_pending_entry() local
91 for (UINT8 i = p_q->q_pending; i != p_q->q_next;) in btm_ble_brcm_find_resolving_pending_entry()
93 if (memcmp(p_q->resolve_q_random_pseudo[i], pseudo_addr, BD_ADDR_LEN) == 0 && in btm_ble_brcm_find_resolving_pending_entry()
94 action == p_q->resolve_q_action[i]) in btm_ble_brcm_find_resolving_pending_entry()
116 tBTM_BLE_RESOLVE_Q *p_q = &btm_cb.ble_ctr_cb.resolving_list_pend_q; in btm_ble_deq_resolving_pending() local
[all …]
/system/bt/stack/gap/
Dgap_ble.c153 tGAP_BLE_REQ *p_q; in gap_ble_dealloc_clcb() local
155 while ((p_q = (tGAP_BLE_REQ *)fixed_queue_try_dequeue(p_clcb->pending_req_q)) != NULL) in gap_ble_dealloc_clcb()
158 if (p_q->p_cback != NULL) in gap_ble_dealloc_clcb()
159 (*p_q->p_cback)(FALSE, p_clcb->bda, 0, NULL); in gap_ble_dealloc_clcb()
161 osi_free(p_q); in gap_ble_dealloc_clcb()
179 tGAP_BLE_REQ *p_q = (tGAP_BLE_REQ *)osi_malloc(sizeof(tGAP_BLE_REQ)); in gap_ble_enqueue_request() local
181 p_q->p_cback = p_cback; in gap_ble_enqueue_request()
182 p_q->uuid = uuid; in gap_ble_enqueue_request()
183 fixed_queue_enqueue(p_clcb->pending_req_q, p_q); in gap_ble_enqueue_request()
199 tGAP_BLE_REQ *p_q = (tGAP_BLE_REQ *)fixed_queue_try_dequeue(p_clcb->pending_req_q);; in gap_ble_dequeue_request() local
[all …]
/system/bt/stack/l2cap/
Dl2c_utils.c1260 tL2C_CCB_Q *p_q = NULL; in l2cu_enqueue_ccb() local
1265 p_q = &p_ccb->p_lcb->ccb_queue; in l2cu_enqueue_ccb()
1267 if ( (!p_ccb->in_use) || (p_q == NULL) ) in l2cu_enqueue_ccb()
1278 if (!p_q->p_first_ccb) in l2cu_enqueue_ccb()
1280 p_q->p_first_ccb = p_q->p_last_ccb = p_ccb; in l2cu_enqueue_ccb()
1285 p_ccb1 = p_q->p_first_ccb; in l2cu_enqueue_ccb()
1293 if (p_ccb1 == p_q->p_first_ccb) in l2cu_enqueue_ccb()
1294 p_q->p_first_ccb = p_ccb; in l2cu_enqueue_ccb()
1311 p_q->p_last_ccb->p_next_ccb = p_ccb; in l2cu_enqueue_ccb()
1314 p_ccb->p_prev_ccb = p_q->p_last_ccb; in l2cu_enqueue_ccb()
[all …]
/system/bt/btif/src/
Dbtif_media_task.c367 static void btif_media_flush_q(fixed_queue_t *p_q);
1472 static void btif_media_flush_q(fixed_queue_t *p_q) in btif_media_flush_q() argument
1474 while (! fixed_queue_is_empty(p_q)) in btif_media_flush_q()
1476 osi_free(fixed_queue_try_dequeue(p_q)); in btif_media_flush_q()