Home
last modified time | relevance | path

Searched refs:tmpu1b (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dhw.c535 u8 tmpu1b; in _rtl92se_macconfig_before_fwdownload() local
541 tmpu1b = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl92se_macconfig_before_fwdownload()
542 tmpu1b &= 0xFE; in _rtl92se_macconfig_before_fwdownload()
543 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmpu1b); in _rtl92se_macconfig_before_fwdownload()
545 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmpu1b | BIT(0)); in _rtl92se_macconfig_before_fwdownload()
549 tmpu1b = rtl_read_byte(rtlpriv, (SYS_CLKR + 1)); in _rtl92se_macconfig_before_fwdownload()
550 if (tmpu1b & BIT(7)) { in _rtl92se_macconfig_before_fwdownload()
551 tmpu1b &= ~(BIT(6) | BIT(7)); in _rtl92se_macconfig_before_fwdownload()
554 if (!_rtl92se_halset_sysclk(hw, tmpu1b)) in _rtl92se_macconfig_before_fwdownload()
567 tmpu1b = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl92se_macconfig_before_fwdownload()
[all …]
Dfw.c26 u8 tmpu1b, cpustatus = 0; in _rtl92s_firmware_enable_cpu() local
31 tmpu1b = rtl_read_byte(rtlpriv, SYS_CLKR); in _rtl92s_firmware_enable_cpu()
33 rtl_write_byte(rtlpriv, SYS_CLKR, (tmpu1b | SYS_CPU_CLKSEL)); in _rtl92s_firmware_enable_cpu()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dphy.c141 u8 tmpu1b; in rtl8723e_phy_bb_config() local
147 tmpu1b = rtl_read_byte(rtlpriv, REG_AFE_PLL_CTRL); in rtl8723e_phy_bb_config()
149 rtl_write_byte(rtlpriv, REG_AFE_PLL_CTRL, (tmpu1b|BIT(1))); in rtl8723e_phy_bb_config()
156 tmpu1b = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN); in rtl8723e_phy_bb_config()
158 (tmpu1b | FEN_BB_GLB_RSTN | FEN_BBRSTB)); in rtl8723e_phy_bb_config()
161 tmpu1b = rtl_read_byte(rtlpriv, REG_AFE_XTAL_CTRL+1); in rtl8723e_phy_bb_config()
162 rtl_write_byte(rtlpriv, REG_AFE_XTAL_CTRL+1, (tmpu1b & (~BIT(6)))); in rtl8723e_phy_bb_config()
165 tmpu1b = rtl_read_byte(rtlpriv, REG_AFE_XTAL_CTRL+2); in rtl8723e_phy_bb_config()
166 rtl_write_byte(rtlpriv, REG_AFE_XTAL_CTRL+2, (tmpu1b & (~BIT(4)))); in rtl8723e_phy_bb_config()