Searched refs:bta_sys_cb (Results 1 – 3 of 3) sorted by relevance
45 bta_sys_cb.prm_cb = p_cback; in bta_sys_rm_register()59 bta_sys_cb.p_policy_cb = p_cback; in bta_sys_policy_register()73 bta_sys_cb.p_role_cb = p_cback; in bta_sys_role_chg_register()87 bta_sys_cb.p_ssr_cb = p_cback; in bta_sys_ssr_cfg_register()104 if (bta_sys_cb.p_role_cb) { in bta_sys_notify_role_chg()105 bta_sys_cb.p_role_cb(BTA_SYS_ROLE_CHANGE, new_role, hci_status, peer_addr); in bta_sys_notify_role_chg()123 if ((bta_sys_cb.colli_reg.id[index] == bta_id) || in bta_sys_collision_register()124 (bta_sys_cb.colli_reg.id[index] == 0)) { in bta_sys_collision_register()125 bta_sys_cb.colli_reg.id[index] = bta_id; in bta_sys_collision_register()126 bta_sys_cb.colli_reg.p_coll_cback[index] = p_cback; in bta_sys_collision_register()[all …]
48 tBTA_SYS_CB bta_sys_cb; variable175 memset(&bta_sys_cb, 0, sizeof(tBTA_SYS_CB)); in bta_sys_init()209 APPL_TRACE_EVENT("bta_sys_sm_execute state:%d, event:0x%x", bta_sys_cb.state, in bta_sys_sm_execute()213 state_table = bta_sys_st_tbl[bta_sys_cb.state]; in bta_sys_sm_execute()215 bta_sys_cb.state = state_table[p_msg->event & 0x00ff][BTA_SYS_NEXT_STATE]; in bta_sys_sm_execute()230 bta_sys_cb.sys_hw_cback[module] = cback; in bta_sys_hw_register()234 bta_sys_cb.sys_hw_cback[module] = NULL; in bta_sys_hw_unregister()285 if (bta_sys_cb.sys_hw_module_active & ((uint32_t)1 << module_index)) { in bta_sys_hw_error()289 if (bta_sys_cb.sys_hw_cback[module_index] != NULL) in bta_sys_hw_error()290 bta_sys_cb.sys_hw_cback[module_index](BTA_SYS_HW_ERROR_EVT); in bta_sys_hw_error()[all …]
88 extern tBTA_SYS_CB bta_sys_cb;