Lines Matching refs:btcoexist
40 if (!rtlpriv->btcoexist.bt_coexistence) in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
46 rtlpriv->btcoexist.cstate = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
47 rtlpriv->btcoexist.previous_state = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
48 rtlpriv->btcoexist.cstate_h = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
49 rtlpriv->btcoexist.previous_state_h = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
74 if (!rtlpriv->btcoexist.bt_coexistence) in rtl_8723e_bt_wifi_media_status_notify()
137 rtlpriv->btcoexist.cstate |= in rtl8723e_dm_bt_need_to_dec_bt_pwr()
142 rtlpriv->btcoexist.cstate &= ~BT_COEX_STATE_DEC_BT_POWER; in rtl8723e_dm_bt_need_to_dec_bt_pwr()
150 if ((rtlpriv->btcoexist.previous_state == in rtl8723e_dm_bt_is_same_coexist_state()
151 rtlpriv->btcoexist.cstate) && in rtl8723e_dm_bt_is_same_coexist_state()
152 (rtlpriv->btcoexist.previous_state_h == in rtl8723e_dm_bt_is_same_coexist_state()
153 rtlpriv->btcoexist.cstate_h)) { in rtl8723e_dm_bt_is_same_coexist_state()
191 rtlpriv->btcoexist.hw_coexist_all_off = false; in rtl8723e_dm_bt_set_hw_pta_mode()
209 rtlpriv->btcoexist.sw_coexist_all_off = false; in rtl8723e_dm_bt_set_sw_rf_rx_lpf_corner()
215 rtlpriv->btcoexist.bt_rfreg_origin_1e); in rtl8723e_dm_bt_set_sw_rf_rx_lpf_corner()
231 rtlpriv->btcoexist.sw_coexist_all_off = false; in dm_bt_set_sw_penalty_tx_rate_adapt()
302 !rtlpriv->btcoexist.bt_busy) { in rtl8723e_dm_bt_is_2_ant_common_action()
308 !rtlpriv->btcoexist.bt_busy) { in rtl8723e_dm_bt_is_2_ant_common_action()
330 } else if (rtlpriv->btcoexist.bt_busy) { in rtl8723e_dm_bt_is_2_ant_common_action()
366 rtlpriv->btcoexist.cstate |= in rtl8723e_dm_bt_is_2_ant_common_action()
387 rtlpriv->btcoexist.sw_coexist_all_off = false; in rtl8723e_dm_bt_set_sw_full_time_dac_swing()
405 rtlpriv->btcoexist.fw_coexist_all_off = false; in rtl8723e_dm_bt_set_fw_dec_bt_pwr()
423 rtlpriv->btcoexist.fw_coexist_all_off = false; in rtl8723e_dm_bt_set_fw_2_ant_hid()
484 rtlpriv->btcoexist.fw_coexist_all_off = false; in rtl8723e_dm_bt_set_fw_tdma_ctrl()
513 rtlpriv->btcoexist.fw_coexist_all_off = false; in rtl8723e_dm_bt_set_fw_ignore_wlan_act()
567 rtlpriv->btcoexist.fw_coexist_all_off = false; in rtl8723e_dm_bt_set_fw_tra_tdma_ctrl()
604 rtlpriv->btcoexist.fw_coexist_all_off = false; in rtl8723e_dm_bt_set_fw_bt_hid_info()
779 if (rtlpriv->btcoexist.hold_for_bt_operation) { in rtl8723e_dm_bt_set_bt_dm()
956 rtlpriv->btcoexist.cstate_h &= ~ in rtl8723e_dm_bt_bt_tx_rx_counter_level()
964 rtlpriv->btcoexist.cstate_h |= in rtl8723e_dm_bt_bt_tx_rx_counter_level()
970 rtlpriv->btcoexist.cstate_h |= in rtl8723e_dm_bt_bt_tx_rx_counter_level()
976 rtlpriv->btcoexist.cstate_h |= in rtl8723e_dm_bt_bt_tx_rx_counter_level()
982 rtlpriv->btcoexist.cstate_h |= in rtl8723e_dm_bt_bt_tx_rx_counter_level()
1387 rtlpriv->btcoexist.cstate |= in rtl8723e_dm_bt_inq_page_monitor()
1406 rtlpriv->btcoexist.cstate &= in rtl8723e_dm_bt_inq_page_monitor()
1416 rtlpriv->btcoexist.cstate &= ~ in rtl8723e_dm_bt_reset_action_profile_state()
1420 rtlpriv->btcoexist.cstate &= ~ in rtl8723e_dm_bt_reset_action_profile_state()
1450 rtlpriv->btcoexist.bt_profile_case = BT_COEX_MECH_COMMON; in _rtl8723e_dm_bt_coexist_2_ant()
1451 rtlpriv->btcoexist.bt_profile_action = BT_COEX_MECH_COMMON; in _rtl8723e_dm_bt_coexist_2_ant()
1458 rtlpriv->btcoexist.cstate |= in _rtl8723e_dm_bt_coexist_2_ant()
1460 rtlpriv->btcoexist.bt_profile_case = in _rtl8723e_dm_bt_coexist_2_ant()
1462 rtlpriv->btcoexist.bt_profile_action = in _rtl8723e_dm_bt_coexist_2_ant()
1469 rtlpriv->btcoexist.cstate |= in _rtl8723e_dm_bt_coexist_2_ant()
1471 rtlpriv->btcoexist.bt_profile_case = in _rtl8723e_dm_bt_coexist_2_ant()
1473 rtlpriv->btcoexist.bt_profile_action = in _rtl8723e_dm_bt_coexist_2_ant()
1479 rtlpriv->btcoexist.cstate |= in _rtl8723e_dm_bt_coexist_2_ant()
1481 rtlpriv->btcoexist.bt_profile_case = in _rtl8723e_dm_bt_coexist_2_ant()
1483 rtlpriv->btcoexist.bt_profile_action = in _rtl8723e_dm_bt_coexist_2_ant()
1562 if (rtlpriv->btcoexist.lps_counter > 1) { in rtl8723e_dm_bt_bt_hw_counters_monitor()
1563 reg_hp_tx %= rtlpriv->btcoexist.lps_counter; in rtl8723e_dm_bt_bt_hw_counters_monitor()
1564 reg_hp_rx %= rtlpriv->btcoexist.lps_counter; in rtl8723e_dm_bt_bt_hw_counters_monitor()
1565 reg_lp_tx %= rtlpriv->btcoexist.lps_counter; in rtl8723e_dm_bt_bt_hw_counters_monitor()
1566 reg_lp_rx %= rtlpriv->btcoexist.lps_counter; in rtl8723e_dm_bt_bt_hw_counters_monitor()
1580 rtlpriv->btcoexist.lps_counter = 0; in rtl8723e_dm_bt_bt_hw_counters_monitor()
1608 rtlpriv->btcoexist.bt_active_zero_cnt = 0; in rtl8723e_dm_bt_bt_enable_disable_check()
1609 rtlpriv->btcoexist.cur_bt_disabled = false; in rtl8723e_dm_bt_bt_enable_disable_check()
1613 rtlpriv->btcoexist.bt_active_zero_cnt++; in rtl8723e_dm_bt_bt_enable_disable_check()
1616 rtlpriv->btcoexist.bt_active_zero_cnt); in rtl8723e_dm_bt_bt_enable_disable_check()
1617 if (rtlpriv->btcoexist.bt_active_zero_cnt >= 2) { in rtl8723e_dm_bt_bt_enable_disable_check()
1618 rtlpriv->btcoexist.cur_bt_disabled = true; in rtl8723e_dm_bt_bt_enable_disable_check()
1623 if (rtlpriv->btcoexist.pre_bt_disabled != in rtl8723e_dm_bt_bt_enable_disable_check()
1624 rtlpriv->btcoexist.cur_bt_disabled) { in rtl8723e_dm_bt_bt_enable_disable_check()
1627 (rtlpriv->btcoexist.pre_bt_disabled ? in rtl8723e_dm_bt_bt_enable_disable_check()
1629 (rtlpriv->btcoexist.cur_bt_disabled ? in rtl8723e_dm_bt_bt_enable_disable_check()
1631 rtlpriv->btcoexist.pre_bt_disabled in rtl8723e_dm_bt_bt_enable_disable_check()
1632 = rtlpriv->btcoexist.cur_bt_disabled; in rtl8723e_dm_bt_bt_enable_disable_check()
1645 if (rtlpriv->btcoexist.bt_ant_num == ANT_X2) { in rtl8723e_dm_bt_coexist_8723()
1658 rtlpriv->btcoexist.previous_state_h, in rtl8723e_dm_bt_coexist_8723()
1659 rtlpriv->btcoexist.previous_state, in rtl8723e_dm_bt_coexist_8723()
1660 rtlpriv->btcoexist.cstate_h, in rtl8723e_dm_bt_coexist_8723()
1661 rtlpriv->btcoexist.cstate); in rtl8723e_dm_bt_coexist_8723()
1662 rtlpriv->btcoexist.previous_state in rtl8723e_dm_bt_coexist_8723()
1663 = rtlpriv->btcoexist.cstate; in rtl8723e_dm_bt_coexist_8723()
1664 rtlpriv->btcoexist.previous_state_h in rtl8723e_dm_bt_coexist_8723()
1665 = rtlpriv->btcoexist.cstate_h; in rtl8723e_dm_bt_coexist_8723()
1705 rtlpriv->btcoexist.bt_busy = true; in rtl8723e_dm_bt_parse_bt_info()
1706 rtlpriv->btcoexist.cstate &= ~BT_COEX_STATE_BT_IDLE; in rtl8723e_dm_bt_parse_bt_info()
1710 rtlpriv->btcoexist.bt_busy = false; in rtl8723e_dm_bt_parse_bt_info()
1711 rtlpriv->btcoexist.cstate |= BT_COEX_STATE_BT_IDLE; in rtl8723e_dm_bt_parse_bt_info()
1771 rtlpriv->btcoexist.btc_ops->btc_periodical(rtlpriv); in rtl_8723e_c2h_command_handle()