Home
last modified time | relevance | path

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

/drivers/net/wireless/ath/ath9k/
Dgpio.c133 struct ath_btcoex *btcoex = &sc->btcoex; in ath_detect_bt_priority() local
137 btcoex->bt_priority_cnt++; in ath_detect_bt_priority()
139 if (time_after(jiffies, btcoex->bt_priority_time + in ath_detect_bt_priority()
141 clear_bit(BT_OP_PRIORITY_DETECTED, &btcoex->op_flags); in ath_detect_bt_priority()
142 clear_bit(BT_OP_SCAN, &btcoex->op_flags); in ath_detect_bt_priority()
144 if (btcoex->bt_priority_cnt >= ATH_BT_CNT_SCAN_THRESHOLD) { in ath_detect_bt_priority()
147 set_bit(BT_OP_PRIORITY_DETECTED, &btcoex->op_flags); in ath_detect_bt_priority()
148 set_bit(BT_OP_SCAN, &btcoex->op_flags); in ath_detect_bt_priority()
149 } else if (btcoex->bt_priority_cnt >= ATH_BT_CNT_THRESHOLD) { in ath_detect_bt_priority()
152 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.c261 struct ath_btcoex_hw *btcoex = &ah->btcoex_hw; in ath9k_hw_btcoex_enable_3wire() local
269 REG_WRITE(ah, AR_BT_COEX_MODE, btcoex->bt_coex_mode); in ath9k_hw_btcoex_enable_3wire()
270 REG_WRITE(ah, AR_BT_COEX_MODE2, btcoex->bt_coex_mode2); in ath9k_hw_btcoex_enable_3wire()
274 REG_WRITE(ah, AR_BT_COEX_WL_WEIGHTS0, btcoex->wlan_weight[0]); in ath9k_hw_btcoex_enable_3wire()
275 REG_WRITE(ah, AR_BT_COEX_WL_WEIGHTS1, btcoex->wlan_weight[1]); in ath9k_hw_btcoex_enable_3wire()
278 btcoex->bt_weight[i]); in ath9k_hw_btcoex_enable_3wire()
280 REG_WRITE(ah, AR_BT_COEX_WEIGHT, btcoex->bt_coex_weights); in ath9k_hw_btcoex_enable_3wire()
293 ath9k_hw_cfg_output(ah, btcoex->wlanactive_gpio, in ath9k_hw_btcoex_enable_3wire()
299 struct ath_btcoex_hw *btcoex = &ah->btcoex_hw; in ath9k_hw_btcoex_enable_mci() local
304 btcoex->wlan_weight[i]); in ath9k_hw_btcoex_enable_mci()
[all …]
Dar9002_phy.c562 struct ath_btcoex_hw *btcoex = &ah->btcoex_hw; in ar9002_hw_set_bt_ant_diversity() local
573 btcoex->bt_coex_mode2 &= (~(AR_BT_DISABLE_BT_ANT)); in ar9002_hw_set_bt_ant_diversity()
574 REG_WRITE(ah, AR_BT_COEX_MODE2, btcoex->bt_coex_mode2); in ar9002_hw_set_bt_ant_diversity()
588 btcoex->bt_coex_mode2 |= AR_BT_DISABLE_BT_ANT; in ar9002_hw_set_bt_ant_diversity()
589 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.h516 struct ath_btcoex btcoex; member
Dath9k.h1014 struct ath_btcoex btcoex; member
/drivers/net/wireless/brcm80211/brcmfmac/
Dbtcoex.c394 cfg->btcoex = btci; in brcmf_btcoex_attach()
406 if (!cfg->btcoex) in brcmf_btcoex_detach()
409 if (cfg->btcoex->timer_on) { in brcmf_btcoex_detach()
410 cfg->btcoex->timer_on = false; in brcmf_btcoex_detach()
411 del_timer_sync(&cfg->btcoex->timer); in brcmf_btcoex_detach()
414 cancel_work_sync(&cfg->btcoex->work); in brcmf_btcoex_detach()
416 brcmf_btcoex_boost_wifi(cfg->btcoex, false); in brcmf_btcoex_detach()
417 brcmf_btcoex_restore_part1(cfg->btcoex); in brcmf_btcoex_detach()
419 kfree(cfg->btcoex); in brcmf_btcoex_detach()
420 cfg->btcoex = NULL; in brcmf_btcoex_detach()
[all …]
DMakefile37 btcoex.o \
Dwl_cfg80211.h373 struct brcmf_btcoex_info *btcoex; member
/drivers/net/wireless/rtlwifi/btcoexist/
Dhalbtc8723b1ant.c1894 static void btc8723b1ant_action_wifi_not_conn_scan(struct btc_coexist *btcoex) in btc8723b1ant_action_wifi_not_conn_scan() argument
1896 struct btc_bt_link_info *bt_link_info = &btcoex->bt_link_info; in btc8723b1ant_action_wifi_not_conn_scan()
1898 halbtc8723b1ant_power_save_state(btcoex, BTC_PS_WIFI_NATIVE, in btc8723b1ant_action_wifi_not_conn_scan()
1904 halbtc8723b1ant_ps_tdma(btcoex, NORMAL_EXEC, in btc8723b1ant_action_wifi_not_conn_scan()
1906 halbtc8723b1ant_coex_table_with_type(btcoex, in btc8723b1ant_action_wifi_not_conn_scan()
1909 halbtc8723b1ant_ps_tdma(btcoex, NORMAL_EXEC, in btc8723b1ant_action_wifi_not_conn_scan()
1911 halbtc8723b1ant_coex_table_with_type(btcoex, in btc8723b1ant_action_wifi_not_conn_scan()
1914 halbtc8723b1ant_ps_tdma(btcoex, NORMAL_EXEC, in btc8723b1ant_action_wifi_not_conn_scan()
1916 halbtc8723b1ant_coex_table_with_type(btcoex, in btc8723b1ant_action_wifi_not_conn_scan()
1922 btc8723b1ant_act_bt_sco_hid_only_busy(btcoex, in btc8723b1ant_action_wifi_not_conn_scan()
[all …]
Dhalbtc8821a1ant.c1499 static void btc8821a1ant_ps_tdma_check_for_pwr_save(struct btc_coexist *btcoex, in btc8821a1ant_ps_tdma_check_for_pwr_save() argument
1504 btcoex->btc_get(btcoex, BTC_GET_U1_LPS_MODE, &lps_mode); in btc8821a1ant_ps_tdma_check_for_pwr_save()
1512 halbtc8821a1ant_ps_tdma(btcoex, NORMAL_EXEC, false, 0); in btc8821a1ant_ps_tdma_check_for_pwr_save()
1518 halbtc8821a1ant_ps_tdma(btcoex, NORMAL_EXEC, false, 0); in btc8821a1ant_ps_tdma_check_for_pwr_save()
Dhalbtc8723b2ant.c832 static void btc8723b2ant_set_sw_fulltime_dac_swing(struct btc_coexist *btcoex, in btc8723b2ant_set_sw_fulltime_dac_swing() argument
837 btc8723b2ant_set_dac_swing_reg(btcoex, sw_dac_swing_lvl); in btc8723b2ant_set_sw_fulltime_dac_swing()
839 btc8723b2ant_set_dac_swing_reg(btcoex, 0x18); in btc8723b2ant_set_sw_fulltime_dac_swing()
Dhalbtc8821a2ant.c1022 static void halbtc8821a2ant_set_fw_ignore_wlan_act(struct btc_coexist *btcoex, in halbtc8821a2ant_set_fw_ignore_wlan_act() argument
1034 btcoex->btc_fill_h2c(btcoex, 0x63, 1, h2c_parameter); in halbtc8821a2ant_set_fw_ignore_wlan_act()
/drivers/staging/rtl8723au/include/
Ddrv_types.h104 u8 btcoex; member
/drivers/staging/rtl8723au/os_dep/
Dos_intfs.c217 registry_par->btcoex = (u8)rtw_btcoex_enable; in loadparam()
/drivers/net/wireless/b43/
Dmain.c105 module_param_named(btcoex, modparam_btcoex, int, 0444);
106 MODULE_PARM_DESC(btcoex, "Enable Bluetooth coexistence (default on)");