Searched refs:read_reg (Results 1 – 25 of 37) sorted by relevance
12
106 return (self.read_reg(self.EFUSE_BLOCK1_ADDR + (4 * num_word)) >> 0) & 0x0F110 hi = (self.read_reg(self.EFUSE_BLOCK1_ADDR + (4 * hi_num_word)) >> 20) & 0x01112 low = (self.read_reg(self.EFUSE_BLOCK1_ADDR + (4 * low_num_word)) >> 4) & 0x07117 return (self.read_reg(self.EFUSE_BLOCK1_ADDR + (4 * num_word)) >> 18) & 0x03121 return (self.read_reg(self.EFUSE_BLOCK1_ADDR + (4 * num_word)) >> 21) & 0x0F125 return (self.read_reg(self.EFUSE_BLOCK1_ADDR + (4 * num_word)) >> 28) & 0x0F130 return (self.read_reg(self.EFUSE_BLOCK2_ADDR + (4 * num_word)) >> 4) & 0x07186 mac0 = self.read_reg(self.MAC_EFUSE_REG)187 mac1 = self.read_reg(self.MAC_EFUSE_REG + 4) # only bottom 16 bits are MAC194 if self.read_reg(self.EFUSE_RD_REPEAT_DATA3_REG)[all …]
117 return (self.read_reg(self.EFUSE_BLOCK1_ADDR + (4 * num_word)) >> 21) & 0x07137 hi = (self.read_reg(self.EFUSE_BLOCK1_ADDR + (4 * hi_num_word)) >> 23) & 0x01139 low = (self.read_reg(self.EFUSE_BLOCK1_ADDR + (4 * low_num_word)) >> 18) & 0x07144 return (self.read_reg(self.EFUSE_BLOCK2_ADDR + (4 * num_word)) >> 0) & 0x03148 return (self.read_reg(self.EFUSE_BLOCK1_ADDR + (4 * num_word)) >> 24) & 0x07158 return (self.read_reg(self.EFUSE_BLOCK1_ADDR + (4 * num_word)) >> 24) & 0x03187 return (self.read_reg(reg) >> shift) & 0xF202 self.read_reg(self.EFUSE_SECURE_BOOT_EN_REG)212 mac0 = self.read_reg(self.MAC_EFUSE_REG)213 mac1 = self.read_reg(self.MAC_EFUSE_REG + 4) # only bottom 16 bits are MAC[all …]
65 result = self.read_reg(0x3FF0005C) << 9666 result |= self.read_reg(0x3FF00058) << 6467 result |= self.read_reg(0x3FF00054) << 3268 result |= self.read_reg(0x3FF00050)130 id0 = self.read_reg(self.ESP_OTP_MAC0)131 id1 = self.read_reg(self.ESP_OTP_MAC1)136 mac0 = self.read_reg(self.ESP_OTP_MAC0)137 mac1 = self.read_reg(self.ESP_OTP_MAC1)138 mac3 = self.read_reg(self.ESP_OTP_MAC3)
101 return (self.read_reg(self.EFUSE_BLOCK1_ADDR + (4 * num_word)) >> 21) & 0x07105 hi = (self.read_reg(self.EFUSE_BLOCK1_ADDR + (4 * hi_num_word)) >> 23) & 0x01107 low = (self.read_reg(self.EFUSE_BLOCK1_ADDR + (4 * low_num_word)) >> 18) & 0x07112 return (self.read_reg(self.EFUSE_BLOCK1_ADDR + (4 * num_word)) >> 24) & 0x03135 mac0 = self.read_reg(self.MAC_EFUSE_REG)136 mac1 = self.read_reg(self.MAC_EFUSE_REG + 4) # only bottom 16 bits are MAC145 self.read_reg(self.EFUSE_SECURE_BOOT_EN_REG)161 return (self.read_reg(reg) >> shift) & 0xF
99 return (self.read_reg(self.EFUSE_BLOCK1_ADDR + (4 * num_word)) >> 21) & 0x07103 hi = (self.read_reg(self.EFUSE_BLOCK1_ADDR + (4 * hi_num_word)) >> 23) & 0x01105 low = (self.read_reg(self.EFUSE_BLOCK1_ADDR + (4 * low_num_word)) >> 18) & 0x07110 return (self.read_reg(self.EFUSE_BLOCK1_ADDR + (4 * num_word)) >> 24) & 0x03133 mac0 = self.read_reg(self.MAC_EFUSE_REG)134 mac1 = self.read_reg(self.MAC_EFUSE_REG + 4) # only bottom 16 bits are MAC143 self.read_reg(self.EFUSE_SECURE_BOOT_EN_REG)159 return (self.read_reg(reg) >> shift) & 0xF
80 return (self.read_reg(self.EFUSE_BLOCK1_ADDR + (4 * num_word)) >> 21) & 0x0F84 hi = (self.read_reg(self.EFUSE_BLOCK1_ADDR + (4 * hi_num_word)) >> 23) & 0x0186 low = (self.read_reg(self.EFUSE_BLOCK1_ADDR + (4 * low_num_word)) >> 18) & 0x0791 return (self.read_reg(self.EFUSE_BLOCK1_ADDR + (4 * num_word)) >> 24) & 0x03113 mac0 = self.read_reg(self.MAC_EFUSE_REG)114 mac1 = self.read_reg(self.MAC_EFUSE_REG + 4) # only bottom 16 bits are MAC133 return (self.read_reg(reg) >> shift) & 0xF
66 return (self.read_reg(self.EFUSE_BLOCK2_ADDR + (4 * num_word)) >> 22) & 0x0779 return (self.read_reg(self.EFUSE_BLOCK2_ADDR + (4 * num_word)) >> 16) & 0xF83 return (self.read_reg(self.EFUSE_BLOCK2_ADDR + (4 * num_word)) >> 20) & 0x3121 self.read_reg(self.EFUSE_XTS_KEY_LENGTH_256_REG)125 word0 = self.read_reg(self.EFUSE_RD_DIS_REG) & self.EFUSE_RD_DIS139 key_word[i] = self.read_reg(self.EFUSE_BLOCK_KEY0_REG + i * 4)
157 self.read_reg(self.EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT_REG)163 self.read_reg(self.EFUSE_SPI_BOOT_CRYPT_CNT_REG)170 efuses = self.read_reg(self.EFUSE_RD_ABS_DONE_REG)191 apb_ctl_date = self.read_reg(self.APB_CTL_DATE_ADDR)281 return self.read_reg(self.EFUSE_RD_REG_BASE + (4 * n))355 self.read_reg(self.RTCCALICFG1) >> self.TIMERS_RTC_CALI_VALUE_S
26 word3 = self.read_reg(block1_addr + (4 * num_word))
37 def read_reg(self, addr): member in EmulateEfuseController46 return val | super(EmulateEfuseController, self).read_reg(addr)54 if self.read_reg(self.REGS.EFUSE_REG_CMD) == 0:
199 "EFUSE_REG_DEC_STATUS", self.read_reg(self.REGS.EFUSE_REG_DEC_STATUS)231 if self.read_reg(self.REGS.EFUSE_REG_CMD) == 0:248 self.read_reg(self.REGS.EFUSE_REG_DEC_STATUS)406 apb_ctl_date = self.parent.read_reg(self.parent.REGS.APB_CTL_DATE_ADDR)
152 "EFUSE_RD_RS_ERR0_REG", self.read_reg(self.REGS.EFUSE_RD_RS_ERR0_REG)157 "EFUSE_RD_RS_ERR1_REG", self.read_reg(self.REGS.EFUSE_RD_RS_ERR1_REG)185 if self.read_reg(self.REGS.EFUSE_STATUS_REG) & 0x7 == 1:262 self.read_reg(self.REGS.EFUSE_RD_REPEAT_ERR0_REG + offs * 4)278 block.fail = self.read_reg(addr_reg_f) & (1 << fail_bit) != 0285 self.read_reg(addr_reg_n) >> num_offs
152 "EFUSE_RD_RS_ERR0_REG", self.read_reg(self.REGS.EFUSE_RD_RS_ERR0_REG)157 "EFUSE_RD_RS_ERR1_REG", self.read_reg(self.REGS.EFUSE_RD_RS_ERR1_REG)185 if self.read_reg(self.REGS.EFUSE_STATUS_REG) & 0x7 == 1:263 self.read_reg(self.REGS.EFUSE_RD_REPEAT_ERR0_REG + offs * 4)279 block.fail = self.read_reg(addr_reg_f) & (1 << fail_bit) != 0286 self.read_reg(addr_reg_n) >> num_offs
146 "EFUSE_RD_RS_ERR0_REG", self.read_reg(self.REGS.EFUSE_RD_RS_ERR0_REG)151 "EFUSE_RD_RS_ERR1_REG", self.read_reg(self.REGS.EFUSE_RD_RS_ERR1_REG)179 if self.read_reg(self.REGS.EFUSE_STATUS_REG) & 0x7 == 1:258 self.read_reg(self.REGS.EFUSE_RD_REPEAT_ERR0_REG + offs * 4)277 reg_value = self.read_reg(addr_reg)
152 "EFUSE_RD_RS_ERR0_REG", self.read_reg(self.REGS.EFUSE_RD_RS_ERR0_REG)157 "EFUSE_RD_RS_ERR1_REG", self.read_reg(self.REGS.EFUSE_RD_RS_ERR1_REG)185 if self.read_reg(self.REGS.EFUSE_STATUS_REG) & 0x7 == 1:264 self.read_reg(self.REGS.EFUSE_RD_REPEAT_ERR0_REG + offs * 4)283 reg_value = self.read_reg(addr_reg)
152 "EFUSE_RD_RS_ERR0_REG", self.read_reg(self.REGS.EFUSE_RD_RS_ERR0_REG)157 "EFUSE_RD_RS_ERR1_REG", self.read_reg(self.REGS.EFUSE_RD_RS_ERR1_REG)185 if self.read_reg(self.REGS.EFUSE_STATUS_REG) & 0x7 == 1:310 self.read_reg(self.REGS.EFUSE_RD_REPEAT_ERR0_REG + offs * 4)329 reg_value = self.read_reg(addr_reg)
146 "EFUSE_RD_RS_ERR_REG", self.read_reg(self.REGS.EFUSE_RD_RS_ERR_REG)174 if self.read_reg(self.REGS.EFUSE_STATUS_REG) & 0x7 == 1:260 self.read_reg(self.REGS.EFUSE_RD_REPEAT_ERR_REG + offs * 4)279 reg_value = self.read_reg(addr_reg)
660 chip_magic_value = self.read_reg(ESPLoader.CHIP_DETECT_MAGIC_REG_ADDR)700 def read_reg(self, addr, timeout=DEFAULT_TIMEOUT): member in ESPLoader733 val = self.read_reg(addr)920 self.cache["uart_no"] = self.read_reg(self.UARTDEV_BUF_NO) & 0xFF1289 old_spi_usr = self.read_reg(SPI_USR_REG)1290 old_spi_usr2 = self.read_reg(SPI_USR2_REG)1320 if (self.read_reg(SPI_CMD_REG) & SPI_CMD_USR) == 0:1326 status = self.read_reg(SPI_W0_REG)1408 uart_div = self.read_reg(self.UART_CLKDIV_REG) & self.UART_CLKDIV_MASK
81 .read_reg = spi_flash_chip_generic_read_reg,
72 .read_reg = spi_flash_chip_generic_read_reg,
89 .read_reg = spi_flash_chip_mxic_read_reg,
105 .read_reg = spi_flash_chip_generic_read_reg,
32 esp_err_t (*read_reg)(void *ctx, uint8_t add, uint8_t *value_o, uint32_t wait_ms); member