Home
last modified time | relevance | path

Searched refs:rtw89_dev (Results 1 – 25 of 59) sorted by relevance

123

/linux/drivers/net/wireless/realtek/rtw89/
H A Drtw8852b_common.h117 int (*mac_enable_bb_rf)(struct rtw89_dev *rtwdev);
119 void (*bb_sethw)(struct rtw89_dev *rtwdev);
123 void (*bb_ctrl_rx_path)(struct rtw89_dev *rtwdev,
126 void (*bb_set_plcp_tx)(struct rtw89_dev *rtwdev);
138 void (*set_channel_mac)(struct rtw89_dev *rtwdev,
146 void (*query_ppdu)(struct rtw89_dev *rtwdev,
154 void (*power_trim)(struct rtw89_dev *rtwdev);
155 void (*set_txpwr)(struct rtw89_dev *rtwdev,
158 void (*set_txpwr_ctrl)(struct rtw89_dev *rtwdev,
165 void (*btc_init_cfg)(struct rtw89_dev *rtwdev);
[all …]
H A Dmac.h948 int (*sys_init)(struct rtw89_dev *rtwdev);
949 int (*trx_init)(struct rtw89_dev *rtwdev);
950 void (*hci_func_en)(struct rtw89_dev *rtwdev);
957 int (*typ_fltr_opt)(struct rtw89_dev *rtwdev,
967 void (*hfc_h2c_cfg)(struct rtw89_dev *rtwdev);
968 void (*hfc_mix_cfg)(struct rtw89_dev *rtwdev);
977 int (*set_cpuio)(struct rtw89_dev *rtwdev,
981 void (*disable_cpu)(struct rtw89_dev *rtwdev);
993 bool (*get_txpwr_cr)(struct rtw89_dev *rtwdev,
1010 int (*scan_offload)(struct rtw89_dev *rtwdev,
[all …]
H A Drtw8852c_rfk.h11 void rtw8852c_rck(struct rtw89_dev *rtwdev);
13 void rtw8852c_iqk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
16 void rtw8852c_rx_dck_track(struct rtw89_dev *rtwdev);
17 void rtw8852c_dpk_init(struct rtw89_dev *rtwdev);
18 void rtw8852c_dpk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
20 void rtw8852c_dpk_track(struct rtw89_dev *rtwdev);
21 void rtw8852c_tssi(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy,
29 void rtw8852c_set_channel_rf(struct rtw89_dev *rtwdev,
32 void rtw8852c_lck_init(struct rtw89_dev *rtwdev);
33 void rtw8852c_lck_track(struct rtw89_dev *rtwdev);
[all …]
H A Dchan.h78 bool rtw89_assign_entity_chan(struct rtw89_dev *rtwdev,
81 int rtw89_iterate_entity_chan(struct rtw89_dev *rtwdev,
88 void rtw89_config_roc_chandef(struct rtw89_dev *rtwdev,
91 void rtw89_entity_init(struct rtw89_dev *rtwdev);
94 void rtw89_queue_chanctx_work(struct rtw89_dev *rtwdev);
97 void rtw89_chanctx_track(struct rtw89_dev *rtwdev);
98 void rtw89_chanctx_pause(struct rtw89_dev *rtwdev,
100 void rtw89_chanctx_proceed(struct rtw89_dev *rtwdev);
101 int rtw89_chanctx_ops_add(struct rtw89_dev *rtwdev,
103 void rtw89_chanctx_ops_remove(struct rtw89_dev *rtwdev,
[all …]
H A Dphy.h515 void (*config_bb_gain)(struct rtw89_dev *rtwdev,
519 void (*preinit_rf_nctl)(struct rtw89_dev *rtwdev);
520 void (*bb_wrap_init)(struct rtw89_dev *rtwdev);
521 void (*ch_info_init)(struct rtw89_dev *rtwdev);
523 void (*set_txpwr_byrate)(struct rtw89_dev *rtwdev,
526 void (*set_txpwr_offset)(struct rtw89_dev *rtwdev,
529 void (*set_txpwr_limit)(struct rtw89_dev *rtwdev,
792 u8 rtw89_phy_get_txsc(struct rtw89_dev *rtwdev,
815 void rtw89_phy_dm_init(struct rtw89_dev *rtwdev);
950 void rtw89_phy_dig(struct rtw89_dev *rtwdev);
[all …]
H A Drtw8851b_rfk.h10 void rtw8851b_aack(struct rtw89_dev *rtwdev);
11 void rtw8851b_lck_init(struct rtw89_dev *rtwdev);
12 void rtw8851b_lck_track(struct rtw89_dev *rtwdev);
13 void rtw8851b_rck(struct rtw89_dev *rtwdev);
14 void rtw8851b_dack(struct rtw89_dev *rtwdev);
15 void rtw8851b_iqk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
19 void rtw8851b_dpk_init(struct rtw89_dev *rtwdev);
20 void rtw8851b_dpk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
22 void rtw8851b_dpk_track(struct rtw89_dev *rtwdev);
23 void rtw8851b_tssi(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy,
[all …]
H A Dps.h8 void rtw89_enter_lps(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif,
10 void rtw89_leave_lps(struct rtw89_dev *rtwdev);
11 void __rtw89_leave_ps_mode(struct rtw89_dev *rtwdev);
12 void __rtw89_enter_ps_mode(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif);
13 void rtw89_leave_ps_mode(struct rtw89_dev *rtwdev);
14 void rtw89_enter_ips(struct rtw89_dev *rtwdev);
15 void rtw89_leave_ips(struct rtw89_dev *rtwdev);
16 void rtw89_set_coex_ctrl_lps(struct rtw89_dev *rtwdev, bool btc_ctrl);
18 void rtw89_recalc_lps(struct rtw89_dev *rtwdev);
24 static inline void rtw89_leave_ips_by_hwflags(struct rtw89_dev *rtwdev) in rtw89_leave_ips_by_hwflags()
[all …]
H A Drtw8852b_rfk.h10 void rtw8852b_rck(struct rtw89_dev *rtwdev);
11 void rtw8852b_dack(struct rtw89_dev *rtwdev, enum rtw89_chanctx_idx chanctx_idx);
12 void rtw8852b_iqk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
14 void rtw8852b_rx_dck(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
16 void rtw8852b_dpk_init(struct rtw89_dev *rtwdev);
17 void rtw8852b_dpk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
19 void rtw8852b_dpk_track(struct rtw89_dev *rtwdev);
20 void rtw8852b_tssi(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy,
22 void rtw8852b_tssi_scan(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy,
24 void rtw8852b_wifi_scan_notify(struct rtw89_dev *rtwdev, bool scan_start,
[all …]
H A Drtw8852bt_rfk.h10 void rtw8852bt_rck(struct rtw89_dev *rtwdev);
11 void rtw8852bt_dack(struct rtw89_dev *rtwdev, enum rtw89_chanctx_idx chanctx_idx);
12 void rtw8852bt_iqk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
14 void rtw8852bt_rx_dck(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
16 void rtw8852bt_dpk_init(struct rtw89_dev *rtwdev);
17 void rtw8852bt_dpk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
19 void rtw8852bt_dpk_track(struct rtw89_dev *rtwdev);
20 void rtw8852bt_tssi(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy,
22 void rtw8852bt_tssi_scan(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy,
24 void rtw8852bt_wifi_scan_notify(struct rtw89_dev *rtwdev, bool scan_start,
[all …]
H A Dser.c154 struct rtw89_dev *rtwdev = container_of(ser, struct rtw89_dev, ser); in ser_state_run()
168 struct rtw89_dev *rtwdev = container_of(ser, struct rtw89_dev, ser); in ser_state_goto()
208 struct rtw89_dev *rtwdev = container_of(ser, struct rtw89_dev, ser); in ser_send_msg()
239 struct rtw89_dev *rtwdev = container_of(ser, struct rtw89_dev, ser); in ser_set_alarm()
258 struct rtw89_dev *rtwdev = container_of(ser, struct rtw89_dev, ser); in drv_stop_tx()
266 struct rtw89_dev *rtwdev = container_of(ser, struct rtw89_dev, ser); in drv_stop_rx()
274 struct rtw89_dev *rtwdev = container_of(ser, struct rtw89_dev, ser); in drv_trx_reset()
281 struct rtw89_dev *rtwdev = container_of(ser, struct rtw89_dev, ser); in drv_resume_tx()
292 struct rtw89_dev *rtwdev = container_of(ser, struct rtw89_dev, ser); in drv_resume_rx()
356 struct rtw89_dev *rtwdev = container_of(ser, struct rtw89_dev, ser); in hal_enable_dma()
[all …]
H A Drtw8852a_rfk.h10 void rtw8852a_rck(struct rtw89_dev *rtwdev);
11 void rtw8852a_dack(struct rtw89_dev *rtwdev,
13 void rtw8852a_iqk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
15 void rtw8852a_rx_dck(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
17 void rtw8852a_dpk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
19 void rtw8852a_dpk_track(struct rtw89_dev *rtwdev);
20 void rtw8852a_tssi(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy,
22 void rtw8852a_tssi_scan(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy,
24 void rtw8852a_tssi_track(struct rtw89_dev *rtwdev);
25 void rtw8852a_wifi_scan_notify(struct rtw89_dev *rtwdev, bool scan_start,
H A Defuse.h19 int rtw89_parse_efuse_map_ax(struct rtw89_dev *rtwdev);
20 int rtw89_parse_phycap_map_ax(struct rtw89_dev *rtwdev);
21 int rtw89_cnv_efuse_state_ax(struct rtw89_dev *rtwdev, bool idle);
22 int rtw89_parse_efuse_map_be(struct rtw89_dev *rtwdev);
23 int rtw89_parse_phycap_map_be(struct rtw89_dev *rtwdev);
24 int rtw89_cnv_efuse_state_be(struct rtw89_dev *rtwdev, bool idle);
25 int rtw89_read_efuse_ver(struct rtw89_dev *rtwdev, u8 *efv);
26 int rtw89_efuse_read_fw_secure_be(struct rtw89_dev *rtwdev);
H A Ddebug.h51 void rtw89_debugfs_init(struct rtw89_dev *rtwdev);
52 void rtw89_debugfs_deinit(struct rtw89_dev *rtwdev);
54 static inline void rtw89_debugfs_init(struct rtw89_dev *rtwdev) {} in rtw89_debugfs_init()
55 static inline void rtw89_debugfs_deinit(struct rtw89_dev *rtwdev) {} in rtw89_debugfs_deinit()
66 void rtw89_debug(struct rtw89_dev *rtwdev, enum rtw89_debug_mask mask,
68 static inline void rtw89_hex_dump(struct rtw89_dev *rtwdev, in rtw89_hex_dump()
79 static inline bool rtw89_debug_is_enabled(struct rtw89_dev *rtwdev, in rtw89_debug_is_enabled()
85 static inline void rtw89_debug(struct rtw89_dev *rtwdev, in rtw89_debug()
88 static inline void rtw89_hex_dump(struct rtw89_dev *rtwdev, in rtw89_hex_dump()
92 static inline bool rtw89_debug_is_enabled(struct rtw89_dev *rtwdev, in rtw89_debug_is_enabled()
H A Dcoex.h262 void rtw89_btc_ntfy_poweron(struct rtw89_dev *rtwdev);
263 void rtw89_btc_ntfy_poweroff(struct rtw89_dev *rtwdev);
264 void rtw89_btc_ntfy_init(struct rtw89_dev *rtwdev, u8 mode);
268 void rtw89_btc_ntfy_specific_packet(struct rtw89_dev *rtwdev,
277 void rtw89_btc_ntfy_wl_rfk(struct rtw89_dev *rtwdev, u8 phy_map,
280 void rtw89_btc_ntfy_wl_sta(struct rtw89_dev *rtwdev);
287 void rtw89_coex_power_on(struct rtw89_dev *rtwdev);
288 void rtw89_btc_set_policy(struct rtw89_dev *rtwdev, u16 policy_type);
290 void rtw89_coex_recognize_ver(struct rtw89_dev *rtwdev);
292 static inline u8 rtw89_btc_phymap(struct rtw89_dev *rtwdev, in rtw89_btc_phymap()
[all …]
H A Dsar.h16 int (*query_sar_config)(struct rtw89_dev *rtwdev, u32 center_freq, s32 *cfg);
21 s8 rtw89_query_sar(struct rtw89_dev *rtwdev, u32 center_freq);
22 void rtw89_print_sar(struct seq_file *m, struct rtw89_dev *rtwdev, u32 center_freq);
23 void rtw89_print_tas(struct seq_file *m, struct rtw89_dev *rtwdev);
26 void rtw89_tas_init(struct rtw89_dev *rtwdev);
27 void rtw89_tas_reset(struct rtw89_dev *rtwdev);
28 void rtw89_tas_track(struct rtw89_dev *rtwdev);
H A Dcore.h16 struct rtw89_dev;
3361 struct rtw89_dev *rtwdev;
3465 struct rtw89_dev *rtwdev;
3523 void (*reset)(struct rtw89_dev *rtwdev);
3524 int (*start)(struct rtw89_dev *rtwdev);
3525 void (*stop)(struct rtw89_dev *rtwdev);
3540 int (*deinit)(struct rtw89_dev *rtwdev);
3578 void (*bb_reset)(struct rtw89_dev *rtwdev,
3924 void (*load)(struct rtw89_dev *rtwdev,
5492 struct rtw89_dev { struct
[all …]
H A Dps.c15 static int rtw89_fw_leave_lps_check(struct rtw89_dev *rtwdev, u8 macid) in rtw89_fw_leave_lps_check()
34 static void rtw89_ps_power_mode_change_with_hci(struct rtw89_dev *rtwdev, in rtw89_ps_power_mode_change_with_hci()
79 void __rtw89_leave_ps_mode(struct rtw89_dev *rtwdev) in __rtw89_leave_ps_mode()
115 void rtw89_leave_ps_mode(struct rtw89_dev *rtwdev) in rtw89_leave_ps_mode()
144 void rtw89_leave_lps(struct rtw89_dev *rtwdev) in rtw89_leave_lps()
159 void rtw89_enter_ips(struct rtw89_dev *rtwdev) in rtw89_enter_ips()
174 void rtw89_leave_ips(struct rtw89_dev *rtwdev) in rtw89_leave_ips()
194 void rtw89_set_coex_ctrl_lps(struct rtw89_dev *rtwdev, bool btc_ctrl) in rtw89_set_coex_ctrl_lps()
212 static void rtw89_p2p_disable_all_noa(struct rtw89_dev *rtwdev, in rtw89_p2p_disable_all_noa()
232 static void rtw89_p2p_update_noa(struct rtw89_dev *rtwdev, in rtw89_p2p_update_noa()
[all …]
H A Dmac80211.c23 struct rtw89_dev *rtwdev = hw->priv; in rtw89_ops_tx()
51 struct rtw89_dev *rtwdev = hw->priv; in rtw89_ops_wake_tx_queue()
59 struct rtw89_dev *rtwdev = hw->priv; in rtw89_ops_start()
71 struct rtw89_dev *rtwdev = hw->priv; in rtw89_ops_stop()
80 struct rtw89_dev *rtwdev = hw->priv; in rtw89_ops_config()
111 struct rtw89_dev *rtwdev = hw->priv; in rtw89_ops_add_interface()
177 struct rtw89_dev *rtwdev = hw->priv; in rtw89_ops_remove_interface()
202 struct rtw89_dev *rtwdev = hw->priv; in rtw89_ops_change_interface()
229 struct rtw89_dev *rtwdev = hw->priv; in rtw89_ops_configure_filter()
423 struct rtw89_dev *rtwdev = hw->priv; in rtw89_ops_vif_cfg_changed()
[all …]
H A Dpci_be.c22 static void rtw89_pci_aspm_set_be(struct rtw89_dev *rtwdev, bool enable) in rtw89_pci_aspm_set_be()
78 static void rtw89_pci_set_io_rcy_be(struct rtw89_dev *rtwdev) in rtw89_pci_set_io_rcy_be()
162 static void rtw89_pci_clr_idx_all_be(struct rtw89_dev *rtwdev) in rtw89_pci_clr_idx_all_be()
223 static void rtw89_pci_mode_op_be(struct rtw89_dev *rtwdev) in rtw89_pci_mode_op_be()
258 static int rtw89_pci_rst_bdram_be(struct rtw89_dev *rtwdev) in rtw89_pci_rst_bdram_be()
268 static void rtw89_pci_debounce_be(struct rtw89_dev *rtwdev) in rtw89_pci_debounce_be()
278 static void rtw89_pci_ldo_low_pwr_be(struct rtw89_dev *rtwdev) in rtw89_pci_ldo_low_pwr_be()
305 static void rtw89_pci_ser_setting_be(struct rtw89_dev *rtwdev) in rtw89_pci_ser_setting_be()
409 int rtw89_pci_ltr_set_v2(struct rtw89_dev *rtwdev, bool en) in rtw89_pci_ltr_set_v2()
556 struct rtw89_dev *rtwdev = hw->priv; in rtw89_pci_suspend_be()
[all …]
H A Dpci.c47 static int rtw89_pci_rst_bdram_ax(struct rtw89_dev *rtwdev) in rtw89_pci_rst_bdram_ax()
61 static u32 rtw89_pci_dma_recalc(struct rtw89_dev *rtwdev, in rtw89_pci_dma_recalc()
879 struct rtw89_dev *rtwdev = dev; in rtw89_pci_interrupt_threadfn()
925 struct rtw89_dev *rtwdev = dev; in rtw89_pci_interrupt_handler()
1678 void rtw89_pci_ops_reset(struct rtw89_dev *rtwdev) in rtw89_pci_ops_reset()
2407 static void rtw89_pci_ber(struct rtw89_dev *rtwdev) in rtw89_pci_ber()
4165 struct rtw89_dev *rtwdev = container_of(napi, struct rtw89_dev, napi); in rtw89_pci_napi_poll()
4194 struct rtw89_dev *rtwdev = hw->priv; in rtw89_pci_suspend()
4228 struct rtw89_dev *rtwdev = hw->priv; in rtw89_pci_resume()
4331 struct rtw89_dev *rtwdev; in rtw89_pci_probe()
[all …]
H A Dwow.h78 static inline int rtw89_wow_get_sec_hdr_len(struct rtw89_dev *rtwdev) in rtw89_wow_get_sec_hdr_len()
98 static inline bool rtw89_wow_mgd_linked(struct rtw89_dev *rtwdev) in rtw89_wow_mgd_linked()
106 static inline bool rtw89_wow_no_link(struct rtw89_dev *rtwdev) in rtw89_wow_no_link()
114 static inline bool rtw_wow_has_mgd_features(struct rtw89_dev *rtwdev) in rtw_wow_has_mgd_features()
121 int rtw89_wow_suspend(struct rtw89_dev *rtwdev, struct cfg80211_wowlan *wowlan);
122 int rtw89_wow_resume(struct rtw89_dev *rtwdev);
123 void rtw89_wow_parse_akm(struct rtw89_dev *rtwdev, struct sk_buff *skb);
126 void rtw89_wow_parse_akm(struct rtw89_dev *rtwdev, struct sk_buff *skb) in rtw89_wow_parse_akm()
H A Drtw8922a_rfk.h10 void rtw8922a_tssi_cont_en_phyidx(struct rtw89_dev *rtwdev, bool en, u8 phy_idx);
11 void rtw8922a_set_channel_rf(struct rtw89_dev *rtwdev,
14 void rtw8922a_rfk_hw_init(struct rtw89_dev *rtwdev);
15 void rtw8922a_pre_set_channel_rf(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx);
16 void rtw8922a_post_set_channel_rf(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx);
H A Dmac.c1449 int (*cfg_func)(struct rtw89_dev *rtwdev); in rtw89_mac_power_switch()
1493 void rtw89_mac_pwr_off(struct rtw89_dev *rtwdev) in rtw89_mac_pwr_off()
1589 static int sys_init_ax(struct rtw89_dev *rtwdev) in sys_init_ax()
2153 static bool is_qta_poh(struct rtw89_dev *rtwdev) in is_qta_poh()
2630 static void rst_bacam(struct rtw89_dev *rtwdev) in rst_bacam()
3953 int rtw89_mac_init(struct rtw89_dev *rtwdev) in rtw89_mac_init()
5398 void (*handler)(struct rtw89_dev *rtwdev, in rtw89_mac_c2h_handle()
5659 int rtw89_mac_cfg_gnt(struct rtw89_dev *rtwdev, in rtw89_mac_cfg_gnt()
5790 u32 rtw89_mac_get_sb(struct rtw89_dev *rtwdev) in rtw89_mac_get_sb()
6082 struct rtw89_dev *rtwdev;
[all …]
H A Drtw8851b_rfk.c191 static void _drck(struct rtw89_dev *rtwdev) in _drck()
221 static void _addck_backup(struct rtw89_dev *rtwdev) in _addck_backup()
347 static void _addck(struct rtw89_dev *rtwdev) in _addck()
372 static void _new_dadck(struct rtw89_dev *rtwdev) in _new_dadck()
426 static void _dack_s0(struct rtw89_dev *rtwdev) in _dack_s0()
455 static void _dack(struct rtw89_dev *rtwdev) in _dack()
460 static void _dack_dump(struct rtw89_dev *rtwdev) in _dack_dump()
1558 static void _iqk_init(struct rtw89_dev *rtwdev) in _iqk_init()
3146 void rtw8851b_aack(struct rtw89_dev *rtwdev) in rtw8851b_aack()
3249 void rtw8851b_rck(struct rtw89_dev *rtwdev) in rtw8851b_rck()
[all …]
H A Dpci.h1262 int (*mac_pre_init)(struct rtw89_dev *rtwdev);
1263 int (*mac_pre_deinit)(struct rtw89_dev *rtwdev);
1264 int (*mac_post_init)(struct rtw89_dev *rtwdev);
1266 void (*clr_idx_all)(struct rtw89_dev *rtwdev);
1267 int (*rst_bdram)(struct rtw89_dev *rtwdev);
1269 int (*lv1rst_stop_dma)(struct rtw89_dev *rtwdev);
1270 int (*lv1rst_start_dma)(struct rtw89_dev *rtwdev);
1324 int (*ltr_set)(struct rtw89_dev *rtwdev, bool en);
1325 u32 (*fill_txaddr_info)(struct rtw89_dev *rtwdev,
1331 void (*recognize_intrs)(struct rtw89_dev *rtwdev,
[all …]

123