Lines Matching refs:rtw_dev
145 struct rtw_dev *rtwdev;
149 static void rtw_dynamic_csi_rate(struct rtw_dev *rtwdev, struct rtw_vif *rtwvif) in rtw_dynamic_csi_rate()
190 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, in rtw_watch_dog_work()
268 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, c2h_work); in rtw_c2h_work()
280 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, ips_work); in rtw_ips_work()
288 static u8 rtw_acquire_macid(struct rtw_dev *rtwdev) in rtw_acquire_macid()
299 int rtw_sta_add(struct rtw_dev *rtwdev, struct ieee80211_sta *sta, in rtw_sta_add()
327 void rtw_sta_remove(struct rtw_dev *rtwdev, struct ieee80211_sta *sta, in rtw_sta_remove()
354 static int rtw_fwcd_prep(struct rtw_dev *rtwdev) in rtw_fwcd_prep()
379 static u8 *rtw_fwcd_next(struct rtw_dev *rtwdev, u32 item, u32 size) in rtw_fwcd_next()
406 static void rtw_fwcd_dump(struct rtw_dev *rtwdev) in rtw_fwcd_dump()
420 static void rtw_fwcd_free(struct rtw_dev *rtwdev, bool free_self) in rtw_fwcd_free()
433 static int rtw_fw_dump_crash_log(struct rtw_dev *rtwdev) in rtw_fw_dump_crash_log()
463 int rtw_dump_fw(struct rtw_dev *rtwdev, const u32 ocp_src, u32 size, in rtw_dump_fw()
504 int rtw_dump_reg(struct rtw_dev *rtwdev, const u32 addr, const u32 size) in rtw_dump_reg()
548 struct rtw_dev *rtwdev = (struct rtw_dev *)data; in rtw_reset_key_iter()
556 struct rtw_dev *rtwdev = (struct rtw_dev *)data; in rtw_reset_sta_iter()
567 struct rtw_dev *rtwdev = (struct rtw_dev *)data; in rtw_reset_vif_iter()
575 void rtw_fw_recovery(struct rtw_dev *rtwdev) in rtw_fw_recovery()
581 static void __fw_recovery_work(struct rtw_dev *rtwdev) in __fw_recovery_work()
615 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, in rtw_fw_recovery_work()
653 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, ba_work); in rtw_txq_ba_work()
672 void rtw_set_dtim_period(struct rtw_dev *rtwdev, int dtim_period) in rtw_set_dtim_period()
678 void rtw_update_channel(struct rtw_dev *rtwdev, u8 center_channel, in rtw_update_channel()
810 void rtw_set_channel(struct rtw_dev *rtwdev) in rtw_set_channel()
851 void rtw_chip_prepare_tx(struct rtw_dev *rtwdev) in rtw_chip_prepare_tx()
861 static void rtw_vif_write_addr(struct rtw_dev *rtwdev, u32 start, u8 *addr) in rtw_vif_write_addr()
869 void rtw_vif_port_config(struct rtw_dev *rtwdev, in rtw_vif_port_config()
920 static void rtw_hw_config_rf_ant_num(struct rtw_dev *rtwdev, u8 hw_ant_num) in rtw_hw_config_rf_ant_num()
1106 static u64 rtw_rate_mask_cfg(struct rtw_dev *rtwdev, struct rtw_sta_info *si, in rtw_rate_mask_cfg()
1148 void rtw_update_sta_info(struct rtw_dev *rtwdev, struct rtw_sta_info *si, in rtw_update_sta_info()
1270 static int rtw_wait_firmware_completion(struct rtw_dev *rtwdev) in rtw_wait_firmware_completion()
1290 static enum rtw_lps_deep_mode rtw_update_lps_deep_mode(struct rtw_dev *rtwdev, in rtw_update_lps_deep_mode()
1310 static int rtw_power_on(struct rtw_dev *rtwdev) in rtw_power_on()
1374 void rtw_core_fw_scan_notify(struct rtw_dev *rtwdev, bool start) in rtw_core_fw_scan_notify()
1390 void rtw_core_scan_start(struct rtw_dev *rtwdev, struct rtw_vif *rtwvif, in rtw_core_scan_start()
1417 void rtw_core_scan_complete(struct rtw_dev *rtwdev, struct ieee80211_vif *vif, in rtw_core_scan_complete()
1441 int rtw_core_start(struct rtw_dev *rtwdev) in rtw_core_start()
1465 static void rtw_power_off(struct rtw_dev *rtwdev) in rtw_power_off()
1472 void rtw_core_stop(struct rtw_dev *rtwdev) in rtw_core_stop()
1498 static void rtw_init_ht_cap(struct rtw_dev *rtwdev, in rtw_init_ht_cap()
1535 static void rtw_init_vht_cap(struct rtw_dev *rtwdev, in rtw_init_vht_cap()
1584 static u16 rtw_get_max_scan_ie_len(struct rtw_dev *rtwdev) in rtw_get_max_scan_ie_len()
1602 struct rtw_dev *rtwdev = hw->priv; in rtw_set_supported_band()
1641 struct rtw_dev *rtwdev = (struct rtw_dev *)data; in rtw_vif_smps_iter()
1652 void rtw_set_txrx_1ss(struct rtw_dev *rtwdev, bool txrx_1ss) in rtw_set_txrx_1ss()
1669 static void __update_firmware_feature(struct rtw_dev *rtwdev, in __update_firmware_feature()
1684 static void __update_firmware_info(struct rtw_dev *rtwdev, in __update_firmware_info()
1698 static void __update_firmware_info_legacy(struct rtw_dev *rtwdev, in __update_firmware_info_legacy()
1710 static void update_firmware_info(struct rtw_dev *rtwdev, in update_firmware_info()
1722 struct rtw_dev *rtwdev = fw->rtwdev; in rtw_load_firmware_cb()
1738 static int rtw_load_firmware(struct rtw_dev *rtwdev, enum rtw_fw_type type) in rtw_load_firmware()
1773 static int rtw_chip_parameter_setup(struct rtw_dev *rtwdev) in rtw_chip_parameter_setup()
1818 static int rtw_chip_efuse_enable(struct rtw_dev *rtwdev) in rtw_chip_efuse_enable()
1859 static int rtw_dump_hw_feature(struct rtw_dev *rtwdev) in rtw_dump_hw_feature()
1899 static void rtw_chip_efuse_disable(struct rtw_dev *rtwdev) in rtw_chip_efuse_disable()
1905 static int rtw_chip_efuse_info_setup(struct rtw_dev *rtwdev) in rtw_chip_efuse_info_setup()
1966 static int rtw_chip_board_info_setup(struct rtw_dev *rtwdev) in rtw_chip_board_info_setup()
1987 int rtw_chip_info_setup(struct rtw_dev *rtwdev) in rtw_chip_info_setup()
2016 static void rtw_stats_init(struct rtw_dev *rtwdev) in rtw_stats_init()
2031 int rtw_core_init(struct rtw_dev *rtwdev) in rtw_core_init()
2118 void rtw_core_deinit(struct rtw_dev *rtwdev) in rtw_core_deinit()
2151 int rtw_register_hw(struct rtw_dev *rtwdev, struct ieee80211_hw *hw) in rtw_register_hw()
2233 void rtw_unregister_hw(struct rtw_dev *rtwdev, struct ieee80211_hw *hw) in rtw_unregister_hw()