Lines Matching refs:btm_cb
68 tBTM_BLE_RESOLVE_Q* p_q = &btm_cb.ble_ctr_cb.resolving_list_pend_q; in btm_ble_enq_resolving_list_pending()
90 tBTM_BLE_RESOLVE_Q* p_q = &btm_cb.ble_ctr_cb.resolving_list_pend_q; 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()
146 btm_cb.ble_ctr_cb.irk_list_mask[byte] &= (~(1 << bit)); in btm_ble_clear_irk_index()
168 if ((btm_cb.ble_ctr_cb.irk_list_mask[byte] & (1 << bit)) == 0) { in btm_ble_find_irk_index()
169 btm_cb.ble_ctr_cb.irk_list_mask[byte] |= (1 << bit); in btm_ble_find_irk_index()
243 memset(btm_cb.ble_ctr_cb.irk_list_mask, 0, irk_mask_size); in btm_ble_clear_resolving_list_complete()
246 btm_cb.ble_ctr_cb.resolving_list_avail_size = in btm_ble_clear_resolving_list_complete()
250 btm_cb.ble_ctr_cb.resolving_list_avail_size); in btm_ble_clear_resolving_list_complete()
252 list_foreach(btm_cb.sec_dev_rec, clear_resolving_list_bit, NULL); in btm_ble_clear_resolving_list_complete()
283 STREAM_TO_UINT8(btm_cb.ble_ctr_cb.resolving_list_avail_size, p); in btm_ble_add_resolving_list_entry_complete()
285 btm_cb.ble_ctr_cb.resolving_list_avail_size--; in btm_ble_add_resolving_list_entry_complete()
289 btm_cb.ble_ctr_cb.resolving_list_avail_size = 0; in btm_ble_add_resolving_list_entry_complete()
322 STREAM_TO_UINT8(btm_cb.ble_ctr_cb.resolving_list_avail_size, p); in btm_ble_remove_resolving_list_entry_complete()
324 btm_cb.ble_ctr_cb.resolving_list_avail_size++; in btm_ble_remove_resolving_list_entry_complete()
510 tBTM_BLE_CB* p_ble_cb = &btm_cb.ble_ctr_cb; in btm_ble_suspend_resolving_list_activity()
554 tBTM_BLE_CB* p_ble_cb = &btm_cb.ble_ctr_cb; in btm_ble_resume_resolving_list_activity()
644 uint8_t rl_state = btm_cb.ble_ctr_cb.rl_state; in btm_ble_disable_resolving_list()
650 btm_cb.ble_ctr_cb.rl_state &= ~rl_mask; in btm_ble_disable_resolving_list()
653 btm_cb.ble_ctr_cb.rl_state == BTM_BLE_RL_IDLE) { in btm_ble_disable_resolving_list()
678 const uint8_t rl_state = btm_cb.ble_ctr_cb.rl_state; in btm_ble_resolving_list_load_dev()
688 btm_cb.ble_ctr_cb.privacy_mode); in btm_ble_resolving_list_load_dev()
715 if (btm_cb.ble_ctr_cb.resolving_list_avail_size == 0) { in btm_ble_resolving_list_load_dev()
726 const Octet16& local_irk = btm_cb.devcb.id_keys.irk; in btm_ble_resolving_list_load_dev()
783 uint8_t rl_mask = btm_cb.ble_ctr_cb.rl_state; in btm_ble_resolving_list_remove_dev()
813 uint8_t rl_state = btm_cb.ble_ctr_cb.rl_state; in btm_ble_enable_resolving_list()
815 btm_cb.ble_ctr_cb.rl_state |= rl_mask; in btm_ble_enable_resolving_list()
817 btm_cb.ble_ctr_cb.rl_state != BTM_BLE_RL_IDLE && in btm_ble_enable_resolving_list()
835 btm_cb.ble_ctr_cb.resolving_list_avail_size); in btm_ble_resolving_list_empty()
863 if (btm_cb.ble_ctr_cb.wl_state == BTM_BLE_WL_IDLE) { in btm_ble_enable_resolving_list_for_platform()
865 btm_cb.ble_ctr_cb.resolving_list_avail_size) in btm_ble_enable_resolving_list_for_platform()
872 list_node_t* n = list_foreach(btm_cb.sec_dev_rec, is_on_resolving_list, NULL); in btm_ble_enable_resolving_list_for_platform()
891 tBTM_BLE_RESOLVE_Q* p_q = &btm_cb.ble_ctr_cb.resolving_list_pend_q; in btm_ble_resolving_list_init()
901 if (btm_cb.ble_ctr_cb.irk_list_mask == NULL) in btm_ble_resolving_list_init()
902 btm_cb.ble_ctr_cb.irk_list_mask = (uint8_t*)osi_malloc(irk_mask_size); in btm_ble_resolving_list_init()
909 btm_cb.ble_ctr_cb.resolving_list_avail_size = max_irk_list_sz; in btm_ble_resolving_list_init()
924 tBTM_BLE_RESOLVE_Q* p_q = &btm_cb.ble_ctr_cb.resolving_list_pend_q; in btm_ble_resolving_list_cleanup()
931 osi_free_and_reset((void**)&btm_cb.ble_ctr_cb.irk_list_mask); in btm_ble_resolving_list_cleanup()