Lines Matching defs:rtwdev

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()
328 static int __rtw_mac_init_system_cfg(struct rtw_dev *rtwdev) in __rtw_mac_init_system_cfg()
353 static int __rtw_mac_init_system_cfg_legacy(struct rtw_dev *rtwdev) in __rtw_mac_init_system_cfg_legacy()
368 static int rtw_mac_init_system_cfg(struct rtw_dev *rtwdev) in rtw_mac_init_system_cfg()
376 int rtw_mac_power_on(struct rtw_dev *rtwdev) in rtw_mac_power_on()
410 void rtw_mac_power_off(struct rtw_dev *rtwdev) in rtw_mac_power_off()
438 static void wlan_cpu_enable(struct rtw_dev *rtwdev, bool enable) in wlan_cpu_enable()
457 static void download_firmware_reg_backup(struct rtw_dev *rtwdev, in download_firmware_reg_backup()
511 static void download_firmware_reset_platform(struct rtw_dev *rtwdev) in download_firmware_reset_platform()
519 static void download_firmware_reg_restore(struct rtw_dev *rtwdev, in download_firmware_reg_restore()
528 static int send_firmware_pkt_rsvd_page(struct rtw_dev *rtwdev, u16 pg_addr, in send_firmware_pkt_rsvd_page()
544 send_firmware_pkt(struct rtw_dev *rtwdev, u16 pg_addr, const u8 *data, u32 size) in send_firmware_pkt()
560 iddma_enable(struct rtw_dev *rtwdev, u32 src, u32 dst, u32 ctrl) in iddma_enable()
572 static int iddma_download_firmware(struct rtw_dev *rtwdev, u32 src, u32 dst, in iddma_download_firmware()
590 int rtw_ddma_to_fw_fifo(struct rtw_dev *rtwdev, u32 ocp_src, u32 size) in rtw_ddma_to_fw_fifo()
610 check_fw_checksum(struct rtw_dev *rtwdev, u32 addr) in check_fw_checksum()
644 download_firmware_to_mem(struct rtw_dev *rtwdev, const u8 *data, in download_firmware_to_mem()
695 start_download_firmware(struct rtw_dev *rtwdev, const u8 *data, u32 size) in start_download_firmware()
745 static int download_firmware_validate(struct rtw_dev *rtwdev) in download_firmware_validate()
759 static void download_firmware_end_flow(struct rtw_dev *rtwdev) in download_firmware_end_flow()
774 static int __rtw_download_firmware(struct rtw_dev *rtwdev, in __rtw_download_firmware()
831 static void en_download_firmware_legacy(struct rtw_dev *rtwdev, bool en) in en_download_firmware_legacy()
856 write_firmware_page(struct rtw_dev *rtwdev, u32 page, const u8 *data, u32 size) in write_firmware_page()
888 download_firmware_legacy(struct rtw_dev *rtwdev, const u8 *data, u32 size) in download_firmware_legacy()
917 static int download_firmware_validate_legacy(struct rtw_dev *rtwdev) in download_firmware_validate_legacy()
941 static int __rtw_download_firmware_legacy(struct rtw_dev *rtwdev, in __rtw_download_firmware_legacy()
969 int _rtw_download_firmware(struct rtw_dev *rtwdev, struct rtw_fw_state *fw) in _rtw_download_firmware()
977 int rtw_download_firmware(struct rtw_dev *rtwdev, struct rtw_fw_state *fw) in rtw_download_firmware()
992 static u32 get_priority_queues(struct rtw_dev *rtwdev, u32 queues) in get_priority_queues()
1009 static void __rtw_mac_flush_prio_queue(struct rtw_dev *rtwdev, in __rtw_mac_flush_prio_queue()
1046 static void rtw_mac_flush_prio_queues(struct rtw_dev *rtwdev, in rtw_mac_flush_prio_queues()
1056 void rtw_mac_flush_queues(struct rtw_dev *rtwdev, u32 queues, bool drop) in rtw_mac_flush_queues()
1072 static int txdma_queue_mapping(struct rtw_dev *rtwdev) in txdma_queue_mapping()
1123 static int set_trx_fifo_info(struct rtw_dev *rtwdev) in set_trx_fifo_info()
1176 static int __priority_queue_cfg(struct rtw_dev *rtwdev, in __priority_queue_cfg()
1207 static int __priority_queue_cfg_legacy(struct rtw_dev *rtwdev, in __priority_queue_cfg_legacy()
1235 static int priority_queue_cfg(struct rtw_dev *rtwdev) in priority_queue_cfg()
1276 static int init_h2c(struct rtw_dev *rtwdev) in init_h2c()
1329 static int rtw_init_trx_cfg(struct rtw_dev *rtwdev) in rtw_init_trx_cfg()
1348 static int rtw_drv_info_cfg(struct rtw_dev *rtwdev) in rtw_drv_info_cfg()
1366 int rtw_mac_init(struct rtw_dev *rtwdev) in rtw_mac_init()