Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/rtl8723bs/core/
H A 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 …]
/openbmc/linux/drivers/staging/rtl8712/
H A 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 …]
H A Drtl8712_syscfg_regdef.h34 #define EFUSE_CTRL (RTL8712_SYSCFG_ + 0x0030) macro
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/
H A 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 …]
H A Dwifi.h690 EFUSE_CTRL, enumerator
/openbmc/linux/drivers/staging/rts5208/
H A 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()
H A Drtsx_card.h947 #define EFUSE_CTRL 0xFC21 macro
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A Dsw.c265 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A Dsw.c179 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
H A Dsw.c273 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A Dsw.c274 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
H A Dsw.c254 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H A Dsw.c258 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A Dsw.c267 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Dsw.c317 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H A Dsw.c302 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
/openbmc/linux/drivers/staging/rtl8723bs/include/
H A Dhal_com_reg.h486 #define EFUSE_CTRL REG_EFUSE_CTRL /* E-Fuse Control. */ macro
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmcu.c3050 MCU_WM_UNI_CMD(EFUSE_CTRL), true); in mt7996_mcu_set_eeprom_flash()
3070 return mt76_mcu_send_msg(&dev->mt76, MCU_WM_UNI_CMD(EFUSE_CTRL), in mt7996_mcu_set_eeprom()
3095 MCU_WM_UNI_CMD_QUERY(EFUSE_CTRL), in mt7996_mcu_get_eeprom()
3133 ret = mt76_mcu_send_and_get_msg(&dev->mt76, MCU_WM_UNI_CMD_QUERY(EFUSE_CTRL), &req, in mt7996_mcu_get_eeprom_free_block()
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2800.h655 #define EFUSE_CTRL 0x0580 macro
H A Drt2800lib.c10777 efuse_ctrl_reg = EFUSE_CTRL; in rt2800_efuse_detect()
10800 efuse_ctrl_reg = EFUSE_CTRL; in rt2800_efuse_read()