Lines Matching defs:rtwdev
12 static u8 rtw_coex_next_rssi_state(struct rtw_dev *rtwdev, u8 pre_state, in rtw_coex_next_rssi_state()
35 static void rtw_coex_limited_tx(struct rtw_dev *rtwdev, in rtw_coex_limited_tx()
100 static void rtw_coex_limited_wl(struct rtw_dev *rtwdev) in rtw_coex_limited_wl()
121 static void rtw_coex_wl_ccklock_action(struct rtw_dev *rtwdev) in rtw_coex_wl_ccklock_action()
160 static void rtw_coex_wl_ccklock_detect(struct rtw_dev *rtwdev) in rtw_coex_wl_ccklock_detect()
171 static void rtw_coex_wl_noisy_detect(struct rtw_dev *rtwdev) in rtw_coex_wl_noisy_detect()
217 static void rtw_coex_tdma_timer_base(struct rtw_dev *rtwdev, u8 type) in rtw_coex_tdma_timer_base()
242 static void rtw_coex_set_wl_pri_mask(struct rtw_dev *rtwdev, u8 bitmap, in rtw_coex_set_wl_pri_mask()
253 void rtw_coex_write_scbd(struct rtw_dev *rtwdev, u16 bitpos, bool set) in rtw_coex_write_scbd()
288 static u16 rtw_coex_read_scbd(struct rtw_dev *rtwdev) in rtw_coex_read_scbd()
298 static void rtw_coex_check_rfk(struct rtw_dev *rtwdev) in rtw_coex_check_rfk()
329 static void rtw_coex_query_bt_info(struct rtw_dev *rtwdev) in rtw_coex_query_bt_info()
340 static void rtw_coex_monitor_bt_enable(struct rtw_dev *rtwdev) in rtw_coex_monitor_bt_enable()
373 static void rtw_coex_update_wl_link_info(struct rtw_dev *rtwdev, u8 reason) in rtw_coex_update_wl_link_info()
458 void rtw_coex_info_response(struct rtw_dev *rtwdev, struct sk_buff *skb) in rtw_coex_info_response()
470 static struct sk_buff *rtw_coex_info_request(struct rtw_dev *rtwdev, in rtw_coex_info_request()
497 static bool rtw_coex_get_bt_scan_type(struct rtw_dev *rtwdev, u8 *scan_type) in rtw_coex_get_bt_scan_type()
518 static bool rtw_coex_set_lna_constrain_level(struct rtw_dev *rtwdev, in rtw_coex_set_lna_constrain_level()
538 static void rtw_coex_update_bt_link_info(struct rtw_dev *rtwdev) in rtw_coex_update_bt_link_info()
645 static void rtw_coex_update_wl_ch_info(struct rtw_dev *rtwdev, u8 type) in rtw_coex_update_wl_ch_info()
687 static void rtw_coex_set_bt_tx_power(struct rtw_dev *rtwdev, u8 bt_pwr_dec_lvl) in rtw_coex_set_bt_tx_power()
700 static void rtw_coex_set_bt_rx_gain(struct rtw_dev *rtwdev, u8 bt_lna_lvl) in rtw_coex_set_bt_rx_gain()
719 static void rtw_coex_set_rf_para(struct rtw_dev *rtwdev, in rtw_coex_set_rf_para()
735 u32 rtw_coex_read_indirect_reg(struct rtw_dev *rtwdev, u16 addr) in rtw_coex_read_indirect_reg()
748 void rtw_coex_write_indirect_reg(struct rtw_dev *rtwdev, u16 addr, in rtw_coex_write_indirect_reg()
762 static void rtw_coex_coex_ctrl_owner(struct rtw_dev *rtwdev, bool wifi_control) in rtw_coex_coex_ctrl_owner()
778 static void rtw_coex_set_gnt_bt(struct rtw_dev *rtwdev, u8 state) in rtw_coex_set_gnt_bt()
784 static void rtw_coex_set_gnt_wl(struct rtw_dev *rtwdev, u8 state) in rtw_coex_set_gnt_wl()
790 static void rtw_coex_set_table(struct rtw_dev *rtwdev, u32 table0, u32 table1) in rtw_coex_set_table()
798 static void rtw_coex_table(struct rtw_dev *rtwdev, u8 type) in rtw_coex_table()
821 static void rtw_coex_ignore_wlan_act(struct rtw_dev *rtwdev, bool enable) in rtw_coex_ignore_wlan_act()
831 static void rtw_coex_power_save_state(struct rtw_dev *rtwdev, u8 ps_type, in rtw_coex_power_save_state()
859 static void rtw_coex_set_tdma(struct rtw_dev *rtwdev, u8 byte1, u8 byte2, in rtw_coex_set_tdma()
897 static void rtw_coex_tdma(struct rtw_dev *rtwdev, bool force, u32 tcase) in rtw_coex_tdma()
963 static void rtw_coex_set_ant_path(struct rtw_dev *rtwdev, bool force, u8 phase) in rtw_coex_set_ant_path()
1092 static u8 rtw_coex_algorithm(struct rtw_dev *rtwdev) in rtw_coex_algorithm()
1155 static void rtw_coex_action_coex_all_off(struct rtw_dev *rtwdev) in rtw_coex_action_coex_all_off()
1176 static void rtw_coex_action_freerun(struct rtw_dev *rtwdev) in rtw_coex_action_freerun()
1218 static void rtw_coex_action_bt_whql_test(struct rtw_dev *rtwdev) in rtw_coex_action_bt_whql_test()
1240 static void rtw_coex_action_bt_relink(struct rtw_dev *rtwdev) in rtw_coex_action_bt_relink()
1262 static void rtw_coex_action_bt_idle(struct rtw_dev *rtwdev) in rtw_coex_action_bt_idle()
1325 static void rtw_coex_action_bt_inquiry(struct rtw_dev *rtwdev) in rtw_coex_action_bt_inquiry()
1406 static void rtw_coex_action_bt_hfp(struct rtw_dev *rtwdev) in rtw_coex_action_bt_hfp()
1440 static void rtw_coex_action_bt_hid(struct rtw_dev *rtwdev) in rtw_coex_action_bt_hid()
1505 static void rtw_coex_action_bt_a2dp(struct rtw_dev *rtwdev) in rtw_coex_action_bt_a2dp()
1544 static void rtw_coex_action_bt_a2dpsink(struct rtw_dev *rtwdev) in rtw_coex_action_bt_a2dpsink()
1580 static void rtw_coex_action_bt_pan(struct rtw_dev *rtwdev) in rtw_coex_action_bt_pan()
1615 static void rtw_coex_action_bt_a2dp_hid(struct rtw_dev *rtwdev) in rtw_coex_action_bt_a2dp_hid()
1658 static void rtw_coex_action_bt_a2dp_pan(struct rtw_dev *rtwdev) in rtw_coex_action_bt_a2dp_pan()
1694 static void rtw_coex_action_bt_pan_hid(struct rtw_dev *rtwdev) in rtw_coex_action_bt_pan_hid()
1726 static void rtw_coex_action_bt_a2dp_pan_hid(struct rtw_dev *rtwdev) in rtw_coex_action_bt_a2dp_pan_hid()
1758 static void rtw_coex_action_wl_under5g(struct rtw_dev *rtwdev) in rtw_coex_action_wl_under5g()
1782 static void rtw_coex_action_wl_only(struct rtw_dev *rtwdev) in rtw_coex_action_wl_only()
1804 static void rtw_coex_action_wl_native_lps(struct rtw_dev *rtwdev) in rtw_coex_action_wl_native_lps()
1830 static void rtw_coex_action_wl_linkscan(struct rtw_dev *rtwdev) in rtw_coex_action_wl_linkscan()
1866 static void rtw_coex_action_wl_not_connected(struct rtw_dev *rtwdev) in rtw_coex_action_wl_not_connected()
1888 static void rtw_coex_action_wl_connected(struct rtw_dev *rtwdev) in rtw_coex_action_wl_connected()
1941 static void rtw_coex_run_coex(struct rtw_dev *rtwdev, u8 reason) in rtw_coex_run_coex()
2028 static void rtw_coex_init_coex_var(struct rtw_dev *rtwdev) in rtw_coex_init_coex_var()
2053 static void __rtw_coex_init_hw_config(struct rtw_dev *rtwdev, bool wifi_only) in __rtw_coex_init_hw_config()
2095 void rtw_coex_power_on_setting(struct rtw_dev *rtwdev) in rtw_coex_power_on_setting()
2115 void rtw_coex_init_hw_config(struct rtw_dev *rtwdev, bool wifi_only) in rtw_coex_init_hw_config()
2120 void rtw_coex_ips_notify(struct rtw_dev *rtwdev, u8 type) in rtw_coex_ips_notify()
2147 void rtw_coex_lps_notify(struct rtw_dev *rtwdev, u8 type) in rtw_coex_lps_notify()
2178 void rtw_coex_scan_notify(struct rtw_dev *rtwdev, u8 type) in rtw_coex_scan_notify()
2207 void rtw_coex_switchband_notify(struct rtw_dev *rtwdev, u8 type) in rtw_coex_switchband_notify()
2222 void rtw_coex_connect_notify(struct rtw_dev *rtwdev, u8 type) in rtw_coex_connect_notify()
2262 void rtw_coex_media_status_notify(struct rtw_dev *rtwdev, u8 type) in rtw_coex_media_status_notify()
2302 void rtw_coex_bt_info_notify(struct rtw_dev *rtwdev, u8 *buf, u8 length) in rtw_coex_bt_info_notify()
2489 void rtw_coex_wl_fwdbginfo_notify(struct rtw_dev *rtwdev, u8 *buf, u8 length) in rtw_coex_wl_fwdbginfo_notify()
2517 void rtw_coex_wl_status_change_notify(struct rtw_dev *rtwdev) in rtw_coex_wl_status_change_notify()
2529 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, in rtw_coex_bt_relink_work() local
2541 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, in rtw_coex_bt_reenable_work() local
2552 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, in rtw_coex_defreeze_work() local
2566 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, in rtw_coex_wl_remain_work() local
2578 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, in rtw_coex_bt_remain_work() local
2631 static int rtw_coex_addr_info(struct rtw_dev *rtwdev, in rtw_coex_addr_info()
2676 static int rtw_coex_val_info(struct rtw_dev *rtwdev, in rtw_coex_val_info()
2711 static void rtw_coex_set_coexinfo_hw(struct rtw_dev *rtwdev, struct seq_file *m) in rtw_coex_set_coexinfo_hw()
2738 static bool rtw_coex_get_bt_reg(struct rtw_dev *rtwdev, in rtw_coex_get_bt_reg()
2763 static bool rtw_coex_get_bt_patch_version(struct rtw_dev *rtwdev, in rtw_coex_get_bt_patch_version()
2784 static bool rtw_coex_get_bt_supported_version(struct rtw_dev *rtwdev, in rtw_coex_get_bt_supported_version()
2805 static bool rtw_coex_get_bt_supported_feature(struct rtw_dev *rtwdev, in rtw_coex_get_bt_supported_feature()
2850 struct rtw_dev *rtwdev; member
2859 struct rtw_dev *rtwdev = vif_iter_data->rtwdev; in rtw_coex_vif_stat_iter() local
2876 void rtw_coex_display_coex_info(struct rtw_dev *rtwdev, struct seq_file *m) in rtw_coex_display_coex_info()