Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/staging/rtl8723bs/core/
Drtw_efuse.c30 #define EFUSE_CTRL REG_EFUSE_CTRL /* E-Fuse Control. */ macro
208 rtw_write8(Adapter, EFUSE_CTRL + 1, temp); in EFUSE_Read1Byte()
209 Bytetemp = rtw_read8(Adapter, EFUSE_CTRL + 2); in EFUSE_Read1Byte()
212 rtw_write8(Adapter, EFUSE_CTRL + 2, temp); in EFUSE_Read1Byte()
215 Bytetemp = rtw_read8(Adapter, EFUSE_CTRL + 3); in EFUSE_Read1Byte()
217 rtw_write8(Adapter, EFUSE_CTRL + 3, temp); in EFUSE_Read1Byte()
220 Bytetemp = rtw_read8(Adapter, EFUSE_CTRL + 3); in EFUSE_Read1Byte()
222 Bytetemp = rtw_read8(Adapter, EFUSE_CTRL + 3); in EFUSE_Read1Byte()
227 return rtw_read8(Adapter, EFUSE_CTRL); in EFUSE_Read1Byte()
255 rtw_write8(padapter, EFUSE_CTRL + 1, (u8)(addr & 0xff)); in efuse_OneByteRead()
[all …]
/linux-6.12.1/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.12.1/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.h695 EFUSE_CTRL, enumerator
/linux-6.12.1/drivers/staging/rtl8723bs/include/
Dhal_com_reg.h196 #define EFUSE_CTRL REG_EFUSE_CTRL /* E-Fuse Control. */ macro
/linux-6.12.1/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.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dsw.c176 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dsw.c261 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dsw.c271 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dsw.c264 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dsw.c251 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dsw.c261 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dsw.c270 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dsw.c314 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192du/
Dsw.c263 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dsw.c298 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7996/
Dmcu.c3527 MCU_WM_UNI_CMD(EFUSE_CTRL), true); in mt7996_mcu_set_eeprom_flash()
3547 return mt76_mcu_send_msg(&dev->mt76, MCU_WM_UNI_CMD(EFUSE_CTRL), in mt7996_mcu_set_eeprom()
3572 MCU_WM_UNI_CMD_QUERY(EFUSE_CTRL), in mt7996_mcu_get_eeprom()
3610 ret = mt76_mcu_send_and_get_msg(&dev->mt76, MCU_WM_UNI_CMD_QUERY(EFUSE_CTRL), &req, in mt7996_mcu_get_eeprom_free_block()
/linux-6.12.1/drivers/net/wireless/ralink/rt2x00/
Drt2800.h655 #define EFUSE_CTRL 0x0580 macro
Drt2800lib.c10907 efuse_ctrl_reg = EFUSE_CTRL; in rt2800_efuse_detect()
10930 efuse_ctrl_reg = EFUSE_CTRL; in rt2800_efuse_read()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7925/
Dmcu.c1317 return mt76_mcu_send_and_get_msg(&dev->mt76, MCU_UNI_CMD(EFUSE_CTRL), in mt7925_mcu_set_eeprom()