Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/btm/
Dbtm_ble_privacy.c70 tBTM_BLE_RESOLVE_Q *p_q = &btm_cb.ble_ctr_cb.resolving_list_pend_q; in btm_ble_enq_resolving_list_pending() local
72 memcpy(p_q->resolve_q_random_pseudo[p_q->q_next], pseudo_bda, BD_ADDR_LEN); in btm_ble_enq_resolving_list_pending()
73 p_q->resolve_q_action[p_q->q_next] = op_code; in btm_ble_enq_resolving_list_pending()
74 p_q->q_next ++; in btm_ble_enq_resolving_list_pending()
75 p_q->q_next %= controller_get_interface()->get_ble_resolving_list_max_size(); in btm_ble_enq_resolving_list_pending()
92 tBTM_BLE_RESOLVE_Q *p_q = &btm_cb.ble_ctr_cb.resolving_list_pend_q; in btm_ble_brcm_find_resolving_pending_entry() local
94 for (UINT8 i = p_q->q_pending; i != p_q->q_next;) { in btm_ble_brcm_find_resolving_pending_entry()
95 if (memcmp(p_q->resolve_q_random_pseudo[i], pseudo_addr, BD_ADDR_LEN) == 0 && in btm_ble_brcm_find_resolving_pending_entry()
96 action == p_q->resolve_q_action[i]) { in btm_ble_brcm_find_resolving_pending_entry()
119 tBTM_BLE_RESOLVE_Q *p_q = &btm_cb.ble_ctr_cb.resolving_list_pend_q; in btm_ble_deq_resolving_pending() local
[all …]
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/gap/
Dgap_ble.c146 tGAP_BLE_REQ *p_q; in gap_ble_dealloc_clcb() local
148 while ((p_q = (tGAP_BLE_REQ *)fixed_queue_dequeue(p_clcb->pending_req_q, 0)) != NULL) { in gap_ble_dealloc_clcb()
150 if (p_q->p_cback != NULL) { in gap_ble_dealloc_clcb()
151 (*p_q->p_cback)(FALSE, p_clcb->bda, 0, NULL); in gap_ble_dealloc_clcb()
154 osi_free (p_q); in gap_ble_dealloc_clcb()
171 tGAP_BLE_REQ *p_q = (tGAP_BLE_REQ *)osi_malloc(sizeof(tGAP_BLE_REQ)); in gap_ble_enqueue_request() local
173 if (p_q != NULL) { in gap_ble_enqueue_request()
174 p_q->p_cback = p_cback; in gap_ble_enqueue_request()
175 p_q->uuid = uuid; in gap_ble_enqueue_request()
176 fixed_queue_enqueue(p_clcb->pending_req_q, p_q, FIXED_QUEUE_MAX_TIMEOUT); in gap_ble_enqueue_request()
[all …]
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/l2cap/
Dl2c_utils.c1284 tL2C_CCB_Q *p_q = NULL; in l2cu_enqueue_ccb() local
1289 p_q = &p_ccb->p_lcb->ccb_queue; in l2cu_enqueue_ccb()
1292 if ( (!p_ccb->in_use) || (p_q == NULL) ) { in l2cu_enqueue_ccb()
1302 if (!p_q->p_first_ccb) { in l2cu_enqueue_ccb()
1303 p_q->p_first_ccb = p_q->p_last_ccb = p_ccb; in l2cu_enqueue_ccb()
1306 p_ccb1 = p_q->p_first_ccb; in l2cu_enqueue_ccb()
1312 if (p_ccb1 == p_q->p_first_ccb) { in l2cu_enqueue_ccb()
1313 p_q->p_first_ccb = p_ccb; in l2cu_enqueue_ccb()
1330 p_q->p_last_ccb->p_next_ccb = p_ccb; in l2cu_enqueue_ccb()
1333 p_ccb->p_prev_ccb = p_q->p_last_ccb; in l2cu_enqueue_ccb()
[all …]
/hal_espressif-2.7.6/components/bt/host/bluedroid/btc/profile/std/a2dp/
Dbtc_a2dp_sink.c121 static void btc_a2dp_sink_flush_q(fixed_queue_t *p_q);
701 static void btc_a2dp_sink_flush_q(fixed_queue_t *p_q) in btc_a2dp_sink_flush_q() argument
703 while (! fixed_queue_is_empty(p_q)) { in btc_a2dp_sink_flush_q()
704 osi_free(fixed_queue_dequeue(p_q, 0)); in btc_a2dp_sink_flush_q()
Dbtc_a2dp_source.c175 static void btc_a2dp_source_flush_q(fixed_queue_t *p_q);
1561 static void btc_a2dp_source_flush_q(fixed_queue_t *p_q) in btc_a2dp_source_flush_q() argument
1563 while (! fixed_queue_is_empty(p_q)) { in btc_a2dp_source_flush_q()
1564 osi_free(fixed_queue_dequeue(p_q, 0)); in btc_a2dp_source_flush_q()