Home
last modified time | relevance | path

Searched defs:rtwdev (Results 1 – 25 of 74) sorted by relevance

123

/linux-6.6.21/drivers/net/wireless/realtek/rtw89/
Dmac.c39 static void rtw89_mac_mem_write(struct rtw89_dev *rtwdev, u32 offset, in rtw89_mac_mem_write()
49 static u32 rtw89_mac_mem_read(struct rtw89_dev *rtwdev, u32 offset, in rtw89_mac_mem_read()
59 int rtw89_mac_check_mac_en(struct rtw89_dev *rtwdev, u8 mac_idx, in rtw89_mac_check_mac_en()
83 int rtw89_mac_write_lte(struct rtw89_dev *rtwdev, const u32 offset, u32 val) in rtw89_mac_write_lte()
99 int rtw89_mac_read_lte(struct rtw89_dev *rtwdev, const u32 offset, u32 *val) in rtw89_mac_read_lte()
116 int dle_dfi_ctrl(struct rtw89_dev *rtwdev, struct rtw89_mac_dle_dfi_ctrl *ctrl) in dle_dfi_ctrl()
156 static int dle_dfi_quota(struct rtw89_dev *rtwdev, in dle_dfi_quota()
176 static int dle_dfi_qempty(struct rtw89_dev *rtwdev, in dle_dfi_qempty()
195 static void dump_err_status_dispatcher(struct rtw89_dev *rtwdev) in dump_err_status_dispatcher()
211 static void rtw89_mac_dump_qta_lost(struct rtw89_dev *rtwdev) in rtw89_mac_dump_qta_lost()
[all …]
Drtw8852a.c509 static void rtw8852a_efuse_parsing_tssi(struct rtw89_dev *rtwdev, in rtw8852a_efuse_parsing_tssi()
540 static int rtw8852a_read_efuse(struct rtw89_dev *rtwdev, u8 *log_map) in rtw8852a_read_efuse()
564 static void rtw8852a_phycap_parsing_tssi(struct rtw89_dev *rtwdev, u8 *phycap_map) in rtw8852a_phycap_parsing_tssi()
598 static void rtw8852a_phycap_parsing_thermal_trim(struct rtw89_dev *rtwdev, in rtw8852a_phycap_parsing_thermal_trim()
618 static void rtw8852a_thermal_trim(struct rtw89_dev *rtwdev) in rtw8852a_thermal_trim()
646 static void rtw8852a_phycap_parsing_pa_bias_trim(struct rtw89_dev *rtwdev, in rtw8852a_phycap_parsing_pa_bias_trim()
666 static void rtw8852a_pa_bias_trim(struct rtw89_dev *rtwdev) in rtw8852a_pa_bias_trim()
692 static int rtw8852a_read_phycap(struct rtw89_dev *rtwdev, u8 *phycap_map) in rtw8852a_read_phycap()
701 static void rtw8852a_power_trim(struct rtw89_dev *rtwdev) in rtw8852a_power_trim()
707 static void rtw8852a_set_channel_mac(struct rtw89_dev *rtwdev, in rtw8852a_set_channel_mac()
[all …]
Drtw8851b_rfk.c135 static u8 _kpath(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx) in _kpath()
140 static void _adc_fifo_rst(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx, in _adc_fifo_rst()
148 static void _rfk_rf_direct_cntrl(struct rtw89_dev *rtwdev, in _rfk_rf_direct_cntrl()
157 static void _rfk_drf_direct_cntrl(struct rtw89_dev *rtwdev, in _rfk_drf_direct_cntrl()
166 static void _wait_rx_mode(struct rtw89_dev *rtwdev, u8 kpath) in _wait_rx_mode()
185 static void _dack_reset(struct rtw89_dev *rtwdev, enum rtw89_rf_path path) in _dack_reset()
191 static void _drck(struct rtw89_dev *rtwdev) in _drck()
221 static void _addck_backup(struct rtw89_dev *rtwdev) in _addck_backup()
231 static void _addck_reload(struct rtw89_dev *rtwdev) in _addck_reload()
240 static void _dack_backup_s0(struct rtw89_dev *rtwdev) in _dack_backup_s0()
[all …]
Dpci.c22 static int rtw89_pci_rst_bdram_pcie(struct rtw89_dev *rtwdev) in rtw89_pci_rst_bdram_pcie()
40 static u32 rtw89_pci_dma_recalc(struct rtw89_dev *rtwdev, in rtw89_pci_dma_recalc()
61 static u32 rtw89_pci_txbd_recalc(struct rtw89_dev *rtwdev, in rtw89_pci_txbd_recalc()
74 static void rtw89_pci_release_fwcmd(struct rtw89_dev *rtwdev, in rtw89_pci_release_fwcmd()
108 static void rtw89_pci_reclaim_tx_fwcmd(struct rtw89_dev *rtwdev, in rtw89_pci_reclaim_tx_fwcmd()
120 static u32 rtw89_pci_rxbd_recalc(struct rtw89_dev *rtwdev, in rtw89_pci_rxbd_recalc()
133 static void rtw89_pci_sync_skb_for_cpu(struct rtw89_dev *rtwdev, in rtw89_pci_sync_skb_for_cpu()
145 static void rtw89_pci_sync_skb_for_device(struct rtw89_dev *rtwdev, in rtw89_pci_sync_skb_for_device()
157 static int rtw89_pci_rxbd_info_update(struct rtw89_dev *rtwdev, in rtw89_pci_rxbd_info_update()
172 static void rtw89_pci_ctrl_txdma_ch_pcie(struct rtw89_dev *rtwdev, bool enable) in rtw89_pci_ctrl_txdma_ch_pcie()
[all …]
Drtw8852b.c379 static int rtw8852b_pwr_on_func(struct rtw89_dev *rtwdev) in rtw8852b_pwr_on_func()
506 static int rtw8852b_pwr_off_func(struct rtw89_dev *rtwdev) in rtw8852b_pwr_off_func()
575 static void rtw8852b_efuse_parsing_tssi(struct rtw89_dev *rtwdev, in rtw8852b_efuse_parsing_tssi()
616 static void rtw8852b_efuse_parsing_gain_offset(struct rtw89_dev *rtwdev, in rtw8852b_efuse_parsing_gain_offset()
641 static int rtw8852b_read_efuse(struct rtw89_dev *rtwdev, u8 *log_map) in rtw8852b_read_efuse()
666 static void rtw8852b_phycap_parsing_power_cal(struct rtw89_dev *rtwdev, u8 *phycap_map) in rtw8852b_phycap_parsing_power_cal()
676 static void rtw8852b_phycap_parsing_tssi(struct rtw89_dev *rtwdev, u8 *phycap_map) in rtw8852b_phycap_parsing_tssi()
710 static void rtw8852b_phycap_parsing_thermal_trim(struct rtw89_dev *rtwdev, in rtw8852b_phycap_parsing_thermal_trim()
730 static void rtw8852b_thermal_trim(struct rtw89_dev *rtwdev) in rtw8852b_thermal_trim()
758 static void rtw8852b_phycap_parsing_pa_bias_trim(struct rtw89_dev *rtwdev, in rtw8852b_phycap_parsing_pa_bias_trim()
[all …]
Drtw8852b_rfk.c175 static void _rfk_backup_bb_reg(struct rtw89_dev *rtwdev, u32 backup_bb_reg_val[]) in _rfk_backup_bb_reg()
189 static void _rfk_backup_rf_reg(struct rtw89_dev *rtwdev, u32 backup_rf_reg_val[], in _rfk_backup_rf_reg()
204 static void _rfk_restore_bb_reg(struct rtw89_dev *rtwdev, in _rfk_restore_bb_reg()
218 static void _rfk_restore_rf_reg(struct rtw89_dev *rtwdev, in _rfk_restore_rf_reg()
233 static void _rfk_rf_direct_cntrl(struct rtw89_dev *rtwdev, in _rfk_rf_direct_cntrl()
242 static void _rfk_drf_direct_cntrl(struct rtw89_dev *rtwdev, in _rfk_drf_direct_cntrl()
251 static bool _iqk_check_cal(struct rtw89_dev *rtwdev, u8 path) in _iqk_check_cal()
275 static u8 _kpath(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx) in _kpath()
293 static void _set_rx_dck(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _set_rx_dck()
302 static void _rx_dck(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy) in _rx_dck()
[all …]
Drtw8852a_rfk.c15 static u8 _kpath(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx) in _kpath()
34 static void _rfk_backup_bb_reg(struct rtw89_dev *rtwdev, u32 backup_bb_reg_val[]) in _rfk_backup_bb_reg()
48 static void _rfk_backup_rf_reg(struct rtw89_dev *rtwdev, u32 backup_rf_reg_val[], in _rfk_backup_rf_reg()
63 static void _rfk_restore_bb_reg(struct rtw89_dev *rtwdev, in _rfk_restore_bb_reg()
77 static void _rfk_restore_rf_reg(struct rtw89_dev *rtwdev, in _rfk_restore_rf_reg()
92 static void _wait_rx_mode(struct rtw89_dev *rtwdev, u8 kpath) in _wait_rx_mode()
111 static void _dack_dump(struct rtw89_dev *rtwdev) in _dack_dump()
159 static void _afe_init(struct rtw89_dev *rtwdev) in _afe_init()
164 static void _addck_backup(struct rtw89_dev *rtwdev) in _addck_backup()
181 static void _addck_reload(struct rtw89_dev *rtwdev) in _addck_reload()
[all …]
Drtw8851b.c254 static int rtw8851b_pwr_on_func(struct rtw89_dev *rtwdev) in rtw8851b_pwr_on_func()
366 static void rtw8851b_patch_swr_pfm2pwm(struct rtw89_dev *rtwdev) in rtw8851b_patch_swr_pfm2pwm()
374 static int rtw8851b_pwr_off_func(struct rtw89_dev *rtwdev) in rtw8851b_pwr_off_func()
438 static void rtw8851b_efuse_parsing_tssi(struct rtw89_dev *rtwdev, in rtw8851b_efuse_parsing_tssi()
478 static void rtw8851b_efuse_parsing_gain_offset(struct rtw89_dev *rtwdev, in rtw8851b_efuse_parsing_gain_offset()
503 static int rtw8851b_read_efuse(struct rtw89_dev *rtwdev, u8 *log_map) in rtw8851b_read_efuse()
528 static void rtw8851b_phycap_parsing_tssi(struct rtw89_dev *rtwdev, u8 *phycap_map) in rtw8851b_phycap_parsing_tssi()
562 static void rtw8851b_phycap_parsing_thermal_trim(struct rtw89_dev *rtwdev, in rtw8851b_phycap_parsing_thermal_trim()
582 static void rtw8851b_thermal_trim(struct rtw89_dev *rtwdev) in rtw8851b_thermal_trim()
610 static void rtw8851b_phycap_parsing_pa_bias_trim(struct rtw89_dev *rtwdev, in rtw8851b_phycap_parsing_pa_bias_trim()
[all …]
Drtw8852c_rfk.c78 static u8 _kpath(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx) in _kpath()
92 static void _rfk_backup_bb_reg(struct rtw89_dev *rtwdev, u32 backup_bb_reg_val[]) in _rfk_backup_bb_reg()
106 static void _rfk_backup_rf_reg(struct rtw89_dev *rtwdev, u32 backup_rf_reg_val[], in _rfk_backup_rf_reg()
121 static void _rfk_restore_bb_reg(struct rtw89_dev *rtwdev, u32 backup_bb_reg_val[]) in _rfk_restore_bb_reg()
134 static void _rfk_restore_rf_reg(struct rtw89_dev *rtwdev, u32 backup_rf_reg_val[], in _rfk_restore_rf_reg()
149 static void _wait_rx_mode(struct rtw89_dev *rtwdev, u8 kpath) in _wait_rx_mode()
168 static void _dack_dump(struct rtw89_dev *rtwdev) in _dack_dump()
216 static void _addck_backup(struct rtw89_dev *rtwdev) in _addck_backup()
233 static void _addck_reload(struct rtw89_dev *rtwdev) in _addck_reload()
249 static void _dack_backup_s0(struct rtw89_dev *rtwdev) in _dack_backup_s0()
[all …]
Dmac80211.c23 struct rtw89_dev *rtwdev = hw->priv; in rtw89_ops_tx() local
51 struct rtw89_dev *rtwdev = hw->priv; in rtw89_ops_wake_tx_queue() local
59 struct rtw89_dev *rtwdev = hw->priv; in rtw89_ops_start() local
71 struct rtw89_dev *rtwdev = hw->priv; in rtw89_ops_stop() local
80 struct rtw89_dev *rtwdev = hw->priv; in rtw89_ops_config() local
111 struct rtw89_dev *rtwdev = hw->priv; in rtw89_ops_add_interface() local
174 struct rtw89_dev *rtwdev = hw->priv; in rtw89_ops_remove_interface() local
199 struct rtw89_dev *rtwdev = hw->priv; in rtw89_ops_change_interface() local
226 struct rtw89_dev *rtwdev = hw->priv; in rtw89_ops_configure_filter() local
296 static u8 rtw89_aifsn_to_aifs(struct rtw89_dev *rtwdev, in rtw89_aifsn_to_aifs()
[all …]
Dwow.c15 static void rtw89_wow_leave_deep_ps(struct rtw89_dev *rtwdev) in rtw89_wow_leave_deep_ps()
20 static void rtw89_wow_enter_deep_ps(struct rtw89_dev *rtwdev) in rtw89_wow_enter_deep_ps()
28 static void rtw89_wow_enter_lps(struct rtw89_dev *rtwdev) in rtw89_wow_enter_lps()
36 static void rtw89_wow_leave_lps(struct rtw89_dev *rtwdev) in rtw89_wow_leave_lps()
41 static int rtw89_wow_config_mac(struct rtw89_dev *rtwdev, bool enable_wow) in rtw89_wow_config_mac()
74 static void rtw89_wow_set_rx_filter(struct rtw89_dev *rtwdev, bool enable) in rtw89_wow_set_rx_filter()
85 static void rtw89_wow_show_wakeup_reason(struct rtw89_dev *rtwdev) in rtw89_wow_show_wakeup_reason()
145 static void rtw89_wow_vif_iter(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif) in rtw89_wow_vif_iter()
247 static int rtw89_wow_pattern_generate(struct rtw89_dev *rtwdev, in rtw89_wow_pattern_generate()
320 static int rtw89_wow_parse_patterns(struct rtw89_dev *rtwdev, in rtw89_wow_parse_patterns()
[all …]
Dps.c15 static int rtw89_fw_leave_lps_check(struct rtw89_dev *rtwdev, u8 macid) in rtw89_fw_leave_lps_check()
33 static void rtw89_ps_power_mode_change_with_hci(struct rtw89_dev *rtwdev, in rtw89_ps_power_mode_change_with_hci()
55 static void rtw89_ps_power_mode_change(struct rtw89_dev *rtwdev, bool enter) in rtw89_ps_power_mode_change()
63 void __rtw89_enter_ps_mode(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif) in __rtw89_enter_ps_mode()
77 void __rtw89_leave_ps_mode(struct rtw89_dev *rtwdev) in __rtw89_leave_ps_mode()
86 static void __rtw89_enter_lps(struct rtw89_dev *rtwdev, u8 mac_id) in __rtw89_enter_lps()
98 static void __rtw89_leave_lps(struct rtw89_dev *rtwdev, u8 mac_id) in __rtw89_leave_lps()
111 void rtw89_leave_ps_mode(struct rtw89_dev *rtwdev) in rtw89_leave_ps_mode()
118 void rtw89_enter_lps(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif, in rtw89_enter_lps()
131 static void rtw89_leave_lps_vif(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif) in rtw89_leave_lps_vif()
[all …]
Dphy.c16 static u16 get_max_amsdu_len(struct rtw89_dev *rtwdev, in get_max_amsdu_len()
93 static u64 rtw89_phy_ra_mask_rssi(struct rtw89_dev *rtwdev, u8 rssi, in rtw89_phy_ra_mask_rssi()
136 static u64 rtw89_phy_ra_mask_cfg(struct rtw89_dev *rtwdev, struct rtw89_sta *rtwsta, in rtw89_phy_ra_mask_cfg()
198 static void rtw89_phy_ra_gi_ltf(struct rtw89_dev *rtwdev, in rtw89_phy_ra_gi_ltf()
232 static void rtw89_phy_ra_sta_update(struct rtw89_dev *rtwdev, in rtw89_phy_ra_sta_update()
396 void rtw89_phy_ra_updata_sta(struct rtw89_dev *rtwdev, struct ieee80211_sta *sta, in rtw89_phy_ra_updata_sta()
454 void rtw89_phy_rate_pattern_vif(struct rtw89_dev *rtwdev, in rtw89_phy_rate_pattern_vif()
546 struct rtw89_dev *rtwdev = (struct rtw89_dev *)data; in rtw89_phy_ra_updata_sta_iter() local
551 void rtw89_phy_ra_update(struct rtw89_dev *rtwdev) in rtw89_phy_ra_update()
558 void rtw89_phy_ra_assoc(struct rtw89_dev *rtwdev, struct ieee80211_sta *sta) in rtw89_phy_ra_assoc()
[all …]
Dcore.c184 bool rtw89_ra_report_to_bitrate(struct rtw89_dev *rtwdev, u8 rpt_rate, u16 *bitrate) in rtw89_ra_report_to_bitrate()
231 static void rtw89_traffic_stats_accu(struct rtw89_dev *rtwdev, in rtw89_traffic_stats_accu()
319 void rtw89_core_set_chip_txpwr(struct rtw89_dev *rtwdev) in rtw89_core_set_chip_txpwr()
357 void rtw89_set_channel(struct rtw89_dev *rtwdev) in rtw89_set_channel()
413 void rtw89_get_channel(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif, in rtw89_get_channel()
423 rtw89_core_get_tx_type(struct rtw89_dev *rtwdev, in rtw89_core_get_tx_type()
436 rtw89_core_tx_update_ampdu_info(struct rtw89_dev *rtwdev, in rtw89_core_tx_update_ampdu_info()
473 rtw89_core_tx_update_sec_key(struct rtw89_dev *rtwdev, in rtw89_core_tx_update_sec_key()
551 static u16 rtw89_core_get_mgmt_rate(struct rtw89_dev *rtwdev, in rtw89_core_get_mgmt_rate()
574 static u8 rtw89_core_tx_get_mac_id(struct rtw89_dev *rtwdev, in rtw89_core_tx_get_mac_id()
[all …]
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/
Dwow.c13 static void rtw_wow_show_wakeup_reason(struct rtw_dev *rtwdev) in rtw_wow_show_wakeup_reason()
65 static void rtw_wow_pattern_write_cam(struct rtw_dev *rtwdev, u8 addr, in rtw_wow_pattern_write_cam()
76 static void rtw_wow_pattern_write_cam_ent(struct rtw_dev *rtwdev, u8 id, in rtw_wow_pattern_write_cam_ent()
162 static void rtw_wow_pattern_generate(struct rtw_dev *rtwdev, in rtw_wow_pattern_generate()
241 static void rtw_wow_pattern_clear_cam(struct rtw_dev *rtwdev) in rtw_wow_pattern_clear_cam()
253 static void rtw_wow_pattern_write(struct rtw_dev *rtwdev) in rtw_wow_pattern_write()
263 static void rtw_wow_pattern_clear(struct rtw_dev *rtwdev) in rtw_wow_pattern_clear()
273 static void rtw_wow_bb_stop(struct rtw_dev *rtwdev) in rtw_wow_bb_stop()
288 static void rtw_wow_bb_start(struct rtw_dev *rtwdev) in rtw_wow_bb_start()
296 static void rtw_wow_rx_dma_stop(struct rtw_dev *rtwdev) in rtw_wow_rx_dma_stop()
[all …]
Dps.c13 static int rtw_ips_pwr_up(struct rtw_dev *rtwdev) in rtw_ips_pwr_up()
27 int rtw_enter_ips(struct rtw_dev *rtwdev) in rtw_enter_ips()
42 struct rtw_dev *rtwdev = data; in rtw_restore_port_cfg_iter() local
49 int rtw_leave_ips(struct rtw_dev *rtwdev) in rtw_leave_ips()
69 void rtw_power_mode_change(struct rtw_dev *rtwdev, bool enter) in rtw_power_mode_change()
111 static void __rtw_leave_lps_deep(struct rtw_dev *rtwdev) in __rtw_leave_lps_deep()
116 static int __rtw_fw_leave_lps_check_reg(struct rtw_dev *rtwdev) in __rtw_fw_leave_lps_check_reg()
141 static int __rtw_fw_leave_lps_check_c2h(struct rtw_dev *rtwdev) in __rtw_fw_leave_lps_check_c2h()
149 static void rtw_fw_leave_lps_check(struct rtw_dev *rtwdev) in rtw_fw_leave_lps_check()
170 static void rtw_fw_leave_lps_check_prepare(struct rtw_dev *rtwdev) in rtw_fw_leave_lps_check_prepare()
[all …]
Dsdio.c34 static u32 rtw_sdio_to_bus_offset(struct rtw_dev *rtwdev, u32 addr) in rtw_sdio_to_bus_offset()
55 static bool rtw_sdio_use_memcpy_io(struct rtw_dev *rtwdev, u32 addr, in rtw_sdio_use_memcpy_io()
62 static void rtw_sdio_writel(struct rtw_dev *rtwdev, u32 val, u32 addr, in rtw_sdio_writel()
83 static void rtw_sdio_writew(struct rtw_dev *rtwdev, u16 val, u32 addr, in rtw_sdio_writew()
99 static u32 rtw_sdio_readl(struct rtw_dev *rtwdev, u32 addr, int *err_ret) in rtw_sdio_readl()
117 static u16 rtw_sdio_readw(struct rtw_dev *rtwdev, u32 addr, int *err_ret) in rtw_sdio_readw()
132 static u32 rtw_sdio_to_io_address(struct rtw_dev *rtwdev, u32 addr, in rtw_sdio_to_io_address()
144 static bool rtw_sdio_use_direct_io(struct rtw_dev *rtwdev, u32 addr) in rtw_sdio_use_direct_io()
150 static int rtw_sdio_indirect_reg_cfg(struct rtw_dev *rtwdev, u32 addr, u32 cfg) in rtw_sdio_indirect_reg_cfg()
174 static u8 rtw_sdio_indirect_read8(struct rtw_dev *rtwdev, u32 addr, in rtw_sdio_indirect_read8()
[all …]
Drtw8822c.c44 static int rtw8822c_read_efuse(struct rtw_dev *rtwdev, u8 *log_map) in rtw8822c_read_efuse()
87 static void rtw8822c_header_file_init(struct rtw_dev *rtwdev, bool pre) in rtw8822c_header_file_init()
100 static void rtw8822c_bb_reset(struct rtw_dev *rtwdev) in rtw8822c_bb_reset()
107 static void rtw8822c_dac_backup_reg(struct rtw_dev *rtwdev, in rtw8822c_dac_backup_reg()
136 static void rtw8822c_dac_restore_reg(struct rtw_dev *rtwdev, in rtw8822c_dac_restore_reg()
155 static void rtw8822c_rf_minmax_cmp(struct rtw_dev *rtwdev, u32 value, in rtw8822c_rf_minmax_cmp()
184 static void __rtw8822c_dac_iq_sort(struct rtw_dev *rtwdev, u32 *v1, u32 *v2) in __rtw8822c_dac_iq_sort()
197 static void rtw8822c_dac_iq_sort(struct rtw_dev *rtwdev, u32 *iv, u32 *qv) in rtw8822c_dac_iq_sort()
209 static void rtw8822c_dac_iq_offset(struct rtw_dev *rtwdev, u32 *vec, u32 *val) in rtw8822c_dac_iq_offset()
273 static bool rtw8822c_dac_iq_check(struct rtw_dev *rtwdev, u32 value) in rtw8822c_dac_iq_check()
[all …]
Dmac.c12 void rtw_set_channel_mac(struct rtw_dev *rtwdev, u8 channel, u8 bw, in rtw_set_channel_mac()
62 static int rtw_mac_pre_system_cfg(struct rtw_dev *rtwdev) in rtw_mac_pre_system_cfg()
139 static bool do_pwr_poll_cmd(struct rtw_dev *rtwdev, u32 addr, u32 mask, u32 target) in do_pwr_poll_cmd()
150 static int rtw_pwr_cmd_polling(struct rtw_dev *rtwdev, in rtw_pwr_cmd_polling()
185 static int rtw_sub_pwr_seq_parser(struct rtw_dev *rtwdev, u8 intf_mask, in rtw_sub_pwr_seq_parser()
230 static int rtw_pwr_seq_parser(struct rtw_dev *rtwdev, in rtw_pwr_seq_parser()
271 static int rtw_mac_power_switch(struct rtw_dev *rtwdev, bool pwr_on) in rtw_mac_power_switch()
321 static int __rtw_mac_init_system_cfg(struct rtw_dev *rtwdev) in __rtw_mac_init_system_cfg()
346 static int __rtw_mac_init_system_cfg_legacy(struct rtw_dev *rtwdev) in __rtw_mac_init_system_cfg_legacy()
361 static int rtw_mac_init_system_cfg(struct rtw_dev *rtwdev) in rtw_mac_init_system_cfg()
[all …]
Dpci.c50 static u8 rtw_pci_read8(struct rtw_dev *rtwdev, u32 addr) in rtw_pci_read8()
57 static u16 rtw_pci_read16(struct rtw_dev *rtwdev, u32 addr) in rtw_pci_read16()
64 static u32 rtw_pci_read32(struct rtw_dev *rtwdev, u32 addr) in rtw_pci_read32()
71 static void rtw_pci_write8(struct rtw_dev *rtwdev, u32 addr, u8 val) in rtw_pci_write8()
78 static void rtw_pci_write16(struct rtw_dev *rtwdev, u32 addr, u16 val) in rtw_pci_write16()
85 static void rtw_pci_write32(struct rtw_dev *rtwdev, u32 addr, u32 val) in rtw_pci_write32()
92 static void rtw_pci_free_tx_ring_skbs(struct rtw_dev *rtwdev, in rtw_pci_free_tx_ring_skbs()
111 static void rtw_pci_free_tx_ring(struct rtw_dev *rtwdev, in rtw_pci_free_tx_ring()
126 static void rtw_pci_free_rx_ring_skbs(struct rtw_dev *rtwdev, in rtw_pci_free_rx_ring_skbs()
147 static void rtw_pci_free_rx_ring(struct rtw_dev *rtwdev, in rtw_pci_free_rx_ring()
[all …]
Dfw.c20 static void rtw_fw_c2h_cmd_handle_ext(struct rtw_dev *rtwdev, in rtw_fw_c2h_cmd_handle_ext()
67 struct rtw_dev *rtwdev; member
124 static void rtw_fw_ra_report_handle(struct rtw_dev *rtwdev, u8 *payload, in rtw_fw_ra_report_handle()
139 struct rtw_dev *rtwdev; member
147 struct rtw_dev *rtwdev = iter_data->rtwdev; in rtw_fw_bcn_filter_notify_vif_iter() local
172 static void rtw_fw_bcn_filter_notify(struct rtw_dev *rtwdev, u8 *payload, in rtw_fw_bcn_filter_notify()
183 static void rtw_fw_scan_result(struct rtw_dev *rtwdev, u8 *payload, in rtw_fw_scan_result()
194 static void rtw_fw_adaptivity_result(struct rtw_dev *rtwdev, u8 *payload, in rtw_fw_adaptivity_result()
216 void rtw_fw_c2h_cmd_handle(struct rtw_dev *rtwdev, struct sk_buff *skb) in rtw_fw_c2h_cmd_handle()
262 void rtw_fw_c2h_cmd_rx_irqsafe(struct rtw_dev *rtwdev, u32 pkt_offset, in rtw_fw_c2h_cmd_rx_irqsafe()
[all …]
Dhci.h33 static inline int rtw_hci_tx_write(struct rtw_dev *rtwdev, in rtw_hci_tx_write()
40 static inline void rtw_hci_tx_kick_off(struct rtw_dev *rtwdev) in rtw_hci_tx_kick_off()
45 static inline int rtw_hci_setup(struct rtw_dev *rtwdev) in rtw_hci_setup()
50 static inline int rtw_hci_start(struct rtw_dev *rtwdev) in rtw_hci_start()
55 static inline void rtw_hci_stop(struct rtw_dev *rtwdev) in rtw_hci_stop()
60 static inline void rtw_hci_deep_ps(struct rtw_dev *rtwdev, bool enter) in rtw_hci_deep_ps()
65 static inline void rtw_hci_link_ps(struct rtw_dev *rtwdev, bool enter) in rtw_hci_link_ps()
70 static inline void rtw_hci_interface_cfg(struct rtw_dev *rtwdev) in rtw_hci_interface_cfg()
76 rtw_hci_write_data_rsvd_page(struct rtw_dev *rtwdev, u8 *buf, u32 size) in rtw_hci_write_data_rsvd_page()
82 rtw_hci_write_data_h2c(struct rtw_dev *rtwdev, u8 *buf, u32 size) in rtw_hci_write_data_h2c()
[all …]
Dmain.c166 struct rtw_dev *rtwdev; member
170 static void rtw_dynamic_csi_rate(struct rtw_dev *rtwdev, struct rtw_vif *rtwvif) in rtw_dynamic_csi_rate()
210 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, in rtw_watch_dog_work() local
290 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, c2h_work); in rtw_c2h_work() local
302 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, ips_work); in rtw_ips_work() local
310 static u8 rtw_acquire_macid(struct rtw_dev *rtwdev) in rtw_acquire_macid()
325 struct rtw_dev *rtwdev = si->rtwdev; in rtw_sta_rc_work() local
332 int rtw_sta_add(struct rtw_dev *rtwdev, struct ieee80211_sta *sta, in rtw_sta_add()
365 void rtw_sta_remove(struct rtw_dev *rtwdev, struct ieee80211_sta *sta, in rtw_sta_remove()
394 static int rtw_fwcd_prep(struct rtw_dev *rtwdev) in rtw_fwcd_prep()
[all …]
Dmac80211.c22 struct rtw_dev *rtwdev = hw->priv; in rtw_ops_tx() local
35 struct rtw_dev *rtwdev = hw->priv; in rtw_ops_wake_tx_queue() local
55 struct rtw_dev *rtwdev = hw->priv; in rtw_ops_start() local
67 struct rtw_dev *rtwdev = hw->priv; in rtw_ops_stop() local
76 struct rtw_dev *rtwdev = hw->priv; in rtw_ops_config() local
149 struct rtw_dev *rtwdev = hw->priv; in rtw_ops_add_interface() local
224 struct rtw_dev *rtwdev = hw->priv; in rtw_ops_remove_interface() local
254 struct rtw_dev *rtwdev = hw->priv; in rtw_ops_change_interface() local
272 struct rtw_dev *rtwdev = hw->priv; in rtw_ops_configure_filter() local
323 static u8 rtw_aifsn_to_aifs(struct rtw_dev *rtwdev, in rtw_aifsn_to_aifs()
[all …]
Dusb.c20 struct rtw_dev *rtwdev; member
28 struct rtw_dev *rtwdev = rtwusb->rtwdev; in rtw_usb_fill_tx_checksum() local
36 static u32 rtw_usb_read(struct rtw_dev *rtwdev, u32 addr, u16 len) in rtw_usb_read()
64 static u8 rtw_usb_read8(struct rtw_dev *rtwdev, u32 addr) in rtw_usb_read8()
69 static u16 rtw_usb_read16(struct rtw_dev *rtwdev, u32 addr) in rtw_usb_read16()
74 static u32 rtw_usb_read32(struct rtw_dev *rtwdev, u32 addr) in rtw_usb_read32()
79 static void rtw_usb_write(struct rtw_dev *rtwdev, u32 addr, u32 val, int len) in rtw_usb_write()
107 static void rtw_usb_write8(struct rtw_dev *rtwdev, u32 addr, u8 val) in rtw_usb_write8()
112 static void rtw_usb_write16(struct rtw_dev *rtwdev, u32 addr, u16 val) in rtw_usb_write16()
117 static void rtw_usb_write32(struct rtw_dev *rtwdev, u32 addr, u32 val) in rtw_usb_write32()
[all …]

123