Lines Matching refs:rtw_dev
52 struct rtw_dev;
748 struct rtw_dev *rtwdev;
844 int (*mac_init)(struct rtw_dev *rtwdev);
845 int (*dump_fw_crash)(struct rtw_dev *rtwdev);
846 void (*shutdown)(struct rtw_dev *rtwdev);
847 int (*read_efuse)(struct rtw_dev *rtwdev, u8 *map);
848 void (*phy_set_param)(struct rtw_dev *rtwdev);
849 void (*set_channel)(struct rtw_dev *rtwdev, u8 channel,
851 void (*query_rx_desc)(struct rtw_dev *rtwdev, u8 *rx_desc,
854 u32 (*read_rf)(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path,
856 bool (*write_rf)(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path,
858 void (*set_tx_power_index)(struct rtw_dev *rtwdev);
859 int (*rsvd_page_dump)(struct rtw_dev *rtwdev, u8 *buf, u32 offset,
861 int (*set_antenna)(struct rtw_dev *rtwdev,
864 void (*cfg_ldo25)(struct rtw_dev *rtwdev, bool enable);
865 void (*efuse_grant)(struct rtw_dev *rtwdev, bool enable);
866 void (*false_alarm_statistics)(struct rtw_dev *rtwdev);
867 void (*phy_calibration)(struct rtw_dev *rtwdev);
868 void (*dpk_track)(struct rtw_dev *rtwdev);
869 void (*cck_pd_set)(struct rtw_dev *rtwdev, u8 level);
870 void (*pwr_track)(struct rtw_dev *rtwdev);
871 void (*config_bfee)(struct rtw_dev *rtwdev, struct rtw_vif *vif,
873 void (*set_gid_table)(struct rtw_dev *rtwdev,
876 void (*cfg_csi_rate)(struct rtw_dev *rtwdev, u8 rssi, u8 cur_rate,
878 void (*adaptivity_init)(struct rtw_dev *rtwdev);
879 void (*adaptivity)(struct rtw_dev *rtwdev);
880 void (*cfo_init)(struct rtw_dev *rtwdev);
881 void (*cfo_track)(struct rtw_dev *rtwdev);
882 void (*config_tx_path)(struct rtw_dev *rtwdev, u8 tx_path,
886 void (*config_txrx_mode)(struct rtw_dev *rtwdev, u8 tx_path,
889 void (*fill_txdesc_checksum)(struct rtw_dev *rtwdev,
894 void (*coex_set_init)(struct rtw_dev *rtwdev);
895 void (*coex_set_ant_switch)(struct rtw_dev *rtwdev,
897 void (*coex_set_gnt_fix)(struct rtw_dev *rtwdev);
898 void (*coex_set_gnt_debug)(struct rtw_dev *rtwdev);
899 void (*coex_set_rfe_type)(struct rtw_dev *rtwdev);
900 void (*coex_set_wl_tx_power)(struct rtw_dev *rtwdev, u8 wl_pwr);
901 void (*coex_set_wl_rx_gain)(struct rtw_dev *rtwdev, bool low_gain);
1077 void (*parse)(struct rtw_dev *rtwdev, const struct rtw_table *tbl);
1078 void (*do_cfg)(struct rtw_dev *rtwdev, const struct rtw_table *tbl,
1083 static inline void rtw_load_table(struct rtw_dev *rtwdev, in rtw_load_table()
1868 struct rtw_dev *rtwdev;
2000 struct rtw_dev { struct
2082 static inline bool rtw_is_assoc(struct rtw_dev *rtwdev) in rtw_is_assoc() argument
2101 static inline void rtw_chip_efuse_grant_on(struct rtw_dev *rtwdev) in rtw_chip_efuse_grant_on()
2107 static inline void rtw_chip_efuse_grant_off(struct rtw_dev *rtwdev) in rtw_chip_efuse_grant_off()
2113 static inline bool rtw_chip_wcpu_11n(struct rtw_dev *rtwdev) in rtw_chip_wcpu_11n()
2118 static inline bool rtw_chip_wcpu_11ac(struct rtw_dev *rtwdev) in rtw_chip_wcpu_11ac()
2123 static inline bool rtw_chip_has_rx_ldpc(struct rtw_dev *rtwdev) in rtw_chip_has_rx_ldpc()
2128 static inline bool rtw_chip_has_tx_stbc(struct rtw_dev *rtwdev) in rtw_chip_has_tx_stbc()
2133 static inline u8 rtw_acquire_macid(struct rtw_dev *rtwdev) in rtw_acquire_macid()
2144 static inline void rtw_release_macid(struct rtw_dev *rtwdev, u8 mac_id) in rtw_release_macid()
2149 static inline int rtw_chip_dump_fw_crash(struct rtw_dev *rtwdev) in rtw_chip_dump_fw_crash()
2172 void rtw_set_dtim_period(struct rtw_dev *rtwdev, int dtim_period);
2175 bool check_hw_ready(struct rtw_dev *rtwdev, u32 addr, u32 mask, u32 target);
2176 bool ltecoex_read_reg(struct rtw_dev *rtwdev, u16 offset, u32 *val);
2177 bool ltecoex_reg_write(struct rtw_dev *rtwdev, u16 offset, u32 value);
2178 void rtw_restore_reg(struct rtw_dev *rtwdev,
2181 void rtw_set_channel(struct rtw_dev *rtwdev);
2182 void rtw_chip_prepare_tx(struct rtw_dev *rtwdev);
2183 void rtw_vif_port_config(struct rtw_dev *rtwdev, struct rtw_vif *rtwvif,
2186 void rtw_update_sta_info(struct rtw_dev *rtwdev, struct rtw_sta_info *si,
2188 void rtw_core_scan_start(struct rtw_dev *rtwdev, struct rtw_vif *rtwvif,
2190 void rtw_core_scan_complete(struct rtw_dev *rtwdev, struct ieee80211_vif *vif,
2192 int rtw_core_start(struct rtw_dev *rtwdev);
2193 void rtw_core_stop(struct rtw_dev *rtwdev);
2194 int rtw_chip_info_setup(struct rtw_dev *rtwdev);
2195 int rtw_core_init(struct rtw_dev *rtwdev);
2196 void rtw_core_deinit(struct rtw_dev *rtwdev);
2197 int rtw_register_hw(struct rtw_dev *rtwdev, struct ieee80211_hw *hw);
2198 void rtw_unregister_hw(struct rtw_dev *rtwdev, struct ieee80211_hw *hw);
2202 int rtw_sta_add(struct rtw_dev *rtwdev, struct ieee80211_sta *sta,
2204 void rtw_sta_remove(struct rtw_dev *rtwdev, struct ieee80211_sta *sta,
2206 void rtw_fw_recovery(struct rtw_dev *rtwdev);
2207 void rtw_core_fw_scan_notify(struct rtw_dev *rtwdev, bool start);
2208 int rtw_dump_fw(struct rtw_dev *rtwdev, const u32 ocp_src, u32 size,
2210 int rtw_dump_reg(struct rtw_dev *rtwdev, const u32 addr, const u32 size);
2211 void rtw_set_txrx_1ss(struct rtw_dev *rtwdev, bool config_1ss);
2212 void rtw_update_channel(struct rtw_dev *rtwdev, u8 center_channel,
2215 void rtw_core_port_switch(struct rtw_dev *rtwdev, struct ieee80211_vif *vif);
2216 bool rtw_core_check_sta_active(struct rtw_dev *rtwdev);
2217 void rtw_core_enable_beacon(struct rtw_dev *rtwdev, bool enable);