Home
last modified time | relevance | path

Searched refs:new_status (Results 1 – 6 of 6) sorted by relevance

/hal_espressif-3.7.0/components/bootloader_support/bootloader_flash/src/
Dflash_qio_mode.c187 IRAM_ATTR void bootloader_write_status_8b_wrsr(unsigned new_status) in bootloader_write_status_8b_wrsr() argument
189 bootloader_execute_flash_command(CMD_WRSR, new_status, 8, 0); in bootloader_write_status_8b_wrsr()
192 IRAM_ATTR void bootloader_write_status_8b_wrsr2(unsigned new_status) in bootloader_write_status_8b_wrsr2() argument
194 bootloader_execute_flash_command(CMD_WRSR2, new_status, 8, 0); in bootloader_write_status_8b_wrsr2()
197 IRAM_ATTR void bootloader_write_status_8b_wrsr3(unsigned new_status) in bootloader_write_status_8b_wrsr3() argument
199 bootloader_execute_flash_command(CMD_WRSR3, new_status, 8, 0); in bootloader_write_status_8b_wrsr3()
202 IRAM_ATTR void bootloader_write_status_16b_wrsr(unsigned new_status) in bootloader_write_status_16b_wrsr() argument
204 bootloader_execute_flash_command(CMD_WRSR, new_status, 16, 0); in bootloader_write_status_16b_wrsr()
216 IRAM_ATTR void bootloader_write_status_8b_xmc25qu64a(unsigned new_status) in bootloader_write_status_8b_xmc25qu64a() argument
220 bootloader_execute_flash_command(CMD_WRSR, new_status, 8, 0); in bootloader_write_status_8b_xmc25qu64a()
Dbootloader_flash.c437 uint16_t new_status = 0; in bootloader_flash_unlock() local
453 new_status = status & (~ESP_BOOTLOADER_SPIFLASH_BP_MASK_ISSI); in bootloader_flash_unlock()
460 new_status = 0; in bootloader_flash_unlock()
472 new_status = status & ESP_BOOTLOADER_SPIFLASH_QE_SR1_2BYTE; in bootloader_flash_unlock()
478 if (status != new_status) { in bootloader_flash_unlock()
481 bootloader_execute_flash_command(CMD_WRSR, new_status, sr1_bit_num, 0); in bootloader_flash_unlock()
/hal_espressif-3.7.0/components/bootloader_support/bootloader_flash/include/
Dbootloader_flash_override.h61 void bootloader_write_status_8b_wrsr(unsigned new_status);
66 void bootloader_write_status_8b_wrsr2(unsigned new_status);
71 void bootloader_write_status_8b_wrsr3(unsigned new_status);
76 void bootloader_write_status_16b_wrsr(unsigned new_status);
88 void bootloader_write_status_8b_xmc25qu64a(unsigned new_status);
/hal_espressif-3.7.0/components/spi_flash/
Dspi_flash_hpm_enable.c180 uint8_t new_status = (old_status_3 | 0x03); in spi_flash_turn_high_performance_reconfig_dummy() local
182 bootloader_write_status_8b_wrsr3(new_status); in spi_flash_turn_high_performance_reconfig_dummy()
248 uint8_t new_status = (old_status_3 | 0x10); in spi_flash_turn_high_performance_write_hpf_bit_5() local
250 bootloader_write_status_8b_wrsr3(new_status); in spi_flash_turn_high_performance_write_hpf_bit_5()
/hal_espressif-3.7.0/components/esp_rom/patches/
Desp_rom_spiflash.c59 uint32_t new_status; in esp_rom_spiflash_clear_bp() local
73 new_status = status & (~ESP_ROM_SPIFLASH_BP_MASK_ISSI); in esp_rom_spiflash_clear_bp()
75 if (new_status == status) return ESP_ROM_SPIFLASH_RESULT_OK; in esp_rom_spiflash_clear_bp()
86 new_status = status & ESP_ROM_SPIFLASH_QE; in esp_rom_spiflash_clear_bp()
95 esp_rom_spiflash_result_t ret = esp_rom_spiflash_write_status(&g_rom_spiflash_chip, new_status); in esp_rom_spiflash_clear_bp()
/hal_espressif-3.7.0/tools/esptool_py/esptool/
Dloader.py1428 def write_status(self, new_status, num_bytes=2, set_non_volatile=False): argument
1455 self.run_spiflash_command(SPIFLASH_WRSR, struct.pack("<H", new_status))
1461 self.run_spiflash_command(cmd, struct.pack("B", new_status & 0xFF))
1462 new_status >>= 8