Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_ble_privacy.cc70 tBTM_BLE_RESOLVE_Q* p_q = &btm_cb.ble_ctr_cb.resolving_list_pend_q; in btm_ble_enq_resolving_list_pending() local
72 p_q->resolve_q_random_pseudo[p_q->q_next] = pseudo_bda; 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_t i = p_q->q_pending; i != p_q->q_next;) { in btm_ble_brcm_find_resolving_pending_entry()
95 if (p_q->resolve_q_random_pseudo[i] == pseudo_addr && in btm_ble_brcm_find_resolving_pending_entry()
96 action == p_q->resolve_q_action[i]) in btm_ble_brcm_find_resolving_pending_entry()
118 tBTM_BLE_RESOLVE_Q* p_q = &btm_cb.ble_ctr_cb.resolving_list_pend_q; in btm_ble_deq_resolving_pending() local
[all …]
/system/nfc/src/gki/common/
Dgki_buffer.cc233 void GKI_init_q(BUFFER_Q* p_q) { in GKI_init_q() argument
234 p_q->p_first = p_q->p_last = nullptr; in GKI_init_q()
235 p_q->count = 0; in GKI_init_q()
692 void GKI_enqueue(BUFFER_Q* p_q, void* p_buf) { in GKI_enqueue() argument
713 if (p_q->p_first) { in GKI_enqueue()
715 (BUFFER_HDR_T*)((uint8_t*)p_q->p_last - BUFFER_HDR_SIZE); in GKI_enqueue()
718 p_q->p_first = p_buf; in GKI_enqueue()
720 p_q->p_last = p_buf; in GKI_enqueue()
721 p_q->count++; in GKI_enqueue()
743 void GKI_enqueue_head(BUFFER_Q* p_q, void* p_buf) { in GKI_enqueue_head() argument
[all …]
/system/bt/stack/l2cap/
Dl2c_utils.cc1160 tL2C_CCB_Q* p_q = NULL; in l2cu_enqueue_ccb() local
1164 if (p_ccb->p_lcb != NULL) p_q = &p_ccb->p_lcb->ccb_queue; in l2cu_enqueue_ccb()
1166 if ((!p_ccb->in_use) || (p_q == NULL)) { in l2cu_enqueue_ccb()
1176 if (!p_q->p_first_ccb) { in l2cu_enqueue_ccb()
1177 p_q->p_first_ccb = p_q->p_last_ccb = p_ccb; in l2cu_enqueue_ccb()
1180 p_ccb1 = p_q->p_first_ccb; in l2cu_enqueue_ccb()
1187 if (p_ccb1 == p_q->p_first_ccb) in l2cu_enqueue_ccb()
1188 p_q->p_first_ccb = p_ccb; in l2cu_enqueue_ccb()
1204 p_q->p_last_ccb->p_next_ccb = p_ccb; in l2cu_enqueue_ccb()
1207 p_ccb->p_prev_ccb = p_q->p_last_ccb; in l2cu_enqueue_ccb()
[all …]