Lines Matching refs:rtw_dev
12 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()
369 int rtw_mac_power_on(struct rtw_dev *rtwdev) in rtw_mac_power_on()
403 void rtw_mac_power_off(struct rtw_dev *rtwdev) in rtw_mac_power_off()
431 static void wlan_cpu_enable(struct rtw_dev *rtwdev, bool enable) in wlan_cpu_enable()
450 static void download_firmware_reg_backup(struct rtw_dev *rtwdev, in download_firmware_reg_backup()
504 static void download_firmware_reset_platform(struct rtw_dev *rtwdev) in download_firmware_reset_platform()
512 static void download_firmware_reg_restore(struct rtw_dev *rtwdev, in download_firmware_reg_restore()
521 static int send_firmware_pkt_rsvd_page(struct rtw_dev *rtwdev, u16 pg_addr, in send_firmware_pkt_rsvd_page()
537 send_firmware_pkt(struct rtw_dev *rtwdev, u16 pg_addr, const u8 *data, u32 size) in send_firmware_pkt()
553 iddma_enable(struct rtw_dev *rtwdev, u32 src, u32 dst, u32 ctrl) in iddma_enable()
565 static int iddma_download_firmware(struct rtw_dev *rtwdev, u32 src, u32 dst, in iddma_download_firmware()
583 int rtw_ddma_to_fw_fifo(struct rtw_dev *rtwdev, u32 ocp_src, u32 size) in rtw_ddma_to_fw_fifo()
603 check_fw_checksum(struct rtw_dev *rtwdev, u32 addr) in check_fw_checksum()
637 download_firmware_to_mem(struct rtw_dev *rtwdev, const u8 *data, in download_firmware_to_mem()
688 start_download_firmware(struct rtw_dev *rtwdev, const u8 *data, u32 size) in start_download_firmware()
738 static int download_firmware_validate(struct rtw_dev *rtwdev) in download_firmware_validate()
752 static void download_firmware_end_flow(struct rtw_dev *rtwdev) in download_firmware_end_flow()
767 static int __rtw_download_firmware(struct rtw_dev *rtwdev, in __rtw_download_firmware()
824 static void en_download_firmware_legacy(struct rtw_dev *rtwdev, bool en) in en_download_firmware_legacy()
849 write_firmware_page(struct rtw_dev *rtwdev, u32 page, const u8 *data, u32 size) in write_firmware_page()
881 download_firmware_legacy(struct rtw_dev *rtwdev, const u8 *data, u32 size) in download_firmware_legacy()
910 static int download_firmware_validate_legacy(struct rtw_dev *rtwdev) in download_firmware_validate_legacy()
934 static int __rtw_download_firmware_legacy(struct rtw_dev *rtwdev, in __rtw_download_firmware_legacy()
962 int _rtw_download_firmware(struct rtw_dev *rtwdev, struct rtw_fw_state *fw) in _rtw_download_firmware()
970 int rtw_download_firmware(struct rtw_dev *rtwdev, struct rtw_fw_state *fw) in rtw_download_firmware()
985 static u32 get_priority_queues(struct rtw_dev *rtwdev, u32 queues) in get_priority_queues()
1002 static void __rtw_mac_flush_prio_queue(struct rtw_dev *rtwdev, in __rtw_mac_flush_prio_queue()
1039 static void rtw_mac_flush_prio_queues(struct rtw_dev *rtwdev, in rtw_mac_flush_prio_queues()
1049 void rtw_mac_flush_queues(struct rtw_dev *rtwdev, u32 queues, bool drop) in rtw_mac_flush_queues()
1065 static int txdma_queue_mapping(struct rtw_dev *rtwdev) in txdma_queue_mapping()
1116 static int set_trx_fifo_info(struct rtw_dev *rtwdev) in set_trx_fifo_info()
1169 static int __priority_queue_cfg(struct rtw_dev *rtwdev, in __priority_queue_cfg()
1200 static int __priority_queue_cfg_legacy(struct rtw_dev *rtwdev, in __priority_queue_cfg_legacy()
1228 static int priority_queue_cfg(struct rtw_dev *rtwdev) in priority_queue_cfg()
1269 static int init_h2c(struct rtw_dev *rtwdev) in init_h2c()
1322 static int rtw_init_trx_cfg(struct rtw_dev *rtwdev) in rtw_init_trx_cfg()
1341 static int rtw_drv_info_cfg(struct rtw_dev *rtwdev) in rtw_drv_info_cfg()
1359 int rtw_mac_init(struct rtw_dev *rtwdev) in rtw_mac_init()