Lines Matching refs:rtwdev
19 void rtw_phy_init(struct rtw_dev *rtwdev);
20 void rtw_phy_dynamic_mechanism(struct rtw_dev *rtwdev);
22 u32 rtw_phy_read_rf(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path,
24 bool rtw_phy_write_rf_reg_sipi(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path,
26 bool rtw_phy_write_rf_reg(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path,
28 bool rtw_phy_write_rf_reg_mix(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path,
30 void rtw_phy_setup_phy_cond(struct rtw_dev *rtwdev, u32 pkg);
31 void rtw_parse_tbl_phy_cond(struct rtw_dev *rtwdev, const struct rtw_table *tbl);
32 void rtw_parse_tbl_bb_pg(struct rtw_dev *rtwdev, const struct rtw_table *tbl);
33 void rtw_parse_tbl_txpwr_lmt(struct rtw_dev *rtwdev, const struct rtw_table *tbl);
34 void rtw_phy_cfg_mac(struct rtw_dev *rtwdev, const struct rtw_table *tbl,
36 void rtw_phy_cfg_agc(struct rtw_dev *rtwdev, const struct rtw_table *tbl,
38 void rtw_phy_cfg_bb(struct rtw_dev *rtwdev, const struct rtw_table *tbl,
40 void rtw_phy_cfg_rf(struct rtw_dev *rtwdev, const struct rtw_table *tbl,
42 void rtw_phy_init_tx_power(struct rtw_dev *rtwdev);
43 void rtw_phy_load_tables(struct rtw_dev *rtwdev);
44 void rtw_phy_set_tx_power_level(struct rtw_dev *rtwdev, u8 channel);
86 static inline const struct rtw_rfe_def *rtw_get_rfe_def(struct rtw_dev *rtwdev) in rtw_get_rfe_def() argument
88 struct rtw_chip_info *chip = rtwdev->chip; in rtw_get_rfe_def()
89 struct rtw_efuse *efuse = &rtwdev->efuse; in rtw_get_rfe_def()
98 rtw_dbg(rtwdev, RTW_DBG_PHY, "use rfe_def[%d]\n", efuse->rfe_option); in rtw_get_rfe_def()
102 static inline int rtw_check_supported_rfe(struct rtw_dev *rtwdev) in rtw_check_supported_rfe() argument
104 const struct rtw_rfe_def *rfe_def = rtw_get_rfe_def(rtwdev); in rtw_check_supported_rfe()
107 rtw_err(rtwdev, "rfe %d isn't supported\n", in rtw_check_supported_rfe()
108 rtwdev->efuse.rfe_option); in rtw_check_supported_rfe()
115 void rtw_phy_dig_write(struct rtw_dev *rtwdev, u8 igi);
124 rtw_get_tx_power_params(struct rtw_dev *rtwdev, u8 path,