Lines Matching refs:rtw_dev
13 static u8 rtw_coex_next_rssi_state(struct rtw_dev *rtwdev, u8 pre_state, in rtw_coex_next_rssi_state()
36 static void rtw_coex_limited_tx(struct rtw_dev *rtwdev, in rtw_coex_limited_tx()
97 static void rtw_coex_limited_wl(struct rtw_dev *rtwdev) in rtw_coex_limited_wl()
112 static bool rtw_coex_freerun_check(struct rtw_dev *rtwdev) in rtw_coex_freerun_check()
148 static void rtw_coex_wl_slot_extend(struct rtw_dev *rtwdev, bool enable) in rtw_coex_wl_slot_extend()
166 static void rtw_coex_wl_ccklock_action(struct rtw_dev *rtwdev) in rtw_coex_wl_ccklock_action()
206 static void rtw_coex_wl_ccklock_detect(struct rtw_dev *rtwdev) in rtw_coex_wl_ccklock_detect()
254 static void rtw_coex_wl_noisy_detect(struct rtw_dev *rtwdev) in rtw_coex_wl_noisy_detect()
304 static void rtw_coex_tdma_timer_base(struct rtw_dev *rtwdev, u8 type) in rtw_coex_tdma_timer_base()
351 static void rtw_coex_set_wl_pri_mask(struct rtw_dev *rtwdev, u8 bitmap, in rtw_coex_set_wl_pri_mask()
362 void rtw_coex_write_scbd(struct rtw_dev *rtwdev, u16 bitpos, bool set) in rtw_coex_write_scbd()
397 static u16 rtw_coex_read_scbd(struct rtw_dev *rtwdev) in rtw_coex_read_scbd()
407 static void rtw_coex_check_rfk(struct rtw_dev *rtwdev) in rtw_coex_check_rfk()
445 static void rtw_coex_query_bt_info(struct rtw_dev *rtwdev) in rtw_coex_query_bt_info()
458 static void rtw_coex_gnt_workaround(struct rtw_dev *rtwdev, bool force, u8 mode) in rtw_coex_gnt_workaround()
463 static void rtw_coex_monitor_bt_enable(struct rtw_dev *rtwdev) in rtw_coex_monitor_bt_enable()
498 static void rtw_coex_update_wl_link_info(struct rtw_dev *rtwdev, u8 reason) in rtw_coex_update_wl_link_info()
589 void rtw_coex_info_response(struct rtw_dev *rtwdev, struct sk_buff *skb) in rtw_coex_info_response()
603 static struct sk_buff *rtw_coex_info_request(struct rtw_dev *rtwdev, in rtw_coex_info_request()
630 static bool rtw_coex_get_bt_scan_type(struct rtw_dev *rtwdev, u8 *scan_type) in rtw_coex_get_bt_scan_type()
647 static bool rtw_coex_set_lna_constrain_level(struct rtw_dev *rtwdev, in rtw_coex_set_lna_constrain_level()
680 static void rtw_coex_update_bt_link_info(struct rtw_dev *rtwdev) in rtw_coex_update_bt_link_info()
780 static void rtw_coex_update_wl_ch_info(struct rtw_dev *rtwdev, u8 type) in rtw_coex_update_wl_ch_info()
826 static void rtw_coex_set_bt_tx_power(struct rtw_dev *rtwdev, u8 bt_pwr_dec_lvl) in rtw_coex_set_bt_tx_power()
839 static void rtw_coex_set_bt_rx_gain(struct rtw_dev *rtwdev, u8 bt_lna_lvl) in rtw_coex_set_bt_rx_gain()
860 static void rtw_coex_set_rf_para(struct rtw_dev *rtwdev, in rtw_coex_set_rf_para()
876 u32 rtw_coex_read_indirect_reg(struct rtw_dev *rtwdev, u16 addr) in rtw_coex_read_indirect_reg()
889 void rtw_coex_write_indirect_reg(struct rtw_dev *rtwdev, u16 addr, in rtw_coex_write_indirect_reg()
903 static void rtw_coex_coex_ctrl_owner(struct rtw_dev *rtwdev, bool wifi_control) in rtw_coex_coex_ctrl_owner()
921 static void rtw_coex_set_gnt_bt(struct rtw_dev *rtwdev, u8 state) in rtw_coex_set_gnt_bt()
927 static void rtw_coex_set_gnt_wl(struct rtw_dev *rtwdev, u8 state) in rtw_coex_set_gnt_wl()
933 static void rtw_btc_wltoggle_table_a(struct rtw_dev *rtwdev, bool force, in rtw_btc_wltoggle_table_a()
968 static void rtw_btc_wltoggle_table_b(struct rtw_dev *rtwdev, bool force, in rtw_btc_wltoggle_table_b()
996 static void rtw_coex_set_table(struct rtw_dev *rtwdev, bool force, u32 table0, in rtw_coex_set_table()
1018 static void rtw_coex_table(struct rtw_dev *rtwdev, bool force, u8 type) in rtw_coex_table()
1046 static void rtw_coex_ignore_wlan_act(struct rtw_dev *rtwdev, bool enable) in rtw_coex_ignore_wlan_act()
1056 static void rtw_coex_power_save_state(struct rtw_dev *rtwdev, u8 ps_type, in rtw_coex_power_save_state()
1087 static void rtw_coex_set_tdma(struct rtw_dev *rtwdev, u8 byte1, u8 byte2, in rtw_coex_set_tdma()
1145 static void rtw_coex_tdma(struct rtw_dev *rtwdev, bool force, u32 tcase) in rtw_coex_tdma()
1211 static void rtw_coex_set_ant_path(struct rtw_dev *rtwdev, bool force, u8 phase) in rtw_coex_set_ant_path()
1411 static u8 rtw_coex_algorithm(struct rtw_dev *rtwdev) in rtw_coex_algorithm()
1478 static void rtw_coex_action_coex_all_off(struct rtw_dev *rtwdev) in rtw_coex_action_coex_all_off()
1501 static void rtw_coex_action_freerun(struct rtw_dev *rtwdev) in rtw_coex_action_freerun()
1546 static void rtw_coex_action_rf4ce(struct rtw_dev *rtwdev) in rtw_coex_action_rf4ce()
1571 static void rtw_coex_action_bt_whql_test(struct rtw_dev *rtwdev) in rtw_coex_action_bt_whql_test()
1596 static void rtw_coex_action_bt_relink(struct rtw_dev *rtwdev) in rtw_coex_action_bt_relink()
1636 static void rtw_coex_action_bt_idle(struct rtw_dev *rtwdev) in rtw_coex_action_bt_idle()
1705 static void rtw_coex_action_bt_inquiry(struct rtw_dev *rtwdev) in rtw_coex_action_bt_inquiry()
1805 static void rtw_coex_action_bt_hfp(struct rtw_dev *rtwdev) in rtw_coex_action_bt_hfp()
1841 static void rtw_coex_action_bt_hid(struct rtw_dev *rtwdev) in rtw_coex_action_bt_hid()
1924 static void rtw_coex_action_bt_a2dp(struct rtw_dev *rtwdev) in rtw_coex_action_bt_a2dp()
1966 static void rtw_coex_action_bt_a2dpsink(struct rtw_dev *rtwdev) in rtw_coex_action_bt_a2dpsink()
2005 static void rtw_coex_action_bt_pan(struct rtw_dev *rtwdev) in rtw_coex_action_bt_pan()
2042 static void rtw_coex_action_bt_a2dp_hid(struct rtw_dev *rtwdev) in rtw_coex_action_bt_a2dp_hid()
2099 static void rtw_coex_action_bt_a2dp_pan(struct rtw_dev *rtwdev) in rtw_coex_action_bt_a2dp_pan()
2156 static void rtw_coex_action_bt_pan_hid(struct rtw_dev *rtwdev) in rtw_coex_action_bt_pan_hid()
2191 static void rtw_coex_action_bt_a2dp_pan_hid(struct rtw_dev *rtwdev) in rtw_coex_action_bt_a2dp_pan_hid()
2225 static void rtw_coex_action_wl_under5g(struct rtw_dev *rtwdev) in rtw_coex_action_wl_under5g()
2252 static void rtw_coex_action_wl_only(struct rtw_dev *rtwdev) in rtw_coex_action_wl_only()
2276 static void rtw_coex_action_wl_native_lps(struct rtw_dev *rtwdev) in rtw_coex_action_wl_native_lps()
2305 static void rtw_coex_action_wl_linkscan(struct rtw_dev *rtwdev) in rtw_coex_action_wl_linkscan()
2345 static void rtw_coex_action_wl_not_connected(struct rtw_dev *rtwdev) in rtw_coex_action_wl_not_connected()
2369 static void rtw_coex_action_wl_connected(struct rtw_dev *rtwdev) in rtw_coex_action_wl_connected()
2422 static void rtw_coex_run_coex(struct rtw_dev *rtwdev, u8 reason) in rtw_coex_run_coex()
2537 static void rtw_coex_init_coex_var(struct rtw_dev *rtwdev) in rtw_coex_init_coex_var()
2564 static void __rtw_coex_init_hw_config(struct rtw_dev *rtwdev, bool wifi_only) in __rtw_coex_init_hw_config()
2619 void rtw_coex_power_on_setting(struct rtw_dev *rtwdev) in rtw_coex_power_on_setting()
2645 void rtw_coex_power_off_setting(struct rtw_dev *rtwdev) in rtw_coex_power_off_setting()
2650 void rtw_coex_init_hw_config(struct rtw_dev *rtwdev, bool wifi_only) in rtw_coex_init_hw_config()
2655 void rtw_coex_ips_notify(struct rtw_dev *rtwdev, u8 type) in rtw_coex_ips_notify()
2684 void rtw_coex_lps_notify(struct rtw_dev *rtwdev, u8 type) in rtw_coex_lps_notify()
2722 void rtw_coex_scan_notify(struct rtw_dev *rtwdev, u8 type) in rtw_coex_scan_notify()
2760 void rtw_coex_switchband_notify(struct rtw_dev *rtwdev, u8 type) in rtw_coex_switchband_notify()
2786 void rtw_coex_connect_notify(struct rtw_dev *rtwdev, u8 type) in rtw_coex_connect_notify()
2840 void rtw_coex_media_status_notify(struct rtw_dev *rtwdev, u8 type) in rtw_coex_media_status_notify()
2878 void rtw_coex_bt_info_notify(struct rtw_dev *rtwdev, u8 *buf, u8 length) in rtw_coex_bt_info_notify()
3142 void rtw_coex_wl_fwdbginfo_notify(struct rtw_dev *rtwdev, u8 *buf, u8 length) in rtw_coex_wl_fwdbginfo_notify()
3173 void rtw_coex_wl_status_change_notify(struct rtw_dev *rtwdev, u32 type) in rtw_coex_wl_status_change_notify()
3180 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, in rtw_coex_bt_relink_work()
3192 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, in rtw_coex_bt_reenable_work()
3203 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, in rtw_coex_defreeze_work()
3217 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, in rtw_coex_wl_remain_work()
3229 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, in rtw_coex_bt_remain_work()
3241 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, in rtw_coex_wl_connecting_work()
3254 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, in rtw_coex_bt_multi_link_remain_work()
3265 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, in rtw_coex_wl_ccklock_work()
3317 static u8 rtw_coex_get_table_index(struct rtw_dev *rtwdev, u32 wl_reg_6c0, in rtw_coex_get_table_index()
3354 static u8 rtw_coex_get_tdma_index(struct rtw_dev *rtwdev, u8 *tdma_para) in rtw_coex_get_tdma_index()
3392 static int rtw_coex_addr_info(struct rtw_dev *rtwdev, in rtw_coex_addr_info()
3437 static int rtw_coex_val_info(struct rtw_dev *rtwdev, in rtw_coex_val_info()
3472 static void rtw_coex_set_coexinfo_hw(struct rtw_dev *rtwdev, struct seq_file *m) in rtw_coex_set_coexinfo_hw()
3499 static bool rtw_coex_get_bt_reg(struct rtw_dev *rtwdev, in rtw_coex_get_bt_reg()
3525 static bool rtw_coex_get_bt_patch_version(struct rtw_dev *rtwdev, in rtw_coex_get_bt_patch_version()
3544 static bool rtw_coex_get_bt_supported_version(struct rtw_dev *rtwdev, in rtw_coex_get_bt_supported_version()
3563 static bool rtw_coex_get_bt_supported_feature(struct rtw_dev *rtwdev, in rtw_coex_get_bt_supported_feature()
3606 struct rtw_dev *rtwdev;
3615 struct rtw_dev *rtwdev = vif_iter_data->rtwdev; in rtw_coex_vif_stat_iter()
3645 void rtw_coex_display_coex_info(struct rtw_dev *rtwdev, struct seq_file *m) in rtw_coex_display_coex_info()