Lines Matching defs:rtwdev
166 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()
419 static u8 *rtw_fwcd_next(struct rtw_dev *rtwdev, u32 item, u32 size) in rtw_fwcd_next()
446 static void rtw_fwcd_dump(struct rtw_dev *rtwdev) in rtw_fwcd_dump()
460 static void rtw_fwcd_free(struct rtw_dev *rtwdev, bool free_self) in rtw_fwcd_free()
473 static int rtw_fw_dump_crash_log(struct rtw_dev *rtwdev) in rtw_fw_dump_crash_log()
503 int rtw_dump_fw(struct rtw_dev *rtwdev, const u32 ocp_src, u32 size, in rtw_dump_fw()
544 int rtw_dump_reg(struct rtw_dev *rtwdev, const u32 addr, const u32 size) in rtw_dump_reg()
588 struct rtw_dev *rtwdev = (struct rtw_dev *)data; in rtw_reset_key_iter() local
596 struct rtw_dev *rtwdev = (struct rtw_dev *)data; in rtw_reset_sta_iter() local
607 struct rtw_dev *rtwdev = (struct rtw_dev *)data; in rtw_reset_vif_iter() local
615 void rtw_fw_recovery(struct rtw_dev *rtwdev) in rtw_fw_recovery()
621 static void __fw_recovery_work(struct rtw_dev *rtwdev) in __fw_recovery_work()
656 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, in rtw_fw_recovery_work() local
694 struct rtw_dev *rtwdev = container_of(work, struct rtw_dev, ba_work); in rtw_txq_ba_work() local
713 void rtw_set_dtim_period(struct rtw_dev *rtwdev, int dtim_period) in rtw_set_dtim_period()
719 void rtw_update_channel(struct rtw_dev *rtwdev, u8 center_channel, in rtw_update_channel()
851 void rtw_set_channel(struct rtw_dev *rtwdev) in rtw_set_channel()
895 void rtw_chip_prepare_tx(struct rtw_dev *rtwdev) in rtw_chip_prepare_tx()
905 static void rtw_vif_write_addr(struct rtw_dev *rtwdev, u32 start, u8 *addr) in rtw_vif_write_addr()
913 void rtw_vif_port_config(struct rtw_dev *rtwdev, in rtw_vif_port_config()
964 static void rtw_hw_config_rf_ant_num(struct rtw_dev *rtwdev, u8 hw_ant_num) in rtw_hw_config_rf_ant_num()
1150 static u64 rtw_rate_mask_cfg(struct rtw_dev *rtwdev, struct rtw_sta_info *si, in rtw_rate_mask_cfg()
1192 void rtw_update_sta_info(struct rtw_dev *rtwdev, struct rtw_sta_info *si, in rtw_update_sta_info()
1313 static int rtw_wait_firmware_completion(struct rtw_dev *rtwdev) in rtw_wait_firmware_completion()
1334 static enum rtw_lps_deep_mode rtw_update_lps_deep_mode(struct rtw_dev *rtwdev, in rtw_update_lps_deep_mode()
1354 static int rtw_power_on(struct rtw_dev *rtwdev) in rtw_power_on()
1418 void rtw_core_fw_scan_notify(struct rtw_dev *rtwdev, bool start) in rtw_core_fw_scan_notify()
1434 void rtw_core_scan_start(struct rtw_dev *rtwdev, struct rtw_vif *rtwvif, in rtw_core_scan_start()
1461 void rtw_core_scan_complete(struct rtw_dev *rtwdev, struct ieee80211_vif *vif, in rtw_core_scan_complete()
1485 int rtw_core_start(struct rtw_dev *rtwdev) in rtw_core_start()
1509 static void rtw_power_off(struct rtw_dev *rtwdev) in rtw_power_off()
1516 void rtw_core_stop(struct rtw_dev *rtwdev) in rtw_core_stop()
1542 static void rtw_init_ht_cap(struct rtw_dev *rtwdev, in rtw_init_ht_cap()
1579 static void rtw_init_vht_cap(struct rtw_dev *rtwdev, in rtw_init_vht_cap()
1628 static u16 rtw_get_max_scan_ie_len(struct rtw_dev *rtwdev) in rtw_get_max_scan_ie_len()
1646 struct rtw_dev *rtwdev = hw->priv; in rtw_set_supported_band() local
1685 struct rtw_dev *rtwdev = (struct rtw_dev *)data; in rtw_vif_smps_iter() local
1696 void rtw_set_txrx_1ss(struct rtw_dev *rtwdev, bool txrx_1ss) in rtw_set_txrx_1ss()
1713 static void __update_firmware_feature(struct rtw_dev *rtwdev, in __update_firmware_feature()
1728 static void __update_firmware_info(struct rtw_dev *rtwdev, in __update_firmware_info()
1742 static void __update_firmware_info_legacy(struct rtw_dev *rtwdev, in __update_firmware_info_legacy()
1754 static void update_firmware_info(struct rtw_dev *rtwdev, in update_firmware_info()
1766 struct rtw_dev *rtwdev = fw->rtwdev; in rtw_load_firmware_cb() local
1783 static int rtw_load_firmware(struct rtw_dev *rtwdev, enum rtw_fw_type type) in rtw_load_firmware()
1819 static int rtw_chip_parameter_setup(struct rtw_dev *rtwdev) in rtw_chip_parameter_setup()
1872 static int rtw_chip_efuse_enable(struct rtw_dev *rtwdev) in rtw_chip_efuse_enable()
1913 static int rtw_dump_hw_feature(struct rtw_dev *rtwdev) in rtw_dump_hw_feature()
1953 static void rtw_chip_efuse_disable(struct rtw_dev *rtwdev) in rtw_chip_efuse_disable()
1959 static int rtw_chip_efuse_info_setup(struct rtw_dev *rtwdev) in rtw_chip_efuse_info_setup()
2020 static int rtw_chip_board_info_setup(struct rtw_dev *rtwdev) in rtw_chip_board_info_setup()
2039 int rtw_chip_info_setup(struct rtw_dev *rtwdev) in rtw_chip_info_setup()
2068 static void rtw_stats_init(struct rtw_dev *rtwdev) in rtw_stats_init()
2083 int rtw_core_init(struct rtw_dev *rtwdev) in rtw_core_init()
2167 void rtw_core_deinit(struct rtw_dev *rtwdev) in rtw_core_deinit()
2201 int rtw_register_hw(struct rtw_dev *rtwdev, struct ieee80211_hw *hw) in rtw_register_hw()
2290 void rtw_unregister_hw(struct rtw_dev *rtwdev, struct ieee80211_hw *hw) in rtw_unregister_hw()
2300 void rtw_swap_reg_nbytes(struct rtw_dev *rtwdev, const struct rtw_hw_reg *reg1, in rtw_swap_reg_nbytes()
2315 void rtw_swap_reg_mask(struct rtw_dev *rtwdev, const struct rtw_hw_reg *reg1, in rtw_swap_reg_mask()
2327 struct rtw_dev *rtwdev; member
2334 struct rtw_dev *rtwdev = iter_data->rtwdev; in rtw_port_switch_iter() local
2370 void rtw_core_port_switch(struct rtw_dev *rtwdev, struct ieee80211_vif *vif) in rtw_core_port_switch()
2398 bool rtw_core_check_sta_active(struct rtw_dev *rtwdev) in rtw_core_check_sta_active()
2407 void rtw_core_enable_beacon(struct rtw_dev *rtwdev, bool enable) in rtw_core_enable_beacon()