/hal_espressif-3.4.0/components/esp_rom/include/esp32s3/rom/ |
D | spi_flash.h | 135 } esp_rom_spiflash_result_t; typedef 156 typedef esp_rom_spiflash_result_t (*spi_flash_op_t)(void); 157 typedef esp_rom_spiflash_result_t (*spi_flash_erase_t)(uint32_t); 158 typedef esp_rom_spiflash_result_t (*spi_flash_rd_t)(uint32_t, void*, int); 159 typedef esp_rom_spiflash_result_t (*spi_flash_wr_t)(uint32_t, const uint32_t*, int); 160 typedef esp_rom_spiflash_result_t (*spi_flash_ewr_t)(uint32_t, const void*, uint32_t); 161 typedef esp_rom_spiflash_result_t (*spi_flash_wren_t)(void*); 162 typedef esp_rom_spiflash_result_t (* spi_flash_erase_area_t)(uint32_t, uint32_t); 263 esp_rom_spiflash_result_t esp_rom_spiflash_read_status(esp_rom_spiflash_chip_t *spi, uint32_t *stat… 277 esp_rom_spiflash_result_t esp_rom_spiflash_read_statushigh(esp_rom_spiflash_chip_t *spi, uint32_t *… [all …]
|
D | opi_flash.h | 240 esp_rom_spiflash_result_t esp_rom_opiflash_read_id(uint8_t *out_id); 254 esp_rom_spiflash_result_t esp_rom_opiflash_wait_idle(void); 262 esp_rom_spiflash_result_t esp_rom_opiflash_erase_sector(uint32_t sector_num); 270 esp_rom_spiflash_result_t esp_rom_opiflash_erase_block_64k(uint32_t block_num); 279 esp_rom_spiflash_result_t esp_rom_opiflash_erase_area(uint32_t start_addr, uint32_t area_len); 289 esp_rom_spiflash_result_t esp_rom_opiflash_read(uint32_t flash_addr, void *data_addr, int len); 299 esp_rom_spiflash_result_t esp_rom_opiflash_write(uint32_t flash_addr, const uint32_t *data_addr, in… 307 esp_rom_spiflash_result_t esp_rom_opiflash_wren(void* arg); 316 esp_rom_spiflash_result_t esp_rom_opiflash_read_raw(uint32_t flash_addr, uint8_t* buf, int len);
|
/hal_espressif-3.4.0/components/esp_rom/include/esp32s2/rom/ |
D | spi_flash.h | 143 } esp_rom_spiflash_result_t; typedef 242 esp_rom_spiflash_result_t esp_rom_spiflash_read_status(esp_rom_spiflash_chip_t *spi, uint32_t *stat… 256 esp_rom_spiflash_result_t esp_rom_spiflash_read_statushigh(esp_rom_spiflash_chip_t *spi, uint32_t *… 270 esp_rom_spiflash_result_t esp_rom_spiflash_write_status(esp_rom_spiflash_chip_t *spi, uint32_t stat… 284 esp_rom_spiflash_result_t esp_rom_spiflash_read_user_cmd(uint32_t *status, uint8_t cmd); 298 esp_rom_spiflash_result_t esp_rom_spiflash_config_readmode(esp_rom_spiflash_read_mode_t mode); 312 esp_rom_spiflash_result_t esp_rom_spiflash_config_clk(uint8_t freqdiv, uint8_t spi); 336 esp_rom_spiflash_result_t esp_rom_spiflash_unlock(void); 348 esp_rom_spiflash_result_t esp_rom_spiflash_lock(void); 370 esp_rom_spiflash_result_t esp_rom_spiflash_config_param(uint32_t deviceId, uint32_t chip_size, uint… [all …]
|
D | opi_flash.h | 243 esp_rom_spiflash_result_t esp_rom_opiflash_erase_sector(int spi_num, uint32_t address, esp_rom_spif… 252 esp_rom_spiflash_result_t esp_rom_opiflash_erase_block_64k(int spi_num, uint32_t address, esp_rom_s… 262 esp_rom_spiflash_result_t esp_rom_opiflash_erase_area(int spi_num, uint32_t start_addr, uint32_t ar… 273 esp_rom_spiflash_result_t esp_rom_opiflash_read(int spi_num, esp_rom_spiflash_read_mode_t mode, uin… 284 esp_rom_spiflash_result_t esp_rom_opiflash_write(int spi_num, esp_rom_spiflash_read_mode_t mode, ui…
|
/hal_espressif-3.4.0/components/esp_rom/include/esp32/rom/ |
D | spi_flash.h | 147 } esp_rom_spiflash_result_t; typedef 246 esp_rom_spiflash_result_t esp_rom_spiflash_read_status(esp_rom_spiflash_chip_t *spi, uint32_t *stat… 260 esp_rom_spiflash_result_t esp_rom_spiflash_read_statushigh(esp_rom_spiflash_chip_t *spi, uint32_t *… 274 esp_rom_spiflash_result_t esp_rom_spiflash_write_status(esp_rom_spiflash_chip_t *spi, uint32_t stat… 288 esp_rom_spiflash_result_t esp_rom_spiflash_read_user_cmd(uint32_t *status, uint8_t cmd); 302 esp_rom_spiflash_result_t esp_rom_spiflash_config_readmode(esp_rom_spiflash_read_mode_t mode); 316 esp_rom_spiflash_result_t esp_rom_spiflash_config_clk(uint8_t freqdiv, uint8_t spi); 340 esp_rom_spiflash_result_t esp_rom_spiflash_unlock(void); 352 esp_rom_spiflash_result_t esp_rom_spiflash_lock(void); 374 esp_rom_spiflash_result_t esp_rom_spiflash_config_param(uint32_t deviceId, uint32_t chip_size, uint… [all …]
|
/hal_espressif-3.4.0/components/esp_rom/include/esp32c3/rom/ |
D | spi_flash.h | 102 } esp_rom_spiflash_result_t; typedef 201 esp_rom_spiflash_result_t esp_rom_spiflash_read_status(esp_rom_spiflash_chip_t *spi, uint32_t *stat… 215 esp_rom_spiflash_result_t esp_rom_spiflash_read_statushigh(esp_rom_spiflash_chip_t *spi, uint32_t *… 229 esp_rom_spiflash_result_t esp_rom_spiflash_write_status(esp_rom_spiflash_chip_t *spi, uint32_t stat… 243 esp_rom_spiflash_result_t esp_rom_spiflash_read_user_cmd(uint32_t *status, uint8_t cmd); 257 esp_rom_spiflash_result_t esp_rom_spiflash_config_readmode(esp_rom_spiflash_read_mode_t mode); 271 esp_rom_spiflash_result_t esp_rom_spiflash_config_clk(uint8_t freqdiv, uint8_t spi); 295 esp_rom_spiflash_result_t esp_rom_spiflash_unlock(void); 307 esp_rom_spiflash_result_t esp_rom_spiflash_lock(void); 329 esp_rom_spiflash_result_t esp_rom_spiflash_config_param(uint32_t deviceId, uint32_t chip_size, uint… [all …]
|
/hal_espressif-3.4.0/components/esp_rom/include/esp32h2/rom/ |
D | spi_flash.h | 102 } esp_rom_spiflash_result_t; typedef 201 esp_rom_spiflash_result_t esp_rom_spiflash_read_status(esp_rom_spiflash_chip_t *spi, uint32_t *stat… 215 esp_rom_spiflash_result_t esp_rom_spiflash_read_statushigh(esp_rom_spiflash_chip_t *spi, uint32_t *… 229 esp_rom_spiflash_result_t esp_rom_spiflash_write_status(esp_rom_spiflash_chip_t *spi, uint32_t stat… 243 esp_rom_spiflash_result_t esp_rom_spiflash_read_user_cmd(uint32_t *status, uint8_t cmd); 257 esp_rom_spiflash_result_t esp_rom_spiflash_config_readmode(esp_rom_spiflash_read_mode_t mode); 271 esp_rom_spiflash_result_t esp_rom_spiflash_config_clk(uint8_t freqdiv, uint8_t spi); 295 esp_rom_spiflash_result_t esp_rom_spiflash_unlock(void); 307 esp_rom_spiflash_result_t esp_rom_spiflash_lock(void); 329 esp_rom_spiflash_result_t esp_rom_spiflash_config_param(uint32_t deviceId, uint32_t chip_size, uint… [all …]
|
/hal_espressif-3.4.0/components/spi_flash/esp32/ |
D | spi_flash_rom_patch.c | 31 esp_rom_spiflash_result_t esp_rom_spiflash_wait_idle(esp_rom_spiflash_chip_t *spi) in esp_rom_spiflash_wait_idle() 66 __attribute__((__unused__)) esp_rom_spiflash_result_t esp_rom_spiflash_unlock(void) in esp_rom_spiflash_unlock() 105 esp_rom_spiflash_result_t ret = esp_rom_spiflash_write_status(&g_rom_spiflash_chip, new_status); in esp_rom_spiflash_unlock() 119 static esp_rom_spiflash_result_t esp_rom_spiflash_enable_write(esp_rom_spiflash_chip_t *spi); 122 static esp_rom_spiflash_result_t esp_rom_spiflash_erase_chip_internal(esp_rom_spiflash_chip_t *spi) in esp_rom_spiflash_erase_chip_internal() 137 static esp_rom_spiflash_result_t esp_rom_spiflash_erase_sector_internal(esp_rom_spiflash_chip_t *sp… in esp_rom_spiflash_erase_sector_internal() 157 static esp_rom_spiflash_result_t esp_rom_spiflash_erase_block_internal(esp_rom_spiflash_chip_t *spi… in esp_rom_spiflash_erase_block_internal() 172 static esp_rom_spiflash_result_t esp_rom_spiflash_program_page_internal(esp_rom_spiflash_chip_t *sp… in esp_rom_spiflash_program_page_internal() 226 esp_rom_spiflash_result_t esp_rom_spiflash_read_status(esp_rom_spiflash_chip_t *spi, uint32_t *stat… in esp_rom_spiflash_read_status() 248 esp_rom_spiflash_result_t esp_rom_spiflash_read_statushigh(esp_rom_spiflash_chip_t *spi, uint32_t *… in esp_rom_spiflash_read_statushigh() [all …]
|
D | flash_ops_esp32.c | 36 esp_rom_spiflash_result_t IRAM_ATTR spi_flash_write_encrypted_chip(size_t dest_addr, const void *sr… in spi_flash_write_encrypted_chip() 39 esp_rom_spiflash_result_t rc = ESP_ROM_SPIFLASH_RESULT_OK; in spi_flash_write_encrypted_chip()
|
/hal_espressif-3.4.0/components/spi_flash/sim/ |
D | flash_mock.cpp | 83 esp_rom_spiflash_result_t esp_rom_spiflash_read(uint32_t target, uint32_t *dest, int32_t len) in esp_rom_spiflash_read() 88 esp_rom_spiflash_result_t esp_rom_spiflash_erase_block(uint32_t block) in esp_rom_spiflash_erase_block() 93 esp_rom_spiflash_result_t esp_rom_spiflash_erase_sector(uint32_t sector) in esp_rom_spiflash_erase_sector() 98 esp_rom_spiflash_result_t esp_rom_spiflash_erase_page(uint32_t page) in esp_rom_spiflash_erase_page() 103 esp_rom_spiflash_result_t esp_rom_spiflash_write(uint32_t target, const uint32_t *src, int32_t len) in esp_rom_spiflash_write() 108 esp_rom_spiflash_result_t esp_rom_spiflash_write_encrypted(uint32_t flash_addr, uint32_t *data, uin… in esp_rom_spiflash_write_encrypted() 118 esp_rom_spiflash_result_t esp_rom_spiflash_write_disable(void) in esp_rom_spiflash_write_disable()
|
D | SpiFlash.h | 41 esp_rom_spiflash_result_t erase_block(uint32_t block); 42 esp_rom_spiflash_result_t erase_sector(uint32_t sector); 43 esp_rom_spiflash_result_t erase_page(uint32_t page); 45 esp_rom_spiflash_result_t write(uint32_t dest_addr, const void *src, uint32_t size); 46 esp_rom_spiflash_result_t read(uint32_t src_addr, void *dest, uint32_t size);
|
D | SpiFlash.cpp | 112 esp_rom_spiflash_result_t SpiFlash::erase_block(uint32_t block) in erase_block() 124 esp_rom_spiflash_result_t SpiFlash::erase_sector(uint32_t sector) in erase_sector() 156 esp_rom_spiflash_result_t SpiFlash::erase_page(uint32_t page) in erase_page() 162 esp_rom_spiflash_result_t SpiFlash::write(uint32_t dest_addr, const void *src, uint32_t size) in write() 200 esp_rom_spiflash_result_t SpiFlash::read(uint32_t src_addr, void *dest, uint32_t size) in read()
|
D | flash_mock_util.c | 12 esp_rom_spiflash_result_t esp_rom_spiflash_unlock(void) in esp_rom_spiflash_unlock()
|
/hal_espressif-3.4.0/components/spi_flash/ |
D | flash_ops.c | 63 esp_rom_spiflash_result_t spi_flash_write_encrypted_chip(size_t dest_addr, const void *src, size_t … 104 static esp_err_t spi_flash_translate_rc(esp_rom_spiflash_result_t rc); 286 static esp_rom_spiflash_result_t IRAM_ATTR spi_flash_unlock(void) in spi_flash_unlock() 291 esp_rom_spiflash_result_t rc = esp_rom_spiflash_unlock(); in spi_flash_unlock() 328 esp_rom_spiflash_result_t rc; in spi_flash_erase_range() 378 static IRAM_ATTR esp_rom_spiflash_result_t spi_flash_write_inner(uint32_t target, const uint32_t *s… in spi_flash_write_inner() 383 esp_rom_spiflash_result_t res = ESP_ROM_SPIFLASH_RESULT_OK; in spi_flash_write_inner() 464 esp_rom_spiflash_result_t rc = ESP_ROM_SPIFLASH_RESULT_OK; in spi_flash_write() 625 esp_rom_spiflash_result_t rc = spi_flash_unlock(); in spi_flash_write_encrypted() 715 esp_rom_spiflash_result_t rc = ESP_ROM_SPIFLASH_RESULT_OK; in spi_flash_read() [all …]
|
/hal_espressif-3.4.0/components/spi_flash/esp32s2/ |
D | flash_ops_esp32s2.c | 34 esp_rom_spiflash_result_t IRAM_ATTR spi_flash_write_encrypted_chip(size_t dest_addr, const void *sr… in spi_flash_write_encrypted_chip() 37 esp_rom_spiflash_result_t rc; in spi_flash_write_encrypted_chip() 48 … esp_rom_spiflash_result_t r = spi_flash_write_encrypted_chip(dest_addr, block, next_block); in spi_flash_write_encrypted_chip()
|
D | spi_flash_rom_patch.c | 23 esp_rom_spiflash_result_t esp_rom_spiflash_write_disable(void) in esp_rom_spiflash_write_disable()
|
/hal_espressif-3.4.0/components/spi_flash/esp32s3/ |
D | flash_ops_esp32s3.c | 34 esp_rom_spiflash_result_t IRAM_ATTR spi_flash_write_encrypted_chip(size_t dest_addr, const void *sr… in spi_flash_write_encrypted_chip() 37 esp_rom_spiflash_result_t rc; in spi_flash_write_encrypted_chip() 48 … esp_rom_spiflash_result_t r = spi_flash_write_encrypted_chip(dest_addr, block, next_block); in spi_flash_write_encrypted_chip()
|
/hal_espressif-3.4.0/components/esptool_py/esptool/flasher_stub/include/ |
D | rom_functions.h | 203 } esp_rom_spiflash_result_t; typedef 347 esp_rom_spiflash_result_t esp_rom_opiflash_wait_idle(); 348 esp_rom_spiflash_result_t esp_rom_opiflash_wren(); 349 esp_rom_spiflash_result_t esp_rom_opiflash_erase_sector(uint32_t sector_num); 350 esp_rom_spiflash_result_t esp_rom_opiflash_erase_block_64k(uint32_t block_num);
|
/hal_espressif-3.4.0/components/spi_flash/esp32c3/ |
D | flash_ops_esp32c3.c | 34 esp_rom_spiflash_result_t IRAM_ATTR spi_flash_write_encrypted_chip(size_t dest_addr, const void *sr… in spi_flash_write_encrypted_chip() 37 esp_rom_spiflash_result_t rc; in spi_flash_write_encrypted_chip() 49 … esp_rom_spiflash_result_t r = spi_flash_write_encrypted_chip(dest_addr, block, next_block); in spi_flash_write_encrypted_chip()
|
D | spi_flash_rom_patch.c | 21 esp_rom_spiflash_result_t esp_rom_spiflash_write_disable(void) in esp_rom_spiflash_write_disable()
|
/hal_espressif-3.4.0/components/spi_flash/esp32h2/ |
D | flash_ops_esp32h2.c | 34 esp_rom_spiflash_result_t IRAM_ATTR spi_flash_write_encrypted_chip(size_t dest_addr, const void *sr… in spi_flash_write_encrypted_chip() 37 esp_rom_spiflash_result_t rc; in spi_flash_write_encrypted_chip() 49 … esp_rom_spiflash_result_t r = spi_flash_write_encrypted_chip(dest_addr, block, next_block); in spi_flash_write_encrypted_chip()
|
D | spi_flash_rom_patch.c | 21 esp_rom_spiflash_result_t esp_rom_spiflash_write_disable(void) in esp_rom_spiflash_write_disable()
|
/hal_espressif-3.4.0/components/esptool_py/esptool/flasher_stub/ |
D | stub_write_flash.c | 148 static esp_rom_spiflash_result_t page_program_internal(int spi_num, uint32_t spi_addr, uint8_t* add… in page_program_internal() 182 static esp_rom_spiflash_result_t SPIWrite4B(int spi_num, uint32_t target, uint8_t *src_addr, int32_… in SPIWrite4B()
|
/hal_espressif-3.4.0/components/spi_flash/test/ |
D | test_read_write.c | 86 esp_rom_spiflash_result_t rc = esp_rom_spiflash_write(start, src_buf, sizeof(src_buf)); in test_read() 231 esp_rom_spiflash_result_t rc = esp_rom_spiflash_read(start, dst_buf, sizeof(dst_buf)); in test_write()
|
/hal_espressif-3.4.0/components/bootloader_support/src/ |
D | bootloader_flash.c | 287 static esp_err_t spi_to_esp_err(esp_rom_spiflash_result_t r) in spi_to_esp_err() 315 esp_rom_spiflash_result_t r = esp_rom_spiflash_read(src_addr, dest, size); in bootloader_flash_read_no_decrypt() 471 esp_rom_spiflash_result_t rc = ESP_ROM_SPIFLASH_RESULT_OK; in bootloader_flash_erase_range()
|