Lines Matching refs:rtw_dev
52 struct rtw_dev;
834 int (*mac_init)(struct rtw_dev *rtwdev);
835 int (*dump_fw_crash)(struct rtw_dev *rtwdev);
836 void (*shutdown)(struct rtw_dev *rtwdev);
837 int (*read_efuse)(struct rtw_dev *rtwdev, u8 *map);
838 void (*phy_set_param)(struct rtw_dev *rtwdev);
839 void (*set_channel)(struct rtw_dev *rtwdev, u8 channel,
841 void (*query_rx_desc)(struct rtw_dev *rtwdev, u8 *rx_desc,
844 u32 (*read_rf)(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path,
846 bool (*write_rf)(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path,
848 void (*set_tx_power_index)(struct rtw_dev *rtwdev);
849 int (*rsvd_page_dump)(struct rtw_dev *rtwdev, u8 *buf, u32 offset,
851 int (*set_antenna)(struct rtw_dev *rtwdev,
854 void (*cfg_ldo25)(struct rtw_dev *rtwdev, bool enable);
855 void (*efuse_grant)(struct rtw_dev *rtwdev, bool enable);
856 void (*false_alarm_statistics)(struct rtw_dev *rtwdev);
857 void (*phy_calibration)(struct rtw_dev *rtwdev);
858 void (*dpk_track)(struct rtw_dev *rtwdev);
859 void (*cck_pd_set)(struct rtw_dev *rtwdev, u8 level);
860 void (*pwr_track)(struct rtw_dev *rtwdev);
861 void (*config_bfee)(struct rtw_dev *rtwdev, struct rtw_vif *vif,
863 void (*set_gid_table)(struct rtw_dev *rtwdev,
866 void (*cfg_csi_rate)(struct rtw_dev *rtwdev, u8 rssi, u8 cur_rate,
868 void (*adaptivity_init)(struct rtw_dev *rtwdev);
869 void (*adaptivity)(struct rtw_dev *rtwdev);
870 void (*cfo_init)(struct rtw_dev *rtwdev);
871 void (*cfo_track)(struct rtw_dev *rtwdev);
872 void (*config_tx_path)(struct rtw_dev *rtwdev, u8 tx_path,
876 void (*config_txrx_mode)(struct rtw_dev *rtwdev, u8 tx_path,
880 void (*coex_set_init)(struct rtw_dev *rtwdev);
881 void (*coex_set_ant_switch)(struct rtw_dev *rtwdev,
883 void (*coex_set_gnt_fix)(struct rtw_dev *rtwdev);
884 void (*coex_set_gnt_debug)(struct rtw_dev *rtwdev);
885 void (*coex_set_rfe_type)(struct rtw_dev *rtwdev);
886 void (*coex_set_wl_tx_power)(struct rtw_dev *rtwdev, u8 wl_pwr);
887 void (*coex_set_wl_rx_gain)(struct rtw_dev *rtwdev, bool low_gain);
1063 void (*parse)(struct rtw_dev *rtwdev, const struct rtw_table *tbl);
1064 void (*do_cfg)(struct rtw_dev *rtwdev, const struct rtw_table *tbl,
1069 static inline void rtw_load_table(struct rtw_dev *rtwdev, in rtw_load_table()
1848 struct rtw_dev *rtwdev;
1974 struct rtw_dev { struct
2059 static inline bool rtw_is_assoc(struct rtw_dev *rtwdev) in rtw_is_assoc() argument
2090 static inline void rtw_chip_efuse_grant_on(struct rtw_dev *rtwdev) in rtw_chip_efuse_grant_on()
2096 static inline void rtw_chip_efuse_grant_off(struct rtw_dev *rtwdev) in rtw_chip_efuse_grant_off()
2102 static inline bool rtw_chip_wcpu_11n(struct rtw_dev *rtwdev) in rtw_chip_wcpu_11n()
2107 static inline bool rtw_chip_wcpu_11ac(struct rtw_dev *rtwdev) in rtw_chip_wcpu_11ac()
2112 static inline bool rtw_chip_has_rx_ldpc(struct rtw_dev *rtwdev) in rtw_chip_has_rx_ldpc()
2117 static inline bool rtw_chip_has_tx_stbc(struct rtw_dev *rtwdev) in rtw_chip_has_tx_stbc()
2122 static inline void rtw_release_macid(struct rtw_dev *rtwdev, u8 mac_id) in rtw_release_macid()
2127 static inline int rtw_chip_dump_fw_crash(struct rtw_dev *rtwdev) in rtw_chip_dump_fw_crash()
2136 void rtw_set_dtim_period(struct rtw_dev *rtwdev, int dtim_period);
2139 bool check_hw_ready(struct rtw_dev *rtwdev, u32 addr, u32 mask, u32 target);
2140 bool ltecoex_read_reg(struct rtw_dev *rtwdev, u16 offset, u32 *val);
2141 bool ltecoex_reg_write(struct rtw_dev *rtwdev, u16 offset, u32 value);
2142 void rtw_restore_reg(struct rtw_dev *rtwdev,
2145 void rtw_set_channel(struct rtw_dev *rtwdev);
2146 void rtw_chip_prepare_tx(struct rtw_dev *rtwdev);
2147 void rtw_vif_port_config(struct rtw_dev *rtwdev, struct rtw_vif *rtwvif,
2150 void rtw_update_sta_info(struct rtw_dev *rtwdev, struct rtw_sta_info *si,
2152 void rtw_core_scan_start(struct rtw_dev *rtwdev, struct rtw_vif *rtwvif,
2154 void rtw_core_scan_complete(struct rtw_dev *rtwdev, struct ieee80211_vif *vif,
2156 int rtw_core_start(struct rtw_dev *rtwdev);
2157 void rtw_core_stop(struct rtw_dev *rtwdev);
2158 int rtw_chip_info_setup(struct rtw_dev *rtwdev);
2159 int rtw_core_init(struct rtw_dev *rtwdev);
2160 void rtw_core_deinit(struct rtw_dev *rtwdev);
2161 int rtw_register_hw(struct rtw_dev *rtwdev, struct ieee80211_hw *hw);
2162 void rtw_unregister_hw(struct rtw_dev *rtwdev, struct ieee80211_hw *hw);
2166 int rtw_sta_add(struct rtw_dev *rtwdev, struct ieee80211_sta *sta,
2168 void rtw_sta_remove(struct rtw_dev *rtwdev, struct ieee80211_sta *sta,
2170 void rtw_fw_recovery(struct rtw_dev *rtwdev);
2171 void rtw_core_fw_scan_notify(struct rtw_dev *rtwdev, bool start);
2172 int rtw_dump_fw(struct rtw_dev *rtwdev, const u32 ocp_src, u32 size,
2174 int rtw_dump_reg(struct rtw_dev *rtwdev, const u32 addr, const u32 size);
2175 void rtw_set_txrx_1ss(struct rtw_dev *rtwdev, bool config_1ss);