Home
last modified time | relevance | path

Searched refs:btcoex (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.4/drivers/net/wireless/ath/ath9k/
Dgpio.c144 struct ath_btcoex *btcoex = &sc->btcoex; in ath_detect_bt_priority() local
148 btcoex->bt_priority_cnt++; in ath_detect_bt_priority()
150 if (time_after(jiffies, btcoex->bt_priority_time + in ath_detect_bt_priority()
152 clear_bit(BT_OP_PRIORITY_DETECTED, &btcoex->op_flags); in ath_detect_bt_priority()
153 clear_bit(BT_OP_SCAN, &btcoex->op_flags); in ath_detect_bt_priority()
155 if (btcoex->bt_priority_cnt >= ATH_BT_CNT_SCAN_THRESHOLD) { in ath_detect_bt_priority()
158 set_bit(BT_OP_PRIORITY_DETECTED, &btcoex->op_flags); in ath_detect_bt_priority()
159 set_bit(BT_OP_SCAN, &btcoex->op_flags); in ath_detect_bt_priority()
160 } else if (btcoex->bt_priority_cnt >= ATH_BT_CNT_THRESHOLD) { in ath_detect_bt_priority()
163 set_bit(BT_OP_PRIORITY_DETECTED, &btcoex->op_flags); in ath_detect_bt_priority()
[all …]
Dhtc_drv_gpio.c32 struct ath_btcoex *btcoex = &priv->btcoex; in ath_detect_bt_priority() local
36 btcoex->bt_priority_cnt++; in ath_detect_bt_priority()
38 if (time_after(jiffies, btcoex->bt_priority_time + in ath_detect_bt_priority()
43 if (btcoex->bt_priority_cnt >= ATH_BT_CNT_SCAN_THRESHOLD) { in ath_detect_bt_priority()
48 } else if (btcoex->bt_priority_cnt >= ATH_BT_CNT_THRESHOLD) { in ath_detect_bt_priority()
54 btcoex->bt_priority_cnt = 0; in ath_detect_bt_priority()
55 btcoex->bt_priority_time = jiffies; in ath_detect_bt_priority()
68 struct ath_btcoex *btcoex = &priv->btcoex; in ath_btcoex_period_work() local
83 ATH_BTCOEX_STOMP_ALL : btcoex->bt_stomp_type); in ath_btcoex_period_work()
87 btcoex->btscan_no_stomp : btcoex->btcoex_no_stomp; in ath_btcoex_period_work()
[all …]
Dmci.c102 static void ath_mci_adjust_aggr_limit(struct ath_btcoex *btcoex) in ath_mci_adjust_aggr_limit() argument
104 struct ath_mci_profile *mci = &btcoex->mci; in ath_mci_adjust_aggr_limit()
105 u32 wlan_airtime = btcoex->btcoex_period * in ath_mci_adjust_aggr_limit()
106 (100 - btcoex->duty_cycle) / 100; in ath_mci_adjust_aggr_limit()
122 struct ath_btcoex *btcoex = &sc->btcoex; in ath_mci_update_scheme() local
123 struct ath_mci_profile *mci = &btcoex->mci; in ath_mci_update_scheme()
132 btcoex->duty_cycle = ath_mci_duty_cycle[num_profile]; in ath_mci_update_scheme()
133 btcoex->btcoex_period = ATH_MCI_DEF_BT_PERIOD; in ath_mci_update_scheme()
135 btcoex->bt_stomp_type = ATH_BTCOEX_STOMP_LOW; in ath_mci_update_scheme()
137 btcoex->bt_stomp_type = mci->num_mgmt ? ATH_BTCOEX_STOMP_ALL : in ath_mci_update_scheme()
[all …]
Dbtcoex.c322 struct ath_btcoex_hw *btcoex = &ah->btcoex_hw; in ath9k_hw_btcoex_enable_3wire() local
333 REG_WRITE(ah, AR_BT_COEX_MODE, btcoex->bt_coex_mode); in ath9k_hw_btcoex_enable_3wire()
334 REG_WRITE(ah, AR_BT_COEX_MODE2, btcoex->bt_coex_mode2); in ath9k_hw_btcoex_enable_3wire()
337 REG_WRITE(ah, AR_BT_COEX_MODE3, btcoex->bt_coex_mode3); in ath9k_hw_btcoex_enable_3wire()
340 REG_WRITE(ah, AR_BT_COEX_WL_WEIGHTS0, btcoex->wlan_weight[0]); in ath9k_hw_btcoex_enable_3wire()
341 REG_WRITE(ah, AR_BT_COEX_WL_WEIGHTS1, btcoex->wlan_weight[1]); in ath9k_hw_btcoex_enable_3wire()
344 btcoex->bt_weight[i]); in ath9k_hw_btcoex_enable_3wire()
346 REG_WRITE(ah, AR_BT_COEX_WEIGHT, btcoex->bt_coex_weights); in ath9k_hw_btcoex_enable_3wire()
357 ath9k_hw_gpio_request_out(ah, btcoex->wlanactive_gpio, in ath9k_hw_btcoex_enable_3wire()
364 struct ath_btcoex_hw *btcoex = &ah->btcoex_hw; in ath9k_hw_btcoex_enable_mci() local
[all …]
Dar9002_phy.c418 struct ath_btcoex_hw *btcoex = &ah->btcoex_hw; in ar9002_hw_set_bt_ant_diversity() local
429 btcoex->bt_coex_mode2 &= (~(AR_BT_DISABLE_BT_ANT)); in ar9002_hw_set_bt_ant_diversity()
430 REG_WRITE(ah, AR_BT_COEX_MODE2, btcoex->bt_coex_mode2); in ar9002_hw_set_bt_ant_diversity()
444 btcoex->bt_coex_mode2 |= AR_BT_DISABLE_BT_ANT; in ar9002_hw_set_bt_ant_diversity()
445 REG_WRITE(ah, AR_BT_COEX_MODE2, btcoex->bt_coex_mode2); in ar9002_hw_set_bt_ant_diversity()
DMakefile50 ath9k_hw-$(CONFIG_ATH9K_BTCOEX_SUPPORT) += btcoex.o \
Dhtc.h525 struct ath_btcoex btcoex; member
Dath9k.h1048 struct ath_btcoex btcoex; member
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dbtcoex.c379 cfg->btcoex = btci; in brcmf_btcoex_attach()
391 if (!cfg->btcoex) in brcmf_btcoex_detach()
394 if (cfg->btcoex->timer_on) { in brcmf_btcoex_detach()
395 cfg->btcoex->timer_on = false; in brcmf_btcoex_detach()
396 del_timer_sync(&cfg->btcoex->timer); in brcmf_btcoex_detach()
399 cancel_work_sync(&cfg->btcoex->work); in brcmf_btcoex_detach()
401 brcmf_btcoex_boost_wifi(cfg->btcoex, false); in brcmf_btcoex_detach()
402 brcmf_btcoex_restore_part1(cfg->btcoex); in brcmf_btcoex_detach()
404 kfree(cfg->btcoex); in brcmf_btcoex_detach()
405 cfg->btcoex = NULL; in brcmf_btcoex_detach()
[all …]
DMakefile24 btcoex.o \
Dcfg80211.h297 struct brcmf_btcoex_info *btcoex; member
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtc8821a1ant.c1309 static void btc8821a1ant_ps_tdma_check_for_pwr_save(struct btc_coexist *btcoex, in btc8821a1ant_ps_tdma_check_for_pwr_save() argument
1314 btcoex->btc_get(btcoex, BTC_GET_U1_LPS_MODE, &lps_mode); in btc8821a1ant_ps_tdma_check_for_pwr_save()
1322 btc8821a1ant_ps_tdma(btcoex, NORMAL_EXEC, false, 0); in btc8821a1ant_ps_tdma_check_for_pwr_save()
1328 btc8821a1ant_ps_tdma(btcoex, NORMAL_EXEC, false, 0); in btc8821a1ant_ps_tdma_check_for_pwr_save()
Dhalbtc8821a2ant.c961 static void btc8821a2ant_set_fw_ignore_wlan_act(struct btc_coexist *btcoex, in btc8821a2ant_set_fw_ignore_wlan_act() argument
964 struct rtl_priv *rtlpriv = btcoex->adapter; in btc8821a2ant_set_fw_ignore_wlan_act()
974 btcoex->btc_fill_h2c(btcoex, 0x63, 1, h2c_parameter); in btc8821a2ant_set_fw_ignore_wlan_act()
Dhalbtc8723b2ant.c805 static void btc8723b2ant_set_sw_fulltime_dac_swing(struct btc_coexist *btcoex, in btc8723b2ant_set_sw_fulltime_dac_swing() argument
810 btc8723b2ant_set_dac_swing_reg(btcoex, sw_dac_swing_lvl); in btc8723b2ant_set_sw_fulltime_dac_swing()
812 btc8723b2ant_set_dac_swing_reg(btcoex, 0x18); in btc8723b2ant_set_sw_fulltime_dac_swing()
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/
Ddebug.c507 RTL_DEBUGFS_ADD(btcoex); in rtl_debug_add_one()
/Linux-v5.4/drivers/staging/rtl8723bs/include/
Ddrv_types.h161 u8 btcoex; member
/Linux-v5.4/drivers/net/wireless/realtek/rtw88/
Dmain.c711 wifi_only = !rtwdev->efuse.btcoex; in rtw_power_on()
1083 efuse->btcoex = (efuse->rf_board_option & 0xe0) == 0x20; in rtw_chip_efuse_info_setup()
Dmain.h1192 bool btcoex; member
/Linux-v5.4/drivers/staging/rtl8723bs/os_dep/
Dos_intfs.c294 registry_par->btcoex = (u8)rtw_btcoex_enable; in loadparam()
/Linux-v5.4/drivers/net/wireless/broadcom/b43/
Dmain.c101 module_param_named(btcoex, modparam_btcoex, int, 0444);
102 MODULE_PARM_DESC(btcoex, "Enable Bluetooth coexistence (default on)");