Home
last modified time | relevance | path

Searched refs:btc_coexist (Results 1 – 19 of 19) sorted by relevance

/Linux-v6.6/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtcoutsrc.c23 static bool halbtc_is_bt_coexist_available(struct btc_coexist *btcoexist) 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()
86 static u32 halbtc_get_wifi_bw(struct btc_coexist *btcoexist) in halbtc_get_wifi_bw()
111 static u8 halbtc_get_wifi_central_chnl(struct btc_coexist *btcoexist) in halbtc_get_wifi_central_chnl()
162 bool halbtc_is_hw_mailbox_exist(struct btc_coexist *btcoexist) in halbtc_is_hw_mailbox_exist()
171 bool halbtc_send_bt_mp_operation(struct btc_coexist *btcoexist, u8 op_code, in halbtc_send_bt_mp_operation()
254 static void halbtc_leave_lps(struct btc_coexist *btcoexist) in halbtc_leave_lps()
276 static void halbtc_enter_lps(struct btc_coexist *btcoexist) in halbtc_enter_lps()
298 static void halbtc_normal_lps(struct btc_coexist *btcoexist) in halbtc_normal_lps()
312 static void halbtc_pre_normal_lps(struct btc_coexist *btcoexist) in halbtc_pre_normal_lps()
[all …]
Dhalbtc8723b1ant.h182 void ex_btc8723b1ant_power_on_setting(struct btc_coexist *btcoexist);
183 void ex_btc8723b1ant_init_hwconfig(struct btc_coexist *btcoexist,
185 void ex_btc8723b1ant_init_coex_dm(struct btc_coexist *btcoexist);
186 void ex_btc8723b1ant_ips_notify(struct btc_coexist *btcoexist, u8 type);
187 void ex_btc8723b1ant_lps_notify(struct btc_coexist *btcoexist, u8 type);
188 void ex_btc8723b1ant_scan_notify(struct btc_coexist *btcoexist, u8 type);
189 void ex_btc8723b1ant_connect_notify(struct btc_coexist *btcoexist, u8 type);
190 void ex_btc8723b1ant_media_status_notify(struct btc_coexist *btcoexist,
192 void ex_btc8723b1ant_special_packet_notify(struct btc_coexist *btcoexist,
194 void ex_btc8723b1ant_bt_info_notify(struct btc_coexist *btcoexist,
[all …]
Dhalbtc8821a1ant.h151 void ex_btc8821a1ant_init_hwconfig(struct btc_coexist *btcoexist,
153 void ex_btc8821a1ant_init_coex_dm(struct btc_coexist *btcoexist);
154 void ex_btc8821a1ant_ips_notify(struct btc_coexist *btcoexist, u8 type);
155 void ex_btc8821a1ant_lps_notify(struct btc_coexist *btcoexist, u8 type);
156 void ex_btc8821a1ant_scan_notify(struct btc_coexist *btcoexist, u8 type);
157 void ex_btc8821a1ant_connect_notify(struct btc_coexist *btcoexist, u8 type);
158 void ex_btc8821a1ant_media_status_notify(struct btc_coexist *btcoexist,
160 void ex_btc8821a1ant_special_packet_notify(struct btc_coexist *btcoexist,
162 void ex_btc8821a1ant_bt_info_notify(struct btc_coexist *btcoexist,
164 void ex_btc8821a1ant_halt_notify(struct btc_coexist *btcoexist);
[all …]
Dhalbtc8723b2ant.h163 void ex_btc8723b2ant_init_hwconfig(struct btc_coexist *btcoexist);
164 void ex_btc8723b2ant_init_coex_dm(struct btc_coexist *btcoexist);
165 void ex_btc8723b2ant_ips_notify(struct btc_coexist *btcoexist, u8 type);
166 void ex_btc8723b2ant_lps_notify(struct btc_coexist *btcoexist, u8 type);
167 void ex_btc8723b2ant_scan_notify(struct btc_coexist *btcoexist, u8 type);
168 void ex_btc8723b2ant_connect_notify(struct btc_coexist *btcoexist, u8 type);
169 void ex_btc8723b2ant_media_status_notify(struct btc_coexist *btcoexist,
171 void ex_btc8723b2ant_special_packet_notify(struct btc_coexist *btcoexist,
173 void ex_btc8723b2ant_bt_info_notify(struct btc_coexist *btcoexist,
175 void ex_btc8723b2ant_halt_notify(struct btc_coexist *btcoexist);
[all …]
Dhalbtc8821a2ant.h155 struct btc_coexist *btcoexist
159 struct btc_coexist *btcoexist
163 struct btc_coexist *btcoexist,
168 struct btc_coexist *btcoexist,
173 struct btc_coexist *btcoexist,
178 struct btc_coexist *btcoexist,
183 struct btc_coexist *btcoexist,
188 struct btc_coexist *btcoexist,
193 struct btc_coexist *btcoexist,
199 struct btc_coexist *btcoexist
[all …]
Dhalbtc8192e2ant.h146 void ex_btc8192e2ant_init_hwconfig(struct btc_coexist *btcoexist);
147 void ex_btc8192e2ant_init_coex_dm(struct btc_coexist *btcoexist);
148 void ex_btc8192e2ant_ips_notify(struct btc_coexist *btcoexist, u8 type);
149 void ex_btc8192e2ant_lps_notify(struct btc_coexist *btcoexist, u8 type);
150 void ex_btc8192e2ant_scan_notify(struct btc_coexist *btcoexist, u8 type);
151 void ex_btc8192e2ant_connect_notify(struct btc_coexist *btcoexist, u8 type);
152 void ex_btc8192e2ant_media_status_notify(struct btc_coexist *btcoexist,
154 void ex_btc8192e2ant_special_packet_notify(struct btc_coexist *btcoexist,
156 void ex_btc8192e2ant_bt_info_notify(struct btc_coexist *btcoexist,
158 void ex_btc8192e2ant_stack_operation_notify(struct btc_coexist *btcoexist,
[all …]
Drtl_btc.c46 struct btc_coexist *btcoexist = rtl_btc_coexist(rtlpriv); in rtl_btc_display_bt_coex_info()
58 struct btc_coexist *btcoexist = rtl_btc_coexist(rtlpriv); in rtl_btc_record_pwr_mode()
74 struct btc_coexist *btcoexist = rtl_btc_coexist(rtlpriv); in rtl_btc_get_lps_val()
84 struct btc_coexist *btcoexist = rtl_btc_coexist(rtlpriv); in rtl_btc_get_rpwm_val()
94 struct btc_coexist *btcoexist = rtl_btc_coexist(rtlpriv); in rtl_btc_is_bt_ctrl_lps()
104 struct btc_coexist *btcoexist = rtl_btc_coexist(rtlpriv); in rtl_btc_is_bt_lps_on()
115 struct btc_coexist *btcoexist = rtl_btc_coexist(rtlpriv); in rtl_btc_get_ampdu_cfg()
138 kzalloc(sizeof(struct btc_coexist), GFP_KERNEL); in rtl_btc_alloc_variable()
179 struct btc_coexist *btcoexist = rtl_btc_coexist(rtlpriv); in rtl_btc_power_on_setting()
189 struct btc_coexist *btcoexist = rtl_btc_coexist(rtlpriv); in rtl_btc_init_hw_config()
[all …]
Dhalbtcoutsrc.h663 struct btc_coexist { struct
741 ((struct btc_coexist *)((rtlpriv)->btcoexist.btc_context)) argument
750 void exhalbtc_power_on_setting(struct btc_coexist *btcoexist);
751 void exhalbtc_pre_load_firmware(struct btc_coexist *btcoexist);
752 void exhalbtc_init_hw_config(struct btc_coexist *btcoexist, bool wifi_only);
754 void exhalbtc_init_coex_dm(struct btc_coexist *btcoexist);
755 void exhalbtc_ips_notify(struct btc_coexist *btcoexist, u8 type);
756 void exhalbtc_lps_notify(struct btc_coexist *btcoexist, u8 type);
757 void exhalbtc_scan_notify(struct btc_coexist *btcoexist, u8 type);
760 void exhalbtc_connect_notify(struct btc_coexist *btcoexist, u8 action);
[all …]
Dhalbtc8821a1ant.c25 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()
130 static u8 btc8821a1ant_wifi_rssi_state(struct btc_coexist *btcoexist, in btc8821a1ant_wifi_rssi_state()
222 static void btc8821a1ant_update_ra_mask(struct btc_coexist *btcoexist, in btc8821a1ant_update_ra_mask()
235 static void btc8821a1ant_auto_rate_fb_retry(struct btc_coexist *btcoexist, in btc8821a1ant_auto_rate_fb_retry()
275 static void btc8821a1ant_retry_limit(struct btc_coexist *btcoexist, in btc8821a1ant_retry_limit()
297 static void btc8821a1ant_ampdu_max_time(struct btc_coexist *btcoexist, in btc8821a1ant_ampdu_max_time()
320 static void btc8821a1ant_limited_tx(struct btc_coexist *btcoexist, in btc8821a1ant_limited_tx()
346 static void btc8821a1ant_limited_rx(struct btc_coexist *btcoexist, in btc8821a1ant_limited_rx()
366 static void btc8821a1ant_monitor_bt_ctr(struct btc_coexist *btcoexist) in btc8821a1ant_monitor_bt_ctr()
[all …]
Dhalbtc8192e2ant.c31 static u8 btc8192e2ant_bt_rssi_state(struct btc_coexist *btcoexist, in btc8192e2ant_bt_rssi_state()
93 static u8 btc8192e2ant_wifi_rssi_state(struct btc_coexist *btcoexist, in btc8192e2ant_wifi_rssi_state()
159 static void btc8192e2ant_monitor_bt_enable_disable(struct btc_coexist in btc8192e2ant_monitor_bt_enable_disable()
210 static u32 btc8192e2ant_decide_ra_mask(struct btc_coexist *btcoexist, in btc8192e2ant_decide_ra_mask()
241 static void btc8192e2ant_update_ra_mask(struct btc_coexist *btcoexist, in btc8192e2ant_update_ra_mask()
252 static void btc8192e2ant_auto_rate_fallback_retry(struct btc_coexist *btcoexist, in btc8192e2ant_auto_rate_fallback_retry()
291 static void btc8192e2ant_retry_limit(struct btc_coexist *btcoexist, in btc8192e2ant_retry_limit()
314 static void btc8192e2ant_ampdu_maxtime(struct btc_coexist *btcoexist, in btc8192e2ant_ampdu_maxtime()
337 static void btc8192e2ant_limited_tx(struct btc_coexist *btcoexist, in btc8192e2ant_limited_tx()
354 static void btc8192e2ant_limited_rx(struct btc_coexist *btcoexist, in btc8192e2ant_limited_rx()
[all …]
Dhalbtc8723b1ant.c42 static void halbtc8723b1ant_updatera_mask(struct btc_coexist *btcoexist, in halbtc8723b1ant_updatera_mask()
54 static void btc8723b1ant_auto_rate_fb_retry(struct btc_coexist *btcoexist, in btc8723b1ant_auto_rate_fb_retry()
93 static void halbtc8723b1ant_retry_limit(struct btc_coexist *btcoexist, in halbtc8723b1ant_retry_limit()
116 static void halbtc8723b1ant_ampdu_maxtime(struct btc_coexist *btcoexist, in halbtc8723b1ant_ampdu_maxtime()
139 static void halbtc8723b1ant_limited_tx(struct btc_coexist *btcoexist, in halbtc8723b1ant_limited_tx()
166 static void halbtc8723b1ant_limited_rx(struct btc_coexist *btcoexist, in halbtc8723b1ant_limited_rx()
191 static void halbtc8723b1ant_query_bt_info(struct btc_coexist *btcoexist) in halbtc8723b1ant_query_bt_info()
203 static void halbtc8723b1ant_monitor_bt_ctr(struct btc_coexist *btcoexist) in halbtc8723b1ant_monitor_bt_ctr()
254 static void halbtc8723b1ant_monitor_wifi_ctr(struct btc_coexist *btcoexist) in halbtc8723b1ant_monitor_wifi_ctr()
344 static bool btc8723b1ant_is_wifi_status_changed(struct btc_coexist *btcoexist) in btc8723b1ant_is_wifi_status_changed()
[all …]
Dhalbtc8723b2ant.c40 static u8 btc8723b2ant_bt_rssi_state(struct btc_coexist *btcoexist, in btc8723b2ant_bt_rssi_state()
129 static u8 btc8723b2ant_wifi_rssi_state(struct btc_coexist *btcoexist, in btc8723b2ant_wifi_rssi_state()
223 void btc8723b2ant_limited_rx(struct btc_coexist *btcoexist, bool force_exec, in btc8723b2ant_limited_rx()
245 static void btc8723b2ant_monitor_bt_ctr(struct btc_coexist *btcoexist) in btc8723b2ant_monitor_bt_ctr()
291 static void btc8723b2ant_monitor_wifi_ctr(struct btc_coexist *btcoexist) in btc8723b2ant_monitor_wifi_ctr()
328 static void btc8723b2ant_query_bt_info(struct btc_coexist *btcoexist) in btc8723b2ant_query_bt_info()
344 static bool btc8723b2ant_is_wifi_status_changed(struct btc_coexist *btcoexist) in btc8723b2ant_is_wifi_status_changed()
390 static void btc8723b2ant_update_bt_link_info(struct btc_coexist *btcoexist) in btc8723b2ant_update_bt_link_info()
438 static u8 btc8723b2ant_action_algorithm(struct btc_coexist *btcoexist) in btc8723b2ant_action_algorithm()
633 static void btc8723b2ant_set_fw_dac_swing_level(struct btc_coexist *btcoexist, in btc8723b2ant_set_fw_dac_swing_level()
[all …]
Dhalbtc8821a2ant.c41 static u8 btc8821a2ant_bt_rssi_state(struct btc_coexist *btcoexist, in btc8821a2ant_bt_rssi_state()
132 static u8 btc8821a2ant_wifi_rssi_state(struct btc_coexist *btcoexist, in btc8821a2ant_wifi_rssi_state()
226 void btc8821a2ant_limited_rx(struct btc_coexist *btcoexist, bool force_exec, in btc8821a2ant_limited_rx()
246 static void btc8821a2ant_monitor_bt_ctr(struct btc_coexist *btcoexist) in btc8821a2ant_monitor_bt_ctr()
287 static void btc8821a2ant_monitor_wifi_ctr(struct btc_coexist *btcoexist) in btc8821a2ant_monitor_wifi_ctr()
324 static void btc8821a2ant_query_bt_info(struct btc_coexist *btcoexist) in btc8821a2ant_query_bt_info()
340 static bool btc8821a2ant_is_wifi_status_changed(struct btc_coexist *btcoexist) in btc8821a2ant_is_wifi_status_changed()
381 static void btc8821a2ant_update_bt_link_info(struct btc_coexist *btcoexist) in btc8821a2ant_update_bt_link_info()
429 static u8 btc8821a2ant_action_algorithm(struct btc_coexist *btcoexist) in btc8821a2ant_action_algorithm()
617 static void btc8821a2ant_set_fw_dac_swing_lvl(struct btc_coexist *btcoexist, in btc8821a2ant_set_fw_dac_swing_lvl()
[all …]
/Linux-v6.6/drivers/staging/rtl8723bs/hal/
Dhal_btcoex.c15 struct btc_coexist GLBtCoexist;
22 static u8 halbtcoutsrc_IsBtCoexistAvailable(struct btc_coexist *pBtCoexist) in halbtcoutsrc_IsBtCoexistAvailable()
30 static void halbtcoutsrc_LeaveLps(struct btc_coexist *pBtCoexist) in halbtcoutsrc_LeaveLps()
43 static void halbtcoutsrc_EnterLps(struct btc_coexist *pBtCoexist) in halbtcoutsrc_EnterLps()
56 static void halbtcoutsrc_NormalLps(struct btc_coexist *pBtCoexist) in halbtcoutsrc_NormalLps()
75 static void halbtcoutsrc_LeaveLowPower(struct btc_coexist *pBtCoexist) in halbtcoutsrc_LeaveLowPower()
110 static void halbtcoutsrc_NormalLowPower(struct btc_coexist *pBtCoexist) in halbtcoutsrc_NormalLowPower()
119 static void halbtcoutsrc_DisableLowPower(struct btc_coexist *pBtCoexist, u8 bLowPwrDisable) in halbtcoutsrc_DisableLowPower()
128 static void halbtcoutsrc_AggregationCheck(struct btc_coexist *pBtCoexist) in halbtcoutsrc_AggregationCheck()
206 static u32 halbtcoutsrc_GetWifiLinkStatus(struct btc_coexist *pBtCoexist) in halbtcoutsrc_GetWifiLinkStatus()
[all …]
DHalBtc8723b2Ant.h132 void EXhalbtc8723b2ant_PowerOnSetting(struct btc_coexist *pBtCoexist);
133 void EXhalbtc8723b2ant_InitHwConfig(struct btc_coexist *pBtCoexist, bool bWifiOnly);
134 void EXhalbtc8723b2ant_InitCoexDm(struct btc_coexist *pBtCoexist);
135 void EXhalbtc8723b2ant_IpsNotify(struct btc_coexist *pBtCoexist, u8 type);
136 void EXhalbtc8723b2ant_LpsNotify(struct btc_coexist *pBtCoexist, u8 type);
137 void EXhalbtc8723b2ant_ScanNotify(struct btc_coexist *pBtCoexist, u8 type);
138 void EXhalbtc8723b2ant_ConnectNotify(struct btc_coexist *pBtCoexist, u8 type);
139 void EXhalbtc8723b2ant_MediaStatusNotify(struct btc_coexist *pBtCoexist, u8 type);
140 void EXhalbtc8723b2ant_SpecialPacketNotify(struct btc_coexist *pBtCoexist, u8 type);
142 struct btc_coexist *pBtCoexist, u8 *tmpBuf, u8 length
[all …]
DHalBtc8723b1Ant.h170 void EXhalbtc8723b1ant_PowerOnSetting(struct btc_coexist *pBtCoexist);
171 void EXhalbtc8723b1ant_InitHwConfig(struct btc_coexist *pBtCoexist, bool bWifiOnly);
172 void EXhalbtc8723b1ant_InitCoexDm(struct btc_coexist *pBtCoexist);
173 void EXhalbtc8723b1ant_IpsNotify(struct btc_coexist *pBtCoexist, u8 type);
174 void EXhalbtc8723b1ant_LpsNotify(struct btc_coexist *pBtCoexist, u8 type);
175 void EXhalbtc8723b1ant_ScanNotify(struct btc_coexist *pBtCoexist, u8 type);
176 void EXhalbtc8723b1ant_ConnectNotify(struct btc_coexist *pBtCoexist, u8 type);
177 void EXhalbtc8723b1ant_MediaStatusNotify(struct btc_coexist *pBtCoexist, u8 type);
178 void EXhalbtc8723b1ant_SpecialPacketNotify(struct btc_coexist *pBtCoexist, u8 type);
180 struct btc_coexist *pBtCoexist, u8 *tmpBuf, u8 length
[all …]
DHalBtcOutSrc.h360 struct btc_coexist { struct
403 extern struct btc_coexist GLBtCoexist; argument
405 void EXhalbtcoutsrc_PowerOnSetting(struct btc_coexist *pBtCoexist);
406 void EXhalbtcoutsrc_InitHwConfig(struct btc_coexist *pBtCoexist, u8 bWifiOnly);
407 void EXhalbtcoutsrc_InitCoexDm(struct btc_coexist *pBtCoexist);
408 void EXhalbtcoutsrc_IpsNotify(struct btc_coexist *pBtCoexist, u8 type);
409 void EXhalbtcoutsrc_LpsNotify(struct btc_coexist *pBtCoexist, u8 type);
410 void EXhalbtcoutsrc_ScanNotify(struct btc_coexist *pBtCoexist, u8 type);
411 void EXhalbtcoutsrc_ConnectNotify(struct btc_coexist *pBtCoexist, u8 action);
413 struct btc_coexist *pBtCoexist, enum rt_media_status mediaStatus
[all …]
DHalBtc8723b2Ant.c90 struct btc_coexist *pBtCoexist, in halbtc8723b2ant_WifiRssiState()
159 struct btc_coexist *pBtCoexist, in halbtc8723b2ant_LimitedRx()
182 static void halbtc8723b2ant_QueryBtInfo(struct btc_coexist *pBtCoexist) in halbtc8723b2ant_QueryBtInfo()
193 static bool halbtc8723b2ant_IsWifiStatusChanged(struct btc_coexist *pBtCoexist) in halbtc8723b2ant_IsWifiStatusChanged()
224 static void halbtc8723b2ant_UpdateBtLinkInfo(struct btc_coexist *pBtCoexist) in halbtc8723b2ant_UpdateBtLinkInfo()
288 static u8 halbtc8723b2ant_ActionAlgorithm(struct btc_coexist *pBtCoexist) in halbtc8723b2ant_ActionAlgorithm()
418 struct btc_coexist *pBtCoexist, u8 dacSwingLvl in halbtc8723b2ant_SetFwDacSwingLevel()
431 struct btc_coexist *pBtCoexist, u8 decBtPwrLvl in halbtc8723b2ant_SetFwDecBtPwr()
442 struct btc_coexist *pBtCoexist, bool bForceExec, u8 decBtPwrLvl in halbtc8723b2ant_DecBtPwr()
457 struct btc_coexist *pBtCoexist, bool bForceExec, u8 fwDacSwingLvl in halbtc8723b2ant_FwDacSwingLvl()
[all …]
DHalBtc8723b1Ant.c79 struct btc_coexist *pBtCoexist, bool bForceExec, u32 disRateMask in halbtc8723b1ant_UpdateRaMask()
94 struct btc_coexist *pBtCoexist, bool bForceExec, u8 type in halbtc8723b1ant_AutoRateFallbackRetry()
132 struct btc_coexist *pBtCoexist, bool bForceExec, u8 type in halbtc8723b1ant_RetryLimit()
159 struct btc_coexist *pBtCoexist, bool bForceExec, u8 type in halbtc8723b1ant_AmpduMaxTime()
185 struct btc_coexist *pBtCoexist, in halbtc8723b1ant_LimitedTx()
213 struct btc_coexist *pBtCoexist, in halbtc8723b1ant_LimitedRx()
242 static void halbtc8723b1ant_QueryBtInfo(struct btc_coexist *pBtCoexist) in halbtc8723b1ant_QueryBtInfo()
253 static void halbtc8723b1ant_MonitorBtCtr(struct btc_coexist *pBtCoexist) in halbtc8723b1ant_MonitorBtCtr()
302 static void halbtc8723b1ant_MonitorWiFiCtr(struct btc_coexist *pBtCoexist) in halbtc8723b1ant_MonitorWiFiCtr()
388 static bool halbtc8723b1ant_IsWifiStatusChanged(struct btc_coexist *pBtCoexist) in halbtc8723b1ant_IsWifiStatusChanged()
[all …]