Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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()
H A DMakefile50 ath9k_hw-$(CONFIG_ATH9K_BTCOEX_SUPPORT) += btcoex.o \
H A Dhtc.h531 struct ath_btcoex btcoex; member
H A Dath9k.h1049 struct ath_btcoex btcoex; member
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dbtcoex.c380 cfg->btcoex = btci; in brcmf_btcoex_attach()
392 if (!cfg->btcoex) in brcmf_btcoex_detach()
395 if (cfg->btcoex->timer_on) { in brcmf_btcoex_detach()
396 cfg->btcoex->timer_on = false; in brcmf_btcoex_detach()
397 timer_shutdown_sync(&cfg->btcoex->timer); in brcmf_btcoex_detach()
400 cancel_work_sync(&cfg->btcoex->work); in brcmf_btcoex_detach()
402 brcmf_btcoex_boost_wifi(cfg->btcoex, false); in brcmf_btcoex_detach()
403 brcmf_btcoex_restore_part1(cfg->btcoex); in brcmf_btcoex_detach()
405 kfree(cfg->btcoex); in brcmf_btcoex_detach()
406 cfg->btcoex = NULL; in brcmf_btcoex_detach()
[all …]
H A DMakefile25 btcoex.o \
H A Dcfg80211.h346 struct brcmf_btcoex_info *btcoex; member
/openbmc/linux/drivers/net/wireless/realtek/rtl8xxxu/
H A Drtl8xxxu_core.c5963 struct rtl8xxxu_btcoex *btcoex = &priv->bt_coex; in rtl8723bu_update_bt_link_info() local
5966 btcoex->c2h_bt_inquiry = true; in rtl8723bu_update_bt_link_info()
5968 btcoex->c2h_bt_inquiry = false; in rtl8723bu_update_bt_link_info()
5971 btcoex->bt_status = BT_8723B_1ANT_STATUS_NON_CONNECTED_IDLE; in rtl8723bu_update_bt_link_info()
5972 btcoex->has_sco = false; in rtl8723bu_update_bt_link_info()
5973 btcoex->has_hid = false; in rtl8723bu_update_bt_link_info()
5974 btcoex->has_pan = false; in rtl8723bu_update_bt_link_info()
5975 btcoex->has_a2dp = false; in rtl8723bu_update_bt_link_info()
5978 btcoex->bt_status = BT_8723B_1ANT_STATUS_CONNECTED_IDLE; in rtl8723bu_update_bt_link_info()
5981 btcoex->bt_status = BT_8723B_1ANT_STATUS_SCO_BUSY; in rtl8723bu_update_bt_link_info()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/
H A 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()
H A 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()
H A 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()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/
H A Ddebug.c487 RTL_DEBUGFS_ADD(btcoex); in rtl_debug_add_one()
/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A Dmain.c1405 wifi_only = !rtwdev->efuse.btcoex; in rtw_power_on()
2006 efuse->btcoex = (efuse->rf_board_option & 0xe0) == 0x20; in rtw_chip_efuse_info_setup()
H A Dmain.h1770 bool btcoex; member
/openbmc/linux/drivers/net/wireless/broadcom/b43/
H A Dmain.c101 module_param_named(btcoex, modparam_btcoex, int, 0444);
102 MODULE_PARM_DESC(btcoex, "Enable Bluetooth coexistence (default on)");
/openbmc/linux/
H A Dopengrok0.0.log5349 2024-12-28 20:09:06.936-0600 FINEST t1130 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/drivers/net/wireless/ath/ath9k/btcoex.h.gz'
[all...]