Searched refs:tmpv16 (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/staging/rtl8188eu/core/ |
D | rtw_efuse.c | 31 u16 tmpv16; in efuse_power_switch() local 37 tmpv16 = usb_read16(pAdapter, REG_SYS_ISO_CTRL); in efuse_power_switch() 38 if (!(tmpv16 & PWC_EV12V)) { in efuse_power_switch() 39 tmpv16 |= PWC_EV12V; in efuse_power_switch() 40 usb_write16(pAdapter, REG_SYS_ISO_CTRL, tmpv16); in efuse_power_switch() 43 tmpv16 = usb_read16(pAdapter, REG_SYS_FUNC_EN); in efuse_power_switch() 44 if (!(tmpv16 & FEN_ELDR)) { in efuse_power_switch() 45 tmpv16 |= FEN_ELDR; in efuse_power_switch() 46 usb_write16(pAdapter, REG_SYS_FUNC_EN, tmpv16); in efuse_power_switch() 50 tmpv16 = usb_read16(pAdapter, REG_SYS_CLKR); in efuse_power_switch() [all …]
|
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/ |
D | efuse.c | 1095 u16 tmpv16; in efuse_power_switch() local 1103 tmpv16 = in efuse_power_switch() 1106 if (!(tmpv16 & rtlpriv->cfg->maps[EFUSE_PWC_EV12V])) { in efuse_power_switch() 1107 tmpv16 |= rtlpriv->cfg->maps[EFUSE_PWC_EV12V]; in efuse_power_switch() 1110 tmpv16); in efuse_power_switch() 1113 tmpv16 = rtl_read_word(rtlpriv, in efuse_power_switch() 1115 if (!(tmpv16 & rtlpriv->cfg->maps[EFUSE_FEN_ELDR])) { in efuse_power_switch() 1116 tmpv16 |= rtlpriv->cfg->maps[EFUSE_FEN_ELDR]; in efuse_power_switch() 1118 rtlpriv->cfg->maps[SYS_FUNC_EN], tmpv16); in efuse_power_switch() 1121 tmpv16 = rtl_read_word(rtlpriv, rtlpriv->cfg->maps[SYS_CLK]); in efuse_power_switch() [all …]
|