Lines Matching refs:regaddr
41 u32 rtl92ee_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) in rtl92ee_phy_query_bb_reg() argument
47 "regaddr(%#x), bitmask(%#x)\n", regaddr, bitmask); in rtl92ee_phy_query_bb_reg()
48 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl92ee_phy_query_bb_reg()
54 bitmask, regaddr, originalvalue); in rtl92ee_phy_query_bb_reg()
59 void rtl92ee_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, in rtl92ee_phy_set_bb_reg() argument
67 regaddr, bitmask, data); in rtl92ee_phy_set_bb_reg()
70 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl92ee_phy_set_bb_reg()
75 rtl_write_dword(rtlpriv, regaddr, data); in rtl92ee_phy_set_bb_reg()
79 regaddr, bitmask, data); in rtl92ee_phy_set_bb_reg()
83 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl92ee_phy_query_rf_reg() argument
91 regaddr, rfpath, bitmask); in rtl92ee_phy_query_rf_reg()
95 original_value = _rtl92ee_phy_rf_serial_read(hw , rfpath, regaddr); in rtl92ee_phy_query_rf_reg()
103 regaddr, rfpath, bitmask, original_value); in rtl92ee_phy_query_rf_reg()
290 enum radio_path rfpath, u32 regaddr) in _rtl92ee_config_rf_reg() argument
295 rtl_set_rfreg(hw, rfpath, regaddr, RFREG_OFFSET_MASK, data); in _rtl92ee_config_rf_reg()
307 rtl_set_rfreg(hw, rfpath, regaddr, in _rtl92ee_config_rf_reg()
326 rtl_set_rfreg(hw, rfpath, regaddr, in _rtl92ee_config_rf_reg()
791 static u8 _rtl92ee_get_rate_section_index(u32 regaddr) in _rtl92ee_get_rate_section_index() argument
795 switch (regaddr) { in _rtl92ee_get_rate_section_index()
828 regaddr &= 0xFFF; in _rtl92ee_get_rate_section_index()
829 if (regaddr >= 0xC20 && regaddr <= 0xC4C) in _rtl92ee_get_rate_section_index()
830 index = (u8)((regaddr - 0xC20) / 4); in _rtl92ee_get_rate_section_index()
831 else if (regaddr >= 0xE20 && regaddr <= 0xE4C) in _rtl92ee_get_rate_section_index()
832 index = (u8)((regaddr - 0xE20) / 4); in _rtl92ee_get_rate_section_index()
841 u32 txnum, u32 regaddr, in _rtl92ee_store_tx_power_by_rate() argument
846 u8 section = _rtl92ee_get_rate_section_index(regaddr); in _rtl92ee_store_tx_power_by_rate()