Home
last modified time | relevance | path

Searched refs:tmpV16 (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/
Defuse.c1135 u16 tmpV16; in efuse_power_switch() local
1144 tmpV16 = in efuse_power_switch()
1147 if (!(tmpV16 & rtlpriv->cfg->maps[EFUSE_PWC_EV12V])) { in efuse_power_switch()
1148 tmpV16 |= rtlpriv->cfg->maps[EFUSE_PWC_EV12V]; in efuse_power_switch()
1151 tmpV16); in efuse_power_switch()
1154 tmpV16 = rtl_read_word(rtlpriv, in efuse_power_switch()
1156 if (!(tmpV16 & rtlpriv->cfg->maps[EFUSE_FEN_ELDR])) { in efuse_power_switch()
1157 tmpV16 |= rtlpriv->cfg->maps[EFUSE_FEN_ELDR]; in efuse_power_switch()
1159 rtlpriv->cfg->maps[SYS_FUNC_EN], tmpV16); in efuse_power_switch()
1162 tmpV16 = rtl_read_word(rtlpriv, rtlpriv->cfg->maps[SYS_CLK]); in efuse_power_switch()
[all …]
/Linux-v4.19/drivers/staging/rtl8723bs/hal/
Drtl8723b_hal_init.c783 u16 tmpV16; in Hal_EfusePowerSwitch() local
823 tmpV16 = rtw_read16(padapter, REG_SYS_FUNC_EN); in Hal_EfusePowerSwitch()
824 if (!(tmpV16 & FEN_ELDR)) { in Hal_EfusePowerSwitch()
825 tmpV16 |= FEN_ELDR; in Hal_EfusePowerSwitch()
826 rtw_write16(padapter, REG_SYS_FUNC_EN, tmpV16); in Hal_EfusePowerSwitch()
830 tmpV16 = rtw_read16(padapter, REG_SYS_CLKR); in Hal_EfusePowerSwitch()
831 if ((!(tmpV16 & LOADER_CLK_EN)) || (!(tmpV16 & ANA8M))) { in Hal_EfusePowerSwitch()
832 tmpV16 |= (LOADER_CLK_EN | ANA8M); in Hal_EfusePowerSwitch()
833 rtw_write16(padapter, REG_SYS_CLKR, tmpV16); in Hal_EfusePowerSwitch()