Home
last modified time | relevance | path

Searched refs:EFUSE_CTRL (Results 1 – 21 of 21) sorted by relevance

/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_efuse.c34 rtw_write8(Adapter, EFUSE_CTRL + 1, (_offset & 0xff)); in ReadEFuseByte()
35 res = rtw_read8(Adapter, EFUSE_CTRL + 2, &readbyte); in ReadEFuseByte()
39 rtw_write8(Adapter, EFUSE_CTRL + 2, ((_offset >> 8) & 0x03) | (readbyte & 0xfc)); in ReadEFuseByte()
42 res = rtw_read8(Adapter, EFUSE_CTRL + 3, &readbyte); in ReadEFuseByte()
46 rtw_write8(Adapter, EFUSE_CTRL + 3, (readbyte & 0x7f)); in ReadEFuseByte()
49 res = rtw_read32(Adapter, EFUSE_CTRL, &value32); in ReadEFuseByte()
54 res = rtw_read32(Adapter, EFUSE_CTRL, &value32); in ReadEFuseByte()
67 res = rtw_read32(Adapter, EFUSE_CTRL, &value32); in ReadEFuseByte()
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_efuse.c31 #define EFUSE_CTRL REG_EFUSE_CTRL /* E-Fuse Control. */ macro
209 rtw_write8(Adapter, EFUSE_CTRL+1, temp); in EFUSE_Read1Byte()
210 Bytetemp = rtw_read8(Adapter, EFUSE_CTRL+2); in EFUSE_Read1Byte()
213 rtw_write8(Adapter, EFUSE_CTRL+2, temp); in EFUSE_Read1Byte()
216 Bytetemp = rtw_read8(Adapter, EFUSE_CTRL+3); in EFUSE_Read1Byte()
218 rtw_write8(Adapter, EFUSE_CTRL+3, temp); in EFUSE_Read1Byte()
221 Bytetemp = rtw_read8(Adapter, EFUSE_CTRL+3); in EFUSE_Read1Byte()
223 Bytetemp = rtw_read8(Adapter, EFUSE_CTRL+3); in EFUSE_Read1Byte()
228 return rtw_read8(Adapter, EFUSE_CTRL); in EFUSE_Read1Byte()
256 rtw_write8(padapter, EFUSE_CTRL+1, (u8)(addr&0xff)); in efuse_OneByteRead()
[all …]
/linux-6.1.9/drivers/staging/rtl8712/
Drtl8712_efuse.c71 r8712_write8(adapter, EFUSE_CTRL + 1, (u8)(addr & 0xFF)); /* address */ in efuse_one_byte_read()
72 r8712_write8(adapter, EFUSE_CTRL + 2, ((u8)((addr >> 8) & 0x03)) | in efuse_one_byte_read()
73 (r8712_read8(adapter, EFUSE_CTRL + 2) & 0xFC)); in efuse_one_byte_read()
74 r8712_write8(adapter, EFUSE_CTRL + 3, 0x72); /* read cmd */ in efuse_one_byte_read()
76 while (!(0x80 & r8712_read8(adapter, EFUSE_CTRL + 3)) && in efuse_one_byte_read()
80 *data = r8712_read8(adapter, EFUSE_CTRL); in efuse_one_byte_read()
94 r8712_write8(adapter, EFUSE_CTRL + 1, (u8)(addr & 0xFF)); /* address */ in efuse_one_byte_write()
95 r8712_write8(adapter, EFUSE_CTRL + 2, ((u8)((addr >> 8) & 0x03)) | in efuse_one_byte_write()
96 (r8712_read8(adapter, EFUSE_CTRL + 2) & 0xFC)); in efuse_one_byte_write()
97 r8712_write8(adapter, EFUSE_CTRL, data); /* data */ in efuse_one_byte_write()
[all …]
Drtl8712_syscfg_regdef.h34 #define EFUSE_CTRL (RTL8712_SYSCFG_ + 0x0030) macro
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/
Defuse.c66 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 3, 0x72); in efuse_initialize()
82 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 1, in efuse_read_1byte()
85 rtlpriv->cfg->maps[EFUSE_CTRL] + 2); in efuse_read_1byte()
87 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 2, in efuse_read_1byte()
91 rtlpriv->cfg->maps[EFUSE_CTRL] + 3); in efuse_read_1byte()
93 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 3, in efuse_read_1byte()
97 rtlpriv->cfg->maps[EFUSE_CTRL] + 3); in efuse_read_1byte()
101 maps[EFUSE_CTRL] + 3); in efuse_read_1byte()
106 data = rtl_read_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL]); in efuse_read_1byte()
127 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL], value); in efuse_write_1byte()
[all …]
Dwifi.h690 EFUSE_CTRL, enumerator
/linux-6.1.9/drivers/staging/rts5208/
Drtsx_chip.c1626 retval = rtsx_write_register(chip, EFUSE_CTRL, 0xFF, 0x80 | addr); in rtsx_read_efuse()
1631 retval = rtsx_read_register(chip, EFUSE_CTRL, &data); in rtsx_read_efuse()
1667 retval = rtsx_write_register(chip, EFUSE_CTRL, 0xFF, in rtsx_write_efuse()
1673 retval = rtsx_read_register(chip, EFUSE_CTRL, &data); in rtsx_write_efuse()
Drtsx_card.h947 #define EFUSE_CTRL 0xFC21 macro
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dsw.c268 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dsw.c274 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dsw.c181 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dsw.c259 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dsw.c266 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dsw.c255 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dsw.c275 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dsw.c302 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dsw.c318 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/linux-6.1.9/drivers/staging/r8188eu/include/
Drtl8188e_spec.h392 #define EFUSE_CTRL REG_EFUSE_CTRL /* E-Fuse Control. */ macro
/linux-6.1.9/drivers/staging/rtl8723bs/include/
Dhal_com_reg.h486 #define EFUSE_CTRL REG_EFUSE_CTRL /* E-Fuse Control. */ macro
/linux-6.1.9/drivers/net/wireless/ralink/rt2x00/
Drt2800.h655 #define EFUSE_CTRL 0x0580 macro
Drt2800lib.c10756 efuse_ctrl_reg = EFUSE_CTRL; in rt2800_efuse_detect()
10779 efuse_ctrl_reg = EFUSE_CTRL; in rt2800_efuse_read()