Lines Matching refs:coex

39 	struct rtw_coex *coex = &rtwdev->coex;  in rtw_coex_limited_tx()  local
40 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_limited_tx()
102 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_limited_wl() local
103 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_limited_wl()
104 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_limited_wl()
108 if (coex->under_5g || in rtw_coex_limited_wl()
123 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_wl_ccklock_action() local
124 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_wl_ccklock_action()
127 if (coex->stop_dm) in rtw_coex_wl_ccklock_action()
162 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_wl_ccklock_detect() local
163 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_wl_ccklock_detect()
173 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_wl_noisy_detect() local
174 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_wl_noisy_detect()
219 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_tdma_timer_base() local
220 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_tdma_timer_base()
256 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_write_scbd() local
257 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_write_scbd()
301 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_check_rfk() local
302 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_check_rfk()
303 struct rtw_coex_rfe *coex_rfe = &coex->rfe; in rtw_coex_check_rfk()
331 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_query_bt_info() local
332 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_query_bt_info()
343 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_monitor_bt_enable() local
344 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_monitor_bt_enable()
345 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_monitor_bt_enable()
366 &coex->bt_reenable_work, 15 * HZ); in rtw_coex_monitor_bt_enable()
375 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_update_wl_link_info() local
376 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_update_wl_link_info()
377 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_update_wl_link_info()
397 &coex->wl_remain_work, in rtw_coex_update_wl_link_info()
444 coex->under_5g = is_5G; in rtw_coex_update_wl_link_info()
460 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_info_response() local
466 skb_queue_tail(&coex->queue, skb); in rtw_coex_info_response()
467 wake_up(&coex->wait); in rtw_coex_info_response()
473 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_info_request() local
476 mutex_lock(&coex->mutex); in rtw_coex_info_request()
480 if (!wait_event_timeout(coex->wait, !skb_queue_empty(&coex->queue), in rtw_coex_info_request()
486 skb_resp = skb_dequeue(&coex->queue); in rtw_coex_info_request()
493 mutex_unlock(&coex->mutex); in rtw_coex_info_request()
540 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_update_bt_link_info() local
541 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_update_bt_link_info()
542 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_update_bt_link_info()
648 struct rtw_coex_dm *coex_dm = &rtwdev->coex.dm; in rtw_coex_update_wl_ch_info()
689 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_set_bt_tx_power() local
690 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_set_bt_tx_power()
702 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_set_bt_rx_gain() local
703 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_set_bt_rx_gain()
722 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_set_rf_para() local
723 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_set_rf_para()
726 if (coex->freerun && coex_stat->wl_noisy_level <= 1) in rtw_coex_set_rf_para()
800 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_table() local
801 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_table()
823 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_ignore_wlan_act() local
825 if (coex->stop_dm) in rtw_coex_ignore_wlan_act()
834 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_power_save_state() local
835 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_power_save_state()
862 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_set_tdma() local
863 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_set_tdma()
899 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_tdma() local
900 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_tdma()
901 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_tdma()
965 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_set_ant_path() local
966 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_set_ant_path()
967 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_set_ant_path()
1094 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_algorithm() local
1095 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_algorithm()
1178 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_action_freerun() local
1179 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_action_freerun()
1180 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_action_freerun()
1188 coex->freerun = true; in rtw_coex_action_freerun()
1264 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_action_bt_idle() local
1265 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_action_bt_idle()
1266 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_action_bt_idle()
1269 struct rtw_coex_rfe *coex_rfe = &coex->rfe; in rtw_coex_action_bt_idle()
1327 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_action_bt_inquiry() local
1328 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_action_bt_inquiry()
1408 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_action_bt_hfp() local
1409 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_action_bt_hfp()
1442 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_action_bt_hid() local
1443 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_action_bt_hid()
1507 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_action_bt_a2dp() local
1508 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_action_bt_a2dp()
1509 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_action_bt_a2dp()
1546 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_action_bt_a2dpsink() local
1547 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_action_bt_a2dpsink()
1582 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_action_bt_pan() local
1583 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_action_bt_pan()
1617 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_action_bt_a2dp_hid() local
1618 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_action_bt_a2dp_hid()
1619 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_action_bt_a2dp_hid()
1660 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_action_bt_a2dp_pan() local
1661 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_action_bt_a2dp_pan()
1696 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_action_bt_pan_hid() local
1697 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_action_bt_pan_hid()
1728 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_action_bt_a2dp_pan_hid() local
1729 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_action_bt_a2dp_pan_hid()
1806 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_action_wl_native_lps() local
1811 if (coex->under_5g) in rtw_coex_action_wl_native_lps()
1832 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_action_wl_linkscan() local
1833 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_action_wl_linkscan()
1890 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_action_wl_connected() local
1891 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_action_wl_connected()
1892 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_action_wl_connected()
1943 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_run_coex() local
1944 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_run_coex()
1945 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_run_coex()
1959 if (coex->stop_dm) in rtw_coex_run_coex()
1965 if (coex->freeze && coex_dm->reason == COEX_RSN_BTINFO && in rtw_coex_run_coex()
1970 coex->freerun = false; in rtw_coex_run_coex()
1973 if (coex->under_5g) { in rtw_coex_run_coex()
2030 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_init_coex_var() local
2031 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_init_coex_var()
2032 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_init_coex_var()
2055 struct rtw_coex *coex = &rtwdev->coex; in __rtw_coex_init_hw_config() local
2072 if (coex->wl_rf_off) { in __rtw_coex_init_hw_config()
2075 coex->stop_dm = true; in __rtw_coex_init_hw_config()
2080 coex->stop_dm = true; in __rtw_coex_init_hw_config()
2085 coex->stop_dm = false; in __rtw_coex_init_hw_config()
2086 coex->freeze = true; in __rtw_coex_init_hw_config()
2097 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_power_on_setting() local
2099 coex->stop_dm = true; in rtw_coex_power_on_setting()
2100 coex->wl_rf_off = false; in rtw_coex_power_on_setting()
2122 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_ips_notify() local
2123 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_ips_notify()
2125 if (coex->stop_dm) in rtw_coex_ips_notify()
2149 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_lps_notify() local
2150 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_lps_notify()
2152 if (coex->stop_dm) in rtw_coex_lps_notify()
2180 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_scan_notify() local
2181 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_scan_notify()
2183 if (coex->stop_dm) in rtw_coex_scan_notify()
2186 coex->freeze = false; in rtw_coex_scan_notify()
2209 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_switchband_notify() local
2211 if (coex->stop_dm) in rtw_coex_switchband_notify()
2224 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_connect_notify() local
2225 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_connect_notify()
2227 if (coex->stop_dm) in rtw_coex_connect_notify()
2251 coex->freeze = true; in rtw_coex_connect_notify()
2252 ieee80211_queue_delayed_work(rtwdev->hw, &coex->defreeze_work, in rtw_coex_connect_notify()
2256 coex->freeze = false; in rtw_coex_connect_notify()
2264 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_media_status_notify() local
2265 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_media_status_notify()
2268 if (coex->stop_dm) in rtw_coex_media_status_notify()
2304 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_bt_info_notify() local
2305 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_bt_info_notify()
2340 &coex->bt_reenable_work, in rtw_coex_bt_info_notify()
2380 cancel_delayed_work_sync(&coex->bt_remain_work); in rtw_coex_bt_info_notify()
2387 &coex->bt_remain_work, in rtw_coex_bt_info_notify()
2438 &coex->bt_relink_work, in rtw_coex_bt_info_notify()
2491 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_wl_fwdbginfo_notify() local
2492 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_wl_fwdbginfo_notify()
2519 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_wl_status_change_notify() local
2521 if (coex->stop_dm) in rtw_coex_wl_status_change_notify()
2530 coex.bt_relink_work.work); in rtw_coex_bt_relink_work()
2531 struct rtw_coex_stat *coex_stat = &rtwdev->coex.stat; in rtw_coex_bt_relink_work()
2542 coex.bt_reenable_work.work); in rtw_coex_bt_reenable_work()
2543 struct rtw_coex_stat *coex_stat = &rtwdev->coex.stat; in rtw_coex_bt_reenable_work()
2553 coex.defreeze_work.work); in rtw_coex_defreeze_work()
2554 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_defreeze_work() local
2555 struct rtw_coex_stat *coex_stat = &rtwdev->coex.stat; in rtw_coex_defreeze_work()
2558 coex->freeze = false; in rtw_coex_defreeze_work()
2567 coex.wl_remain_work.work); in rtw_coex_wl_remain_work()
2568 struct rtw_coex_stat *coex_stat = &rtwdev->coex.stat; in rtw_coex_wl_remain_work()
2579 coex.bt_remain_work.work); in rtw_coex_bt_remain_work()
2580 struct rtw_coex_stat *coex_stat = &rtwdev->coex.stat; in rtw_coex_bt_remain_work()
2880 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_display_coex_info() local
2881 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_display_coex_info()
2882 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_display_coex_info()