Lines Matching refs:rtw_dev
11 void rtw_set_channel_mac(struct rtw_dev *rtwdev, u8 channel, u8 bw, in rtw_set_channel_mac()
61 static int rtw_mac_pre_system_cfg(struct rtw_dev *rtwdev) in rtw_mac_pre_system_cfg()
115 static bool do_pwr_poll_cmd(struct rtw_dev *rtwdev, u32 addr, u32 mask, u32 target) in do_pwr_poll_cmd()
126 static int rtw_pwr_cmd_polling(struct rtw_dev *rtwdev, in rtw_pwr_cmd_polling()
161 static int rtw_sub_pwr_seq_parser(struct rtw_dev *rtwdev, u8 intf_mask, in rtw_sub_pwr_seq_parser()
206 static int rtw_pwr_seq_parser(struct rtw_dev *rtwdev, in rtw_pwr_seq_parser()
244 static int rtw_mac_power_switch(struct rtw_dev *rtwdev, bool pwr_on) in rtw_mac_power_switch()
279 static int __rtw_mac_init_system_cfg(struct rtw_dev *rtwdev) in __rtw_mac_init_system_cfg()
304 static int __rtw_mac_init_system_cfg_legacy(struct rtw_dev *rtwdev) in __rtw_mac_init_system_cfg_legacy()
319 static int rtw_mac_init_system_cfg(struct rtw_dev *rtwdev) in rtw_mac_init_system_cfg()
327 int rtw_mac_power_on(struct rtw_dev *rtwdev) in rtw_mac_power_on()
356 void rtw_mac_power_off(struct rtw_dev *rtwdev) in rtw_mac_power_off()
384 static void wlan_cpu_enable(struct rtw_dev *rtwdev, bool enable) in wlan_cpu_enable()
403 static void download_firmware_reg_backup(struct rtw_dev *rtwdev, in download_firmware_reg_backup()
454 static void download_firmware_reset_platform(struct rtw_dev *rtwdev) in download_firmware_reset_platform()
462 static void download_firmware_reg_restore(struct rtw_dev *rtwdev, in download_firmware_reg_restore()
471 static int send_firmware_pkt_rsvd_page(struct rtw_dev *rtwdev, u16 pg_addr, in send_firmware_pkt_rsvd_page()
487 send_firmware_pkt(struct rtw_dev *rtwdev, u16 pg_addr, const u8 *data, u32 size) in send_firmware_pkt()
503 iddma_enable(struct rtw_dev *rtwdev, u32 src, u32 dst, u32 ctrl) in iddma_enable()
515 static int iddma_download_firmware(struct rtw_dev *rtwdev, u32 src, u32 dst, in iddma_download_firmware()
533 int rtw_ddma_to_fw_fifo(struct rtw_dev *rtwdev, u32 ocp_src, u32 size) in rtw_ddma_to_fw_fifo()
553 check_fw_checksum(struct rtw_dev *rtwdev, u32 addr) in check_fw_checksum()
587 download_firmware_to_mem(struct rtw_dev *rtwdev, const u8 *data, in download_firmware_to_mem()
638 start_download_firmware(struct rtw_dev *rtwdev, const u8 *data, u32 size) in start_download_firmware()
688 static int download_firmware_validate(struct rtw_dev *rtwdev) in download_firmware_validate()
702 static void download_firmware_end_flow(struct rtw_dev *rtwdev) in download_firmware_end_flow()
717 static int __rtw_download_firmware(struct rtw_dev *rtwdev, in __rtw_download_firmware()
772 static void en_download_firmware_legacy(struct rtw_dev *rtwdev, bool en) in en_download_firmware_legacy()
797 write_firmware_page(struct rtw_dev *rtwdev, u32 page, const u8 *data, u32 size) in write_firmware_page()
829 download_firmware_legacy(struct rtw_dev *rtwdev, const u8 *data, u32 size) in download_firmware_legacy()
858 static int download_firmware_validate_legacy(struct rtw_dev *rtwdev) in download_firmware_validate_legacy()
882 static int __rtw_download_firmware_legacy(struct rtw_dev *rtwdev, in __rtw_download_firmware_legacy()
909 int rtw_download_firmware(struct rtw_dev *rtwdev, struct rtw_fw_state *fw) in rtw_download_firmware()
917 static u32 get_priority_queues(struct rtw_dev *rtwdev, u32 queues) in get_priority_queues()
934 static void __rtw_mac_flush_prio_queue(struct rtw_dev *rtwdev, in __rtw_mac_flush_prio_queue()
971 static void rtw_mac_flush_prio_queues(struct rtw_dev *rtwdev, in rtw_mac_flush_prio_queues()
981 void rtw_mac_flush_queues(struct rtw_dev *rtwdev, u32 queues, bool drop) in rtw_mac_flush_queues()
997 static int txdma_queue_mapping(struct rtw_dev *rtwdev) in txdma_queue_mapping()
1038 static int set_trx_fifo_info(struct rtw_dev *rtwdev) in set_trx_fifo_info()
1091 static int __priority_queue_cfg(struct rtw_dev *rtwdev, in __priority_queue_cfg()
1122 static int __priority_queue_cfg_legacy(struct rtw_dev *rtwdev, in __priority_queue_cfg_legacy()
1150 static int priority_queue_cfg(struct rtw_dev *rtwdev) in priority_queue_cfg()
1188 static int init_h2c(struct rtw_dev *rtwdev) in init_h2c()
1241 static int rtw_init_trx_cfg(struct rtw_dev *rtwdev) in rtw_init_trx_cfg()
1260 static int rtw_drv_info_cfg(struct rtw_dev *rtwdev) in rtw_drv_info_cfg()
1278 int rtw_mac_init(struct rtw_dev *rtwdev) in rtw_mac_init()