/linux-6.1.9/drivers/staging/r8188eu/core/ |
D | rtw_efuse.c | 34 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/ |
D | rtw_efuse.c | 31 #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/ |
D | rtl8712_efuse.c | 71 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 …]
|
D | rtl8712_syscfg_regdef.h | 34 #define EFUSE_CTRL (RTL8712_SYSCFG_ + 0x0030) macro
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/ |
D | efuse.c | 66 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 …]
|
D | wifi.h | 690 EFUSE_CTRL, enumerator
|
/linux-6.1.9/drivers/staging/rts5208/ |
D | rtsx_chip.c | 1626 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()
|
D | rtsx_card.h | 947 #define EFUSE_CTRL 0xFC21 macro
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | sw.c | 268 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | sw.c | 274 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | sw.c | 181 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | sw.c | 259 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | sw.c | 266 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | sw.c | 255 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | sw.c | 275 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | sw.c | 302 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | sw.c | 318 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
|
/linux-6.1.9/drivers/staging/r8188eu/include/ |
D | rtl8188e_spec.h | 392 #define EFUSE_CTRL REG_EFUSE_CTRL /* E-Fuse Control. */ macro
|
/linux-6.1.9/drivers/staging/rtl8723bs/include/ |
D | hal_com_reg.h | 486 #define EFUSE_CTRL REG_EFUSE_CTRL /* E-Fuse Control. */ macro
|
/linux-6.1.9/drivers/net/wireless/ralink/rt2x00/ |
D | rt2800.h | 655 #define EFUSE_CTRL 0x0580 macro
|
D | rt2800lib.c | 10756 efuse_ctrl_reg = EFUSE_CTRL; in rt2800_efuse_detect() 10779 efuse_ctrl_reg = EFUSE_CTRL; in rt2800_efuse_read()
|