Lines Matching refs:btcoexist
19 if (!rtlpriv->btcoexist.bt_coexistence) in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
25 rtlpriv->btcoexist.cstate = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
26 rtlpriv->btcoexist.previous_state = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
27 rtlpriv->btcoexist.cstate_h = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
28 rtlpriv->btcoexist.previous_state_h = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
53 if (!rtlpriv->btcoexist.bt_coexistence) in rtl_8723e_bt_wifi_media_status_notify()
117 rtlpriv->btcoexist.cstate |= in rtl8723e_dm_bt_need_to_dec_bt_pwr()
122 rtlpriv->btcoexist.cstate &= ~BT_COEX_STATE_DEC_BT_POWER; in rtl8723e_dm_bt_need_to_dec_bt_pwr()
130 if ((rtlpriv->btcoexist.previous_state == in rtl8723e_dm_bt_is_same_coexist_state()
131 rtlpriv->btcoexist.cstate) && in rtl8723e_dm_bt_is_same_coexist_state()
132 (rtlpriv->btcoexist.previous_state_h == in rtl8723e_dm_bt_is_same_coexist_state()
133 rtlpriv->btcoexist.cstate_h)) { in rtl8723e_dm_bt_is_same_coexist_state()
171 rtlpriv->btcoexist.hw_coexist_all_off = false; in rtl8723e_dm_bt_set_hw_pta_mode()
189 rtlpriv->btcoexist.sw_coexist_all_off = false; in rtl8723e_dm_bt_set_sw_rf_rx_lpf_corner()
195 rtlpriv->btcoexist.bt_rfreg_origin_1e); in rtl8723e_dm_bt_set_sw_rf_rx_lpf_corner()
211 rtlpriv->btcoexist.sw_coexist_all_off = false; in dm_bt_set_sw_penalty_tx_rate_adapt()
282 !rtlpriv->btcoexist.bt_busy) { in rtl8723e_dm_bt_is_2_ant_common_action()
288 !rtlpriv->btcoexist.bt_busy) { in rtl8723e_dm_bt_is_2_ant_common_action()
310 } else if (rtlpriv->btcoexist.bt_busy) { in rtl8723e_dm_bt_is_2_ant_common_action()
346 rtlpriv->btcoexist.cstate |= in rtl8723e_dm_bt_is_2_ant_common_action()
367 rtlpriv->btcoexist.sw_coexist_all_off = false; in rtl8723e_dm_bt_set_sw_full_time_dac_swing()
385 rtlpriv->btcoexist.fw_coexist_all_off = false; in rtl8723e_dm_bt_set_fw_dec_bt_pwr()
403 rtlpriv->btcoexist.fw_coexist_all_off = false; in rtl8723e_dm_bt_set_fw_2_ant_hid()
464 rtlpriv->btcoexist.fw_coexist_all_off = false; in rtl8723e_dm_bt_set_fw_tdma_ctrl()
493 rtlpriv->btcoexist.fw_coexist_all_off = false; in rtl8723e_dm_bt_set_fw_ignore_wlan_act()
547 rtlpriv->btcoexist.fw_coexist_all_off = false; in rtl8723e_dm_bt_set_fw_tra_tdma_ctrl()
584 rtlpriv->btcoexist.fw_coexist_all_off = false; in rtl8723e_dm_bt_set_fw_bt_hid_info()
759 if (rtlpriv->btcoexist.hold_for_bt_operation) { in rtl8723e_dm_bt_set_bt_dm()
936 rtlpriv->btcoexist.cstate_h &= ~ in rtl8723e_dm_bt_bt_tx_rx_counter_level()
944 rtlpriv->btcoexist.cstate_h |= in rtl8723e_dm_bt_bt_tx_rx_counter_level()
950 rtlpriv->btcoexist.cstate_h |= in rtl8723e_dm_bt_bt_tx_rx_counter_level()
956 rtlpriv->btcoexist.cstate_h |= in rtl8723e_dm_bt_bt_tx_rx_counter_level()
962 rtlpriv->btcoexist.cstate_h |= in rtl8723e_dm_bt_bt_tx_rx_counter_level()
1366 rtlpriv->btcoexist.cstate |= in rtl8723e_dm_bt_inq_page_monitor()
1384 rtlpriv->btcoexist.cstate &= in rtl8723e_dm_bt_inq_page_monitor()
1394 rtlpriv->btcoexist.cstate &= ~ in rtl8723e_dm_bt_reset_action_profile_state()
1398 rtlpriv->btcoexist.cstate &= ~ in rtl8723e_dm_bt_reset_action_profile_state()
1426 rtlpriv->btcoexist.bt_profile_case = BT_COEX_MECH_COMMON; in _rtl8723e_dm_bt_coexist_2_ant()
1427 rtlpriv->btcoexist.bt_profile_action = BT_COEX_MECH_COMMON; in _rtl8723e_dm_bt_coexist_2_ant()
1434 rtlpriv->btcoexist.cstate |= in _rtl8723e_dm_bt_coexist_2_ant()
1436 rtlpriv->btcoexist.bt_profile_case = in _rtl8723e_dm_bt_coexist_2_ant()
1438 rtlpriv->btcoexist.bt_profile_action = in _rtl8723e_dm_bt_coexist_2_ant()
1445 rtlpriv->btcoexist.cstate |= in _rtl8723e_dm_bt_coexist_2_ant()
1447 rtlpriv->btcoexist.bt_profile_case = in _rtl8723e_dm_bt_coexist_2_ant()
1449 rtlpriv->btcoexist.bt_profile_action = in _rtl8723e_dm_bt_coexist_2_ant()
1455 rtlpriv->btcoexist.cstate |= in _rtl8723e_dm_bt_coexist_2_ant()
1457 rtlpriv->btcoexist.bt_profile_case = in _rtl8723e_dm_bt_coexist_2_ant()
1459 rtlpriv->btcoexist.bt_profile_action = in _rtl8723e_dm_bt_coexist_2_ant()
1538 if (rtlpriv->btcoexist.lps_counter > 1) { in rtl8723e_dm_bt_bt_hw_counters_monitor()
1539 reg_hp_tx %= rtlpriv->btcoexist.lps_counter; in rtl8723e_dm_bt_bt_hw_counters_monitor()
1540 reg_hp_rx %= rtlpriv->btcoexist.lps_counter; in rtl8723e_dm_bt_bt_hw_counters_monitor()
1541 reg_lp_tx %= rtlpriv->btcoexist.lps_counter; in rtl8723e_dm_bt_bt_hw_counters_monitor()
1542 reg_lp_rx %= rtlpriv->btcoexist.lps_counter; in rtl8723e_dm_bt_bt_hw_counters_monitor()
1556 rtlpriv->btcoexist.lps_counter = 0; in rtl8723e_dm_bt_bt_hw_counters_monitor()
1584 rtlpriv->btcoexist.bt_active_zero_cnt = 0; in rtl8723e_dm_bt_bt_enable_disable_check()
1585 rtlpriv->btcoexist.cur_bt_disabled = false; in rtl8723e_dm_bt_bt_enable_disable_check()
1589 rtlpriv->btcoexist.bt_active_zero_cnt++; in rtl8723e_dm_bt_bt_enable_disable_check()
1592 rtlpriv->btcoexist.bt_active_zero_cnt); in rtl8723e_dm_bt_bt_enable_disable_check()
1593 if (rtlpriv->btcoexist.bt_active_zero_cnt >= 2) { in rtl8723e_dm_bt_bt_enable_disable_check()
1594 rtlpriv->btcoexist.cur_bt_disabled = true; in rtl8723e_dm_bt_bt_enable_disable_check()
1599 if (rtlpriv->btcoexist.pre_bt_disabled != in rtl8723e_dm_bt_bt_enable_disable_check()
1600 rtlpriv->btcoexist.cur_bt_disabled) { in rtl8723e_dm_bt_bt_enable_disable_check()
1603 (rtlpriv->btcoexist.pre_bt_disabled ? in rtl8723e_dm_bt_bt_enable_disable_check()
1605 (rtlpriv->btcoexist.cur_bt_disabled ? in rtl8723e_dm_bt_bt_enable_disable_check()
1607 rtlpriv->btcoexist.pre_bt_disabled in rtl8723e_dm_bt_bt_enable_disable_check()
1608 = rtlpriv->btcoexist.cur_bt_disabled; in rtl8723e_dm_bt_bt_enable_disable_check()
1621 if (rtlpriv->btcoexist.bt_ant_num == ANT_X2) { in rtl8723e_dm_bt_coexist_8723()
1634 rtlpriv->btcoexist.previous_state_h, in rtl8723e_dm_bt_coexist_8723()
1635 rtlpriv->btcoexist.previous_state, in rtl8723e_dm_bt_coexist_8723()
1636 rtlpriv->btcoexist.cstate_h, in rtl8723e_dm_bt_coexist_8723()
1637 rtlpriv->btcoexist.cstate); in rtl8723e_dm_bt_coexist_8723()
1638 rtlpriv->btcoexist.previous_state in rtl8723e_dm_bt_coexist_8723()
1639 = rtlpriv->btcoexist.cstate; in rtl8723e_dm_bt_coexist_8723()
1640 rtlpriv->btcoexist.previous_state_h in rtl8723e_dm_bt_coexist_8723()
1641 = rtlpriv->btcoexist.cstate_h; in rtl8723e_dm_bt_coexist_8723()
1681 rtlpriv->btcoexist.bt_busy = true; in rtl8723e_dm_bt_parse_bt_info()
1682 rtlpriv->btcoexist.cstate &= ~BT_COEX_STATE_BT_IDLE; in rtl8723e_dm_bt_parse_bt_info()
1686 rtlpriv->btcoexist.bt_busy = false; in rtl8723e_dm_bt_parse_bt_info()
1687 rtlpriv->btcoexist.cstate |= BT_COEX_STATE_BT_IDLE; in rtl8723e_dm_bt_parse_bt_info()
1747 rtlpriv->btcoexist.btc_ops->btc_periodical(rtlpriv); in rtl_8723e_c2h_command_handle()