| /OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
| H A D | halbtc8723b1ant.c | 42 static void halbtc8723b1ant_updatera_mask(struct btc_coexist *btcoexist, in halbtc8723b1ant_updatera_mask() argument 48 btcoexist->btc_set(btcoexist, BTC_SET_ACT_UPDATE_RAMASK, in halbtc8723b1ant_updatera_mask() 54 static void btc8723b1ant_auto_rate_fb_retry(struct btc_coexist *btcoexist, in btc8723b1ant_auto_rate_fb_retry() argument 64 btcoexist->btc_write_4byte(btcoexist, 0x430, in btc8723b1ant_auto_rate_fb_retry() 66 btcoexist->btc_write_4byte(btcoexist, 0x434, in btc8723b1ant_auto_rate_fb_retry() 70 btcoexist->btc_get(btcoexist, in btc8723b1ant_auto_rate_fb_retry() 74 btcoexist->btc_write_4byte(btcoexist, in btc8723b1ant_auto_rate_fb_retry() 76 btcoexist->btc_write_4byte(btcoexist, in btc8723b1ant_auto_rate_fb_retry() 79 btcoexist->btc_write_4byte(btcoexist, in btc8723b1ant_auto_rate_fb_retry() 81 btcoexist->btc_write_4byte(btcoexist, in btc8723b1ant_auto_rate_fb_retry() [all …]
|
| H A D | halbtcoutsrc.c | 23 static bool halbtc_is_bt_coexist_available(struct btc_coexist *btcoexist) in halbtc_is_bt_coexist_available() argument 25 if (!btcoexist->binded || NULL == btcoexist->adapter) in halbtc_is_bt_coexist_available() 46 static bool is_any_client_connect_to_ap(struct btc_coexist *btcoexist) in is_any_client_connect_to_ap() argument 48 struct rtl_priv *rtlpriv = btcoexist->adapter; in is_any_client_connect_to_ap() 99 static u32 halbtc_get_wifi_bw(struct btc_coexist *btcoexist) in halbtc_get_wifi_bw() argument 101 struct rtl_priv *rtlpriv = btcoexist->adapter; in halbtc_get_wifi_bw() 124 static u8 halbtc_get_wifi_central_chnl(struct btc_coexist *btcoexist) in halbtc_get_wifi_central_chnl() argument 126 struct rtl_priv *rtlpriv = btcoexist->adapter; in halbtc_get_wifi_central_chnl() 139 return rtlpriv->btcoexist.btc_info.single_ant_path; in rtl_get_hwpg_single_ant_path() 144 return rtlpriv->btcoexist.btc_info.bt_type; in rtl_get_hwpg_bt_type() [all …]
|
| H A D | halbtc8821a2ant.c | 41 static u8 btc8821a2ant_bt_rssi_state(struct btc_coexist *btcoexist, in btc8821a2ant_bt_rssi_state() argument 45 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8821a2ant_bt_rssi_state() 132 static u8 btc8821a2ant_wifi_rssi_state(struct btc_coexist *btcoexist, in btc8821a2ant_wifi_rssi_state() argument 136 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8821a2ant_wifi_rssi_state() 140 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in btc8821a2ant_wifi_rssi_state() 226 void btc8821a2ant_limited_rx(struct btc_coexist *btcoexist, bool force_exec, in btc8821a2ant_limited_rx() argument 235 btcoexist->btc_set(btcoexist, BTC_SET_BL_TO_REJ_AP_AGG_PKT, in btc8821a2ant_limited_rx() 238 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_CTRL_AGG_SIZE, in btc8821a2ant_limited_rx() 241 btcoexist->btc_set(btcoexist, BTC_SET_U1_AGG_BUF_SIZE, &rx_agg_size); in btc8821a2ant_limited_rx() 243 btcoexist->btc_set(btcoexist, BTC_SET_ACT_AGGREGATE_CTRL, NULL); in btc8821a2ant_limited_rx() [all …]
|
| H A D | halbtc8723b2ant.c | 40 static u8 btc8723b2ant_bt_rssi_state(struct btc_coexist *btcoexist, in btc8723b2ant_bt_rssi_state() argument 44 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8723b2ant_bt_rssi_state() 129 static u8 btc8723b2ant_wifi_rssi_state(struct btc_coexist *btcoexist, in btc8723b2ant_wifi_rssi_state() argument 133 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8723b2ant_wifi_rssi_state() 137 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in btc8723b2ant_wifi_rssi_state() 223 void btc8723b2ant_limited_rx(struct btc_coexist *btcoexist, bool force_exec, in btc8723b2ant_limited_rx() argument 234 btcoexist->btc_set(btcoexist, BTC_SET_BL_TO_REJ_AP_AGG_PKT, in btc8723b2ant_limited_rx() 237 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_CTRL_AGG_SIZE, in btc8723b2ant_limited_rx() 240 btcoexist->btc_set(btcoexist, BTC_SET_U1_AGG_BUF_SIZE, &rx_agg_size); in btc8723b2ant_limited_rx() 242 btcoexist->btc_set(btcoexist, BTC_SET_ACT_AGGREGATE_CTRL, NULL); in btc8723b2ant_limited_rx() [all …]
|
| H A D | halbtc8192e2ant.c | 31 static u8 btc8192e2ant_bt_rssi_state(struct btc_coexist *btcoexist, in btc8192e2ant_bt_rssi_state() argument 35 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8192e2ant_bt_rssi_state() 93 static u8 btc8192e2ant_wifi_rssi_state(struct btc_coexist *btcoexist, in btc8192e2ant_wifi_rssi_state() argument 97 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8192e2ant_wifi_rssi_state() 101 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in btc8192e2ant_wifi_rssi_state() 160 *btcoexist) in btc8192e2ant_monitor_bt_enable_disable() 162 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8192e2ant_monitor_bt_enable_disable() 184 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in btc8192e2ant_monitor_bt_enable_disable() 195 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in btc8192e2ant_monitor_bt_enable_disable() 210 static u32 btc8192e2ant_decide_ra_mask(struct btc_coexist *btcoexist, in btc8192e2ant_decide_ra_mask() argument [all …]
|
| H A D | halbtc8821a1ant.c | 25 static void btc8821a1ant_act_bt_sco_hid_only_busy(struct btc_coexist *btcoexist, 42 static u8 btc8821a1ant_bt_rssi_state(struct btc_coexist *btcoexist, in btc8821a1ant_bt_rssi_state() argument 46 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8821a1ant_bt_rssi_state() 130 static u8 btc8821a1ant_wifi_rssi_state(struct btc_coexist *btcoexist, in btc8821a1ant_wifi_rssi_state() argument 134 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8821a1ant_wifi_rssi_state() 138 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in btc8821a1ant_wifi_rssi_state() 222 static void btc8821a1ant_update_ra_mask(struct btc_coexist *btcoexist, in btc8821a1ant_update_ra_mask() argument 229 btcoexist->btc_set(btcoexist, BTC_SET_ACT_UPDATE_RAMASK, in btc8821a1ant_update_ra_mask() 235 static void btc8821a1ant_auto_rate_fb_retry(struct btc_coexist *btcoexist, in btc8821a1ant_auto_rate_fb_retry() argument 246 btcoexist->btc_write_4byte(btcoexist, 0x430, in btc8821a1ant_auto_rate_fb_retry() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/btc/ |
| H A D | halbtc8723b2ant.c | 121 u8 halbtc8723b2ant_wifi_rssi_state(IN struct btc_coexist *btcoexist, in halbtc8723b2ant_wifi_rssi_state() argument 128 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in halbtc8723b2ant_wifi_rssi_state() 182 void halbtc8723b2ant_monitor_bt_enable_disable(IN struct btc_coexist *btcoexist) in halbtc8723b2ant_monitor_bt_enable_disable() argument 219 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in halbtc8723b2ant_monitor_bt_enable_disable() 222 btcoexist->btc_set(btcoexist, BTC_SET_ACT_LEAVE_LPS, in halbtc8723b2ant_monitor_bt_enable_disable() 224 btcoexist->btc_set(btcoexist, BTC_SET_ACT_NORMAL_LPS, in halbtc8723b2ant_monitor_bt_enable_disable() 231 void halbtc8723b2ant_limited_rx(IN struct btc_coexist *btcoexist, in halbtc8723b2ant_limited_rx() argument 242 btcoexist->btc_set(btcoexist, BTC_SET_BL_TO_REJ_AP_AGG_PKT, in halbtc8723b2ant_limited_rx() 245 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_CTRL_AGG_SIZE, in halbtc8723b2ant_limited_rx() 248 btcoexist->btc_set(btcoexist, BTC_SET_U1_AGG_BUF_SIZE, &rx_agg_size); in halbtc8723b2ant_limited_rx() [all …]
|
| H A D | halbtc8821a2ant.c | 124 u8 halbtc8821a2ant_wifi_rssi_state(IN struct btc_coexist *btcoexist, in halbtc8821a2ant_wifi_rssi_state() argument 130 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in halbtc8821a2ant_wifi_rssi_state() 190 void halbtc8821a2ant_limited_rx(IN struct btc_coexist *btcoexist, in halbtc8821a2ant_limited_rx() argument 201 btcoexist->btc_set(btcoexist, BTC_SET_BL_TO_REJ_AP_AGG_PKT, in halbtc8821a2ant_limited_rx() 204 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_CTRL_AGG_SIZE, in halbtc8821a2ant_limited_rx() 207 btcoexist->btc_set(btcoexist, BTC_SET_U1_AGG_BUF_SIZE, &rx_agg_size); in halbtc8821a2ant_limited_rx() 209 btcoexist->btc_set(btcoexist, BTC_SET_ACT_AGGREGATE_CTRL, NULL); in halbtc8821a2ant_limited_rx() 212 void halbtc8821a2ant_monitor_bt_ctr(IN struct btc_coexist *btcoexist) in halbtc8821a2ant_monitor_bt_ctr() argument 217 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in halbtc8821a2ant_monitor_bt_ctr() 222 u32tmp = btcoexist->btc_read_4byte(btcoexist, reg_hp_txrx); in halbtc8821a2ant_monitor_bt_ctr() [all …]
|
| H A D | halbtc8723b1ant.c | 64 void halbtc8723b1ant_update_ra_mask(IN struct btc_coexist *btcoexist, in halbtc8723b1ant_update_ra_mask() argument 70 btcoexist->btc_set(btcoexist, BTC_SET_ACT_UPDATE_RAMASK, in halbtc8723b1ant_update_ra_mask() 76 void halbtc8723b1ant_auto_rate_fallback_retry(IN struct btc_coexist *btcoexist, in halbtc8723b1ant_auto_rate_fallback_retry() argument 86 btcoexist->btc_write_4byte(btcoexist, 0x430, in halbtc8723b1ant_auto_rate_fallback_retry() 88 btcoexist->btc_write_4byte(btcoexist, 0x434, in halbtc8723b1ant_auto_rate_fallback_retry() 92 btcoexist->btc_get(btcoexist, in halbtc8723b1ant_auto_rate_fallback_retry() 96 btcoexist->btc_write_4byte(btcoexist, in halbtc8723b1ant_auto_rate_fallback_retry() 98 btcoexist->btc_write_4byte(btcoexist, in halbtc8723b1ant_auto_rate_fallback_retry() 101 btcoexist->btc_write_4byte(btcoexist, in halbtc8723b1ant_auto_rate_fallback_retry() 103 btcoexist->btc_write_4byte(btcoexist, in halbtc8723b1ant_auto_rate_fallback_retry() [all …]
|
| H A D | halbtc8821a1ant.c | 121 u8 halbtc8821a1ant_wifi_rssi_state(IN struct btc_coexist *btcoexist, in halbtc8821a1ant_wifi_rssi_state() argument 127 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in halbtc8821a1ant_wifi_rssi_state() 186 void halbtc8821a1ant_update_ra_mask(IN struct btc_coexist *btcoexist, in halbtc8821a1ant_update_ra_mask() argument 192 btcoexist->btc_set(btcoexist, BTC_SET_ACT_UPDATE_RAMASK, in halbtc8821a1ant_update_ra_mask() 197 void halbtc8821a1ant_auto_rate_fallback_retry(IN struct btc_coexist *btcoexist, in halbtc8821a1ant_auto_rate_fallback_retry() argument 207 btcoexist->btc_write_4byte(btcoexist, 0x430, in halbtc8821a1ant_auto_rate_fallback_retry() 209 btcoexist->btc_write_4byte(btcoexist, 0x434, in halbtc8821a1ant_auto_rate_fallback_retry() 213 btcoexist->btc_get(btcoexist, in halbtc8821a1ant_auto_rate_fallback_retry() 217 btcoexist->btc_write_4byte(btcoexist, in halbtc8821a1ant_auto_rate_fallback_retry() 219 btcoexist->btc_write_4byte(btcoexist, in halbtc8821a1ant_auto_rate_fallback_retry() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/hal/btc/ |
| H A D | HalBtc8723b2Ant.c | 103 u8 halbtc8723b2ant_wifi_rssi_state(IN struct btc_coexist *btcoexist, in halbtc8723b2ant_wifi_rssi_state() argument 110 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in halbtc8723b2ant_wifi_rssi_state() 163 void halbtc8723b2ant_monitor_bt_enable_disable(IN struct btc_coexist *btcoexist) in halbtc8723b2ant_monitor_bt_enable_disable() argument 200 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in halbtc8723b2ant_monitor_bt_enable_disable() 203 btcoexist->btc_set(btcoexist, BTC_SET_ACT_LEAVE_LPS, in halbtc8723b2ant_monitor_bt_enable_disable() 205 btcoexist->btc_set(btcoexist, BTC_SET_ACT_NORMAL_LPS, in halbtc8723b2ant_monitor_bt_enable_disable() 212 void halbtc8723b2ant_limited_rx(IN struct btc_coexist *btcoexist, in halbtc8723b2ant_limited_rx() argument 223 btcoexist->btc_set(btcoexist, BTC_SET_BL_TO_REJ_AP_AGG_PKT, in halbtc8723b2ant_limited_rx() 226 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_CTRL_AGG_SIZE, in halbtc8723b2ant_limited_rx() 229 btcoexist->btc_set(btcoexist, BTC_SET_U1_AGG_BUF_SIZE, &rx_agg_size); in halbtc8723b2ant_limited_rx() [all …]
|
| H A D | HalBtc8723b1Ant.c | 48 void halbtc8723b1ant_update_ra_mask(IN struct btc_coexist *btcoexist, in halbtc8723b1ant_update_ra_mask() argument 54 btcoexist->btc_set(btcoexist, BTC_SET_ACT_UPDATE_RAMASK, in halbtc8723b1ant_update_ra_mask() 59 void halbtc8723b1ant_auto_rate_fallback_retry(IN struct btc_coexist *btcoexist, in halbtc8723b1ant_auto_rate_fallback_retry() argument 69 btcoexist->btc_write_4byte(btcoexist, 0x430, in halbtc8723b1ant_auto_rate_fallback_retry() 71 btcoexist->btc_write_4byte(btcoexist, 0x434, in halbtc8723b1ant_auto_rate_fallback_retry() 75 btcoexist->btc_get(btcoexist, in halbtc8723b1ant_auto_rate_fallback_retry() 79 btcoexist->btc_write_4byte(btcoexist, in halbtc8723b1ant_auto_rate_fallback_retry() 81 btcoexist->btc_write_4byte(btcoexist, in halbtc8723b1ant_auto_rate_fallback_retry() 84 btcoexist->btc_write_4byte(btcoexist, in halbtc8723b1ant_auto_rate_fallback_retry() 86 btcoexist->btc_write_4byte(btcoexist, in halbtc8723b1ant_auto_rate_fallback_retry() [all …]
|
| H A D | HalBtc8821a2Ant.c | 108 u8 halbtc8821a2ant_wifi_rssi_state(IN struct btc_coexist *btcoexist, in halbtc8821a2ant_wifi_rssi_state() argument 114 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in halbtc8821a2ant_wifi_rssi_state() 173 void halbtc8821a2ant_monitor_bt_enable_disable(IN struct btc_coexist *btcoexist) in halbtc8821a2ant_monitor_bt_enable_disable() argument 193 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in halbtc8821a2ant_monitor_bt_enable_disable() 206 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in halbtc8821a2ant_monitor_bt_enable_disable() 226 void halbtc8821a2ant_limited_rx(IN struct btc_coexist *btcoexist, in halbtc8821a2ant_limited_rx() argument 237 btcoexist->btc_set(btcoexist, BTC_SET_BL_TO_REJ_AP_AGG_PKT, in halbtc8821a2ant_limited_rx() 240 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_CTRL_AGG_SIZE, in halbtc8821a2ant_limited_rx() 243 btcoexist->btc_set(btcoexist, BTC_SET_U1_AGG_BUF_SIZE, &rx_agg_size); in halbtc8821a2ant_limited_rx() 245 btcoexist->btc_set(btcoexist, BTC_SET_ACT_AGGREGATE_CTRL, NULL); in halbtc8821a2ant_limited_rx() [all …]
|
| H A D | HalBtc8192e2Ant.c | 107 u8 halbtc8192e2ant_wifi_rssi_state(IN struct btc_coexist *btcoexist, in halbtc8192e2ant_wifi_rssi_state() argument 113 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in halbtc8192e2ant_wifi_rssi_state() 172 void halbtc8192e2ant_monitor_bt_enable_disable(IN struct btc_coexist *btcoexist) in halbtc8192e2ant_monitor_bt_enable_disable() argument 192 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in halbtc8192e2ant_monitor_bt_enable_disable() 205 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in halbtc8192e2ant_monitor_bt_enable_disable() 225 u32 halbtc8192e2ant_decide_ra_mask(IN struct btc_coexist *btcoexist, in halbtc8192e2ant_decide_ra_mask() argument 256 void halbtc8192e2ant_update_ra_mask(IN struct btc_coexist *btcoexist, in halbtc8192e2ant_update_ra_mask() argument 262 btcoexist->btc_set(btcoexist, BTC_SET_ACT_UPDATE_RAMASK, in halbtc8192e2ant_update_ra_mask() 267 void halbtc8192e2ant_auto_rate_fallback_retry(IN struct btc_coexist *btcoexist, in halbtc8192e2ant_auto_rate_fallback_retry() argument 277 btcoexist->btc_write_4byte(btcoexist, 0x430, in halbtc8192e2ant_auto_rate_fallback_retry() [all …]
|
| H A D | HalBtc8821a1Ant.c | 106 u8 halbtc8821a1ant_wifi_rssi_state(IN struct btc_coexist *btcoexist, in halbtc8821a1ant_wifi_rssi_state() argument 112 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in halbtc8821a1ant_wifi_rssi_state() 171 void halbtc8821a1ant_update_ra_mask(IN struct btc_coexist *btcoexist, in halbtc8821a1ant_update_ra_mask() argument 177 btcoexist->btc_set(btcoexist, BTC_SET_ACT_UPDATE_RAMASK, in halbtc8821a1ant_update_ra_mask() 182 void halbtc8821a1ant_auto_rate_fallback_retry(IN struct btc_coexist *btcoexist, in halbtc8821a1ant_auto_rate_fallback_retry() argument 192 btcoexist->btc_write_4byte(btcoexist, 0x430, in halbtc8821a1ant_auto_rate_fallback_retry() 194 btcoexist->btc_write_4byte(btcoexist, 0x434, in halbtc8821a1ant_auto_rate_fallback_retry() 198 btcoexist->btc_get(btcoexist, in halbtc8821a1ant_auto_rate_fallback_retry() 202 btcoexist->btc_write_4byte(btcoexist, in halbtc8821a1ant_auto_rate_fallback_retry() 204 btcoexist->btc_write_4byte(btcoexist, in halbtc8821a1ant_auto_rate_fallback_retry() [all …]
|
| H A D | HalBtc8821aCsr2Ant.c | 114 u8 halbtc8821aCsr2ant_wifi_rssi_state(IN struct btc_coexist *btcoexist, in halbtc8821aCsr2ant_wifi_rssi_state() argument 120 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in halbtc8821aCsr2ant_wifi_rssi_state() 180 *btcoexist) in halbtc8821aCsr2ant_monitor_bt_enable_disable() 200 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in halbtc8821aCsr2ant_monitor_bt_enable_disable() 213 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in halbtc8821aCsr2ant_monitor_bt_enable_disable() 233 void halbtc8821aCsr2ant_monitor_bt_ctr(IN struct btc_coexist *btcoexist) in halbtc8821aCsr2ant_monitor_bt_ctr() argument 241 u32tmp = btcoexist->btc_read_4byte(btcoexist, reg_hp_txrx); in halbtc8821aCsr2ant_monitor_bt_ctr() 245 u32tmp = btcoexist->btc_read_4byte(btcoexist, reg_lp_txrx); in halbtc8821aCsr2ant_monitor_bt_ctr() 264 btcoexist->btc_write_1byte(btcoexist, 0x76e, 0x5d); in halbtc8821aCsr2ant_monitor_bt_ctr() 267 void halbtc8821aCsr2ant_update_ra_mask(IN struct btc_coexist *btcoexist, in halbtc8821aCsr2ant_update_ra_mask() argument [all …]
|
| H A D | HalBtc8812a2Ant.c | 107 u8 halbtc8812a2ant_wifi_rssi_state(IN struct btc_coexist *btcoexist, in halbtc8812a2ant_wifi_rssi_state() argument 113 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in halbtc8812a2ant_wifi_rssi_state() 172 void halbtc8812a2ant_monitor_bt_enable_disable(IN struct btc_coexist *btcoexist) in halbtc8812a2ant_monitor_bt_enable_disable() argument 174 struct btc_stack_info *stack_info = &btcoexist->stack_info; in halbtc8812a2ant_monitor_bt_enable_disable() 197 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in halbtc8812a2ant_monitor_bt_enable_disable() 210 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in halbtc8812a2ant_monitor_bt_enable_disable() 230 u32 halbtc8812a2ant_decide_ra_mask(IN struct btc_coexist *btcoexist, in halbtc8812a2ant_decide_ra_mask() argument 252 void halbtc8812a2ant_update_ra_mask(IN struct btc_coexist *btcoexist, in halbtc8812a2ant_update_ra_mask() argument 258 btcoexist->btc_set(btcoexist, BTC_SET_ACT_UPDATE_RAMASK, in halbtc8812a2ant_update_ra_mask() 263 void halbtc8812a2ant_auto_rate_fallback_retry(IN struct btc_coexist *btcoexist, in halbtc8812a2ant_auto_rate_fallback_retry() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/btc/ |
| H A D | halbtc8723b2ant.c | 103 u8 halbtc8723b2ant_wifi_rssi_state(IN struct btc_coexist *btcoexist, in halbtc8723b2ant_wifi_rssi_state() argument 110 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in halbtc8723b2ant_wifi_rssi_state() 163 void halbtc8723b2ant_monitor_bt_enable_disable(IN struct btc_coexist *btcoexist) in halbtc8723b2ant_monitor_bt_enable_disable() argument 200 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in halbtc8723b2ant_monitor_bt_enable_disable() 203 btcoexist->btc_set(btcoexist, BTC_SET_ACT_LEAVE_LPS, in halbtc8723b2ant_monitor_bt_enable_disable() 205 btcoexist->btc_set(btcoexist, BTC_SET_ACT_NORMAL_LPS, in halbtc8723b2ant_monitor_bt_enable_disable() 212 void halbtc8723b2ant_limited_rx(IN struct btc_coexist *btcoexist, in halbtc8723b2ant_limited_rx() argument 223 btcoexist->btc_set(btcoexist, BTC_SET_BL_TO_REJ_AP_AGG_PKT, in halbtc8723b2ant_limited_rx() 226 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_CTRL_AGG_SIZE, in halbtc8723b2ant_limited_rx() 229 btcoexist->btc_set(btcoexist, BTC_SET_U1_AGG_BUF_SIZE, &rx_agg_size); in halbtc8723b2ant_limited_rx() [all …]
|
| H A D | halbtc8821a2ant.c | 108 u8 halbtc8821a2ant_wifi_rssi_state(IN struct btc_coexist *btcoexist, in halbtc8821a2ant_wifi_rssi_state() argument 114 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in halbtc8821a2ant_wifi_rssi_state() 173 void halbtc8821a2ant_monitor_bt_enable_disable(IN struct btc_coexist *btcoexist) in halbtc8821a2ant_monitor_bt_enable_disable() argument 193 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in halbtc8821a2ant_monitor_bt_enable_disable() 206 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in halbtc8821a2ant_monitor_bt_enable_disable() 226 void halbtc8821a2ant_limited_rx(IN struct btc_coexist *btcoexist, in halbtc8821a2ant_limited_rx() argument 237 btcoexist->btc_set(btcoexist, BTC_SET_BL_TO_REJ_AP_AGG_PKT, in halbtc8821a2ant_limited_rx() 240 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_CTRL_AGG_SIZE, in halbtc8821a2ant_limited_rx() 243 btcoexist->btc_set(btcoexist, BTC_SET_U1_AGG_BUF_SIZE, &rx_agg_size); in halbtc8821a2ant_limited_rx() 245 btcoexist->btc_set(btcoexist, BTC_SET_ACT_AGGREGATE_CTRL, NULL); in halbtc8821a2ant_limited_rx() [all …]
|
| H A D | halbtc8822b1ant.c | 115 u8 halbtc8822b1ant_wifi_rssi_state(IN struct btc_coexist *btcoexist, in halbtc8822b1ant_wifi_rssi_state() argument 121 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in halbtc8822b1ant_wifi_rssi_state() 180 void halbtc8822b1ant_update_ra_mask(IN struct btc_coexist *btcoexist, in halbtc8822b1ant_update_ra_mask() argument 186 btcoexist->btc_set(btcoexist, BTC_SET_ACT_UPDATE_RAMASK, in halbtc8822b1ant_update_ra_mask() 191 void halbtc8822b1ant_auto_rate_fallback_retry(IN struct btc_coexist *btcoexist, in halbtc8822b1ant_auto_rate_fallback_retry() argument 201 btcoexist->btc_write_4byte(btcoexist, 0x430, in halbtc8822b1ant_auto_rate_fallback_retry() 203 btcoexist->btc_write_4byte(btcoexist, 0x434, in halbtc8822b1ant_auto_rate_fallback_retry() 207 btcoexist->btc_get(btcoexist, in halbtc8822b1ant_auto_rate_fallback_retry() 211 btcoexist->btc_write_4byte(btcoexist, in halbtc8822b1ant_auto_rate_fallback_retry() 213 btcoexist->btc_write_4byte(btcoexist, in halbtc8822b1ant_auto_rate_fallback_retry() [all …]
|
| H A D | halbtc8192e2ant.c | 107 u8 halbtc8192e2ant_wifi_rssi_state(IN struct btc_coexist *btcoexist, in halbtc8192e2ant_wifi_rssi_state() argument 113 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in halbtc8192e2ant_wifi_rssi_state() 172 void halbtc8192e2ant_monitor_bt_enable_disable(IN struct btc_coexist *btcoexist) in halbtc8192e2ant_monitor_bt_enable_disable() argument 192 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in halbtc8192e2ant_monitor_bt_enable_disable() 205 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in halbtc8192e2ant_monitor_bt_enable_disable() 225 u32 halbtc8192e2ant_decide_ra_mask(IN struct btc_coexist *btcoexist, in halbtc8192e2ant_decide_ra_mask() argument 256 void halbtc8192e2ant_update_ra_mask(IN struct btc_coexist *btcoexist, in halbtc8192e2ant_update_ra_mask() argument 262 btcoexist->btc_set(btcoexist, BTC_SET_ACT_UPDATE_RAMASK, in halbtc8192e2ant_update_ra_mask() 267 void halbtc8192e2ant_auto_rate_fallback_retry(IN struct btc_coexist *btcoexist, in halbtc8192e2ant_auto_rate_fallback_retry() argument 277 btcoexist->btc_write_4byte(btcoexist, 0x430, in halbtc8192e2ant_auto_rate_fallback_retry() [all …]
|
| H A D | halbtc8821a1ant.c | 106 u8 halbtc8821a1ant_wifi_rssi_state(IN struct btc_coexist *btcoexist, in halbtc8821a1ant_wifi_rssi_state() argument 112 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in halbtc8821a1ant_wifi_rssi_state() 171 void halbtc8821a1ant_update_ra_mask(IN struct btc_coexist *btcoexist, in halbtc8821a1ant_update_ra_mask() argument 177 btcoexist->btc_set(btcoexist, BTC_SET_ACT_UPDATE_RAMASK, in halbtc8821a1ant_update_ra_mask() 182 void halbtc8821a1ant_auto_rate_fallback_retry(IN struct btc_coexist *btcoexist, in halbtc8821a1ant_auto_rate_fallback_retry() argument 192 btcoexist->btc_write_4byte(btcoexist, 0x430, in halbtc8821a1ant_auto_rate_fallback_retry() 194 btcoexist->btc_write_4byte(btcoexist, 0x434, in halbtc8821a1ant_auto_rate_fallback_retry() 198 btcoexist->btc_get(btcoexist, in halbtc8821a1ant_auto_rate_fallback_retry() 202 btcoexist->btc_write_4byte(btcoexist, in halbtc8821a1ant_auto_rate_fallback_retry() 204 btcoexist->btc_write_4byte(btcoexist, in halbtc8821a1ant_auto_rate_fallback_retry() [all …]
|
| H A D | halbtc8723b1ant.c | 48 void halbtc8723b1ant_update_ra_mask(IN struct btc_coexist *btcoexist, in halbtc8723b1ant_update_ra_mask() argument 54 btcoexist->btc_set(btcoexist, BTC_SET_ACT_UPDATE_RAMASK, in halbtc8723b1ant_update_ra_mask() 59 void halbtc8723b1ant_auto_rate_fallback_retry(IN struct btc_coexist *btcoexist, in halbtc8723b1ant_auto_rate_fallback_retry() argument 69 btcoexist->btc_write_4byte(btcoexist, 0x430, in halbtc8723b1ant_auto_rate_fallback_retry() 71 btcoexist->btc_write_4byte(btcoexist, 0x434, in halbtc8723b1ant_auto_rate_fallback_retry() 75 btcoexist->btc_get(btcoexist, in halbtc8723b1ant_auto_rate_fallback_retry() 79 btcoexist->btc_write_4byte(btcoexist, in halbtc8723b1ant_auto_rate_fallback_retry() 81 btcoexist->btc_write_4byte(btcoexist, in halbtc8723b1ant_auto_rate_fallback_retry() 84 btcoexist->btc_write_4byte(btcoexist, in halbtc8723b1ant_auto_rate_fallback_retry() 86 btcoexist->btc_write_4byte(btcoexist, in halbtc8723b1ant_auto_rate_fallback_retry() [all …]
|
| H A D | halbtc8821acsr2ant.c | 114 u8 halbtc8821aCsr2ant_wifi_rssi_state(IN struct btc_coexist *btcoexist, in halbtc8821aCsr2ant_wifi_rssi_state() argument 120 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in halbtc8821aCsr2ant_wifi_rssi_state() 180 *btcoexist) in halbtc8821aCsr2ant_monitor_bt_enable_disable() 200 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in halbtc8821aCsr2ant_monitor_bt_enable_disable() 213 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in halbtc8821aCsr2ant_monitor_bt_enable_disable() 233 void halbtc8821aCsr2ant_monitor_bt_ctr(IN struct btc_coexist *btcoexist) in halbtc8821aCsr2ant_monitor_bt_ctr() argument 241 u32tmp = btcoexist->btc_read_4byte(btcoexist, reg_hp_txrx); in halbtc8821aCsr2ant_monitor_bt_ctr() 245 u32tmp = btcoexist->btc_read_4byte(btcoexist, reg_lp_txrx); in halbtc8821aCsr2ant_monitor_bt_ctr() 264 btcoexist->btc_write_1byte(btcoexist, 0x76e, 0x5d); in halbtc8821aCsr2ant_monitor_bt_ctr() 267 void halbtc8821aCsr2ant_update_ra_mask(IN struct btc_coexist *btcoexist, in halbtc8821aCsr2ant_update_ra_mask() argument [all …]
|
| H A D | halbtc8812a2ant.c | 107 u8 halbtc8812a2ant_wifi_rssi_state(IN struct btc_coexist *btcoexist, in halbtc8812a2ant_wifi_rssi_state() argument 113 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in halbtc8812a2ant_wifi_rssi_state() 172 void halbtc8812a2ant_monitor_bt_enable_disable(IN struct btc_coexist *btcoexist) in halbtc8812a2ant_monitor_bt_enable_disable() argument 174 struct btc_stack_info *stack_info = &btcoexist->stack_info; in halbtc8812a2ant_monitor_bt_enable_disable() 197 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in halbtc8812a2ant_monitor_bt_enable_disable() 210 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in halbtc8812a2ant_monitor_bt_enable_disable() 230 u32 halbtc8812a2ant_decide_ra_mask(IN struct btc_coexist *btcoexist, in halbtc8812a2ant_decide_ra_mask() argument 252 void halbtc8812a2ant_update_ra_mask(IN struct btc_coexist *btcoexist, in halbtc8812a2ant_update_ra_mask() argument 258 btcoexist->btc_set(btcoexist, BTC_SET_ACT_UPDATE_RAMASK, in halbtc8812a2ant_update_ra_mask() 263 void halbtc8812a2ant_auto_rate_fallback_retry(IN struct btc_coexist *btcoexist, in halbtc8812a2ant_auto_rate_fallback_retry() argument [all …]
|