Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_efuse.c35 u16 tmpv16; in efuse_power_switch() local
41 tmpv16 = usb_read16(pAdapter, REG_SYS_ISO_CTRL); in efuse_power_switch()
42 if (!(tmpv16 & PWC_EV12V)) { in efuse_power_switch()
43 tmpv16 |= PWC_EV12V; in efuse_power_switch()
44 usb_write16(pAdapter, REG_SYS_ISO_CTRL, tmpv16); in efuse_power_switch()
47 tmpv16 = usb_read16(pAdapter, REG_SYS_FUNC_EN); in efuse_power_switch()
48 if (!(tmpv16 & FEN_ELDR)) { in efuse_power_switch()
49 tmpv16 |= FEN_ELDR; in efuse_power_switch()
50 usb_write16(pAdapter, REG_SYS_FUNC_EN, tmpv16); in efuse_power_switch()
54 tmpv16 = usb_read16(pAdapter, REG_SYS_CLKR); in efuse_power_switch()
[all …]
/Linux-v4.19/drivers/staging/rtlwifi/
Defuse.c1099 u16 tmpv16; in efuse_power_switch() local
1107 tmpv16 = in efuse_power_switch()
1110 if (!(tmpv16 & rtlpriv->cfg->maps[EFUSE_PWC_EV12V])) { in efuse_power_switch()
1111 tmpv16 |= rtlpriv->cfg->maps[EFUSE_PWC_EV12V]; in efuse_power_switch()
1114 tmpv16); in efuse_power_switch()
1117 tmpv16 = rtl_read_word(rtlpriv, in efuse_power_switch()
1119 if (!(tmpv16 & rtlpriv->cfg->maps[EFUSE_FEN_ELDR])) { in efuse_power_switch()
1120 tmpv16 |= rtlpriv->cfg->maps[EFUSE_FEN_ELDR]; in efuse_power_switch()
1122 rtlpriv->cfg->maps[SYS_FUNC_EN], tmpv16); in efuse_power_switch()
1125 tmpv16 = rtl_read_word(rtlpriv, rtlpriv->cfg->maps[SYS_CLK]); in efuse_power_switch()
[all …]