Lines Matching refs:regaddr
63 u32 rtl92ee_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) in rtl92ee_phy_query_bb_reg() argument
69 "regaddr(%#x), bitmask(%#x)\n", regaddr, bitmask); in rtl92ee_phy_query_bb_reg()
70 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl92ee_phy_query_bb_reg()
76 bitmask, regaddr, originalvalue); in rtl92ee_phy_query_bb_reg()
81 void rtl92ee_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, in rtl92ee_phy_set_bb_reg() argument
89 regaddr, bitmask, data); in rtl92ee_phy_set_bb_reg()
92 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl92ee_phy_set_bb_reg()
97 rtl_write_dword(rtlpriv, regaddr, data); in rtl92ee_phy_set_bb_reg()
101 regaddr, bitmask, data); in rtl92ee_phy_set_bb_reg()
105 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl92ee_phy_query_rf_reg() argument
113 regaddr, rfpath, bitmask); in rtl92ee_phy_query_rf_reg()
117 original_value = _rtl92ee_phy_rf_serial_read(hw , rfpath, regaddr); in rtl92ee_phy_query_rf_reg()
125 regaddr, rfpath, bitmask, original_value); in rtl92ee_phy_query_rf_reg()
312 enum radio_path rfpath, u32 regaddr) in _rtl92ee_config_rf_reg() argument
317 rtl_set_rfreg(hw, rfpath, regaddr, RFREG_OFFSET_MASK, data); in _rtl92ee_config_rf_reg()
329 rtl_set_rfreg(hw, rfpath, regaddr, in _rtl92ee_config_rf_reg()
348 rtl_set_rfreg(hw, rfpath, regaddr, in _rtl92ee_config_rf_reg()
813 static u8 _rtl92ee_get_rate_section_index(u32 regaddr) in _rtl92ee_get_rate_section_index() argument
817 switch (regaddr) { in _rtl92ee_get_rate_section_index()
850 regaddr &= 0xFFF; in _rtl92ee_get_rate_section_index()
851 if (regaddr >= 0xC20 && regaddr <= 0xC4C) in _rtl92ee_get_rate_section_index()
852 index = (u8)((regaddr - 0xC20) / 4); in _rtl92ee_get_rate_section_index()
853 else if (regaddr >= 0xE20 && regaddr <= 0xE4C) in _rtl92ee_get_rate_section_index()
854 index = (u8)((regaddr - 0xE20) / 4); in _rtl92ee_get_rate_section_index()
863 u32 txnum, u32 regaddr, in _rtl92ee_store_tx_power_by_rate() argument
868 u8 section = _rtl92ee_get_rate_section_index(regaddr); in _rtl92ee_store_tx_power_by_rate()