Lines Matching refs:hw
33 static bool _rtl92ee_phy_rf6052_config_parafile(struct ieee80211_hw *hw);
35 void rtl92ee_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw, u8 bandwidth) in rtl92ee_phy_rf6052_set_bandwidth() argument
37 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92ee_phy_rf6052_set_bandwidth()
44 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl92ee_phy_rf6052_set_bandwidth()
46 rtl_set_rfreg(hw, RF90_PATH_B, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl92ee_phy_rf6052_set_bandwidth()
52 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl92ee_phy_rf6052_set_bandwidth()
54 rtl_set_rfreg(hw, RF90_PATH_B, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl92ee_phy_rf6052_set_bandwidth()
64 bool rtl92ee_phy_rf6052_config(struct ieee80211_hw *hw) in rtl92ee_phy_rf6052_config() argument
66 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92ee_phy_rf6052_config()
74 return _rtl92ee_phy_rf6052_config_parafile(hw); in rtl92ee_phy_rf6052_config()
77 static bool _rtl92ee_phy_rf6052_config_parafile(struct ieee80211_hw *hw) in _rtl92ee_phy_rf6052_config_parafile() argument
79 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl92ee_phy_rf6052_config_parafile()
92 u4_regvalue = rtl_get_bbreg(hw, pphyreg->rfintfs, in _rtl92ee_phy_rf6052_config_parafile()
97 u4_regvalue = rtl_get_bbreg(hw, pphyreg->rfintfs, in _rtl92ee_phy_rf6052_config_parafile()
102 rtl_set_bbreg(hw, pphyreg->rfintfe, BRFSI_RFENV << 16, 0x1); in _rtl92ee_phy_rf6052_config_parafile()
105 rtl_set_bbreg(hw, pphyreg->rfintfo, BRFSI_RFENV, 0x1); in _rtl92ee_phy_rf6052_config_parafile()
108 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, in _rtl92ee_phy_rf6052_config_parafile()
112 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, B3WIREDATALENGTH, 0x0); in _rtl92ee_phy_rf6052_config_parafile()
117 rtstatus = rtl92ee_phy_config_rf_with_headerfile(hw, in _rtl92ee_phy_rf6052_config_parafile()
121 rtstatus = rtl92ee_phy_config_rf_with_headerfile(hw, in _rtl92ee_phy_rf6052_config_parafile()
133 rtl_set_bbreg(hw, pphyreg->rfintfs, in _rtl92ee_phy_rf6052_config_parafile()
138 rtl_set_bbreg(hw, pphyreg->rfintfs, in _rtl92ee_phy_rf6052_config_parafile()