/hal_espressif-latest/components/esp_rom/include/esp32c3/rom/ |
D | spi_flash.h | 62 typedef esp_rom_spiflash_result_t (* spi_flash_op_t)(void); 63 typedef esp_rom_spiflash_result_t (* spi_flash_erase_t)(uint32_t); 64 typedef esp_rom_spiflash_result_t (* spi_flash_rd_t)(uint32_t, uint32_t*, int); 65 typedef esp_rom_spiflash_result_t (* spi_flash_wr_t)(uint32_t, const uint32_t*, int); 66 typedef esp_rom_spiflash_result_t (* spi_flash_ewr_t)(uint32_t, const void*, uint32_t); 67 typedef esp_rom_spiflash_result_t (* spi_flash_wren_t)(void*); 117 esp_rom_spiflash_result_t esp_rom_spiflash_read_status(esp_rom_spiflash_chip_t *spi, uint32_t *stat… 131 esp_rom_spiflash_result_t esp_rom_spiflash_read_statushigh(esp_rom_spiflash_chip_t *spi, uint32_t *… 145 esp_rom_spiflash_result_t esp_rom_spiflash_write_status(esp_rom_spiflash_chip_t *spi, uint32_t stat… 159 esp_rom_spiflash_result_t esp_rom_spiflash_read_user_cmd(uint32_t *status, uint8_t cmd); [all …]
|
/hal_espressif-latest/components/esp_rom/include/esp32c6/rom/ |
D | spi_flash.h | 62 typedef esp_rom_spiflash_result_t (* spi_flash_op_t)(void); 63 typedef esp_rom_spiflash_result_t (* spi_flash_erase_t)(uint32_t); 64 typedef esp_rom_spiflash_result_t (* spi_flash_rd_t)(uint32_t, uint32_t*, int); 65 typedef esp_rom_spiflash_result_t (* spi_flash_wr_t)(uint32_t, const uint32_t*, int); 66 typedef esp_rom_spiflash_result_t (* spi_flash_ewr_t)(uint32_t, const void*, uint32_t); 67 typedef esp_rom_spiflash_result_t (* spi_flash_wren_t)(void*); 68 typedef esp_rom_spiflash_result_t (* spi_flash_erase_area_t)(uint32_t, uint32_t); 110 esp_rom_spiflash_result_t esp_rom_spiflash_read_status(esp_rom_spiflash_chip_t *spi, uint32_t *stat… 124 esp_rom_spiflash_result_t esp_rom_spiflash_read_statushigh(esp_rom_spiflash_chip_t *spi, uint32_t *… 138 esp_rom_spiflash_result_t esp_rom_spiflash_write_status(esp_rom_spiflash_chip_t *spi, uint32_t stat… [all …]
|
/hal_espressif-latest/components/esp_rom/include/esp32h2/rom/ |
D | spi_flash.h | 62 typedef esp_rom_spiflash_result_t (* spi_flash_op_t)(void); 63 typedef esp_rom_spiflash_result_t (* spi_flash_erase_t)(uint32_t); 64 typedef esp_rom_spiflash_result_t (* spi_flash_rd_t)(uint32_t, uint32_t*, int); 65 typedef esp_rom_spiflash_result_t (* spi_flash_wr_t)(uint32_t, const uint32_t*, int); 66 typedef esp_rom_spiflash_result_t (* spi_flash_ewr_t)(uint32_t, const void*, uint32_t); 67 typedef esp_rom_spiflash_result_t (* spi_flash_wren_t)(void*); 68 typedef esp_rom_spiflash_result_t (* spi_flash_erase_area_t)(uint32_t, uint32_t); 110 esp_rom_spiflash_result_t esp_rom_spiflash_read_status(esp_rom_spiflash_chip_t *spi, uint32_t *stat… 124 esp_rom_spiflash_result_t esp_rom_spiflash_read_statushigh(esp_rom_spiflash_chip_t *spi, uint32_t *… 138 esp_rom_spiflash_result_t esp_rom_spiflash_write_status(esp_rom_spiflash_chip_t *spi, uint32_t stat… [all …]
|
/hal_espressif-latest/components/esp_rom/include/esp32s3/rom/ |
D | spi_flash.h | 93 typedef esp_rom_spiflash_result_t (*spi_flash_op_t)(void); 94 typedef esp_rom_spiflash_result_t (*spi_flash_erase_t)(uint32_t); 95 typedef esp_rom_spiflash_result_t (*spi_flash_rd_t)(uint32_t, void*, int); 96 typedef esp_rom_spiflash_result_t (*spi_flash_wr_t)(uint32_t, const uint32_t*, int); 97 typedef esp_rom_spiflash_result_t (*spi_flash_ewr_t)(uint32_t, const void*, uint32_t); 98 typedef esp_rom_spiflash_result_t (*spi_flash_wren_t)(void*); 99 typedef esp_rom_spiflash_result_t (* spi_flash_erase_area_t)(uint32_t, uint32_t); 154 esp_rom_spiflash_result_t esp_rom_spiflash_read_status(esp_rom_spiflash_chip_t *spi, uint32_t *stat… 168 esp_rom_spiflash_result_t esp_rom_spiflash_read_statushigh(esp_rom_spiflash_chip_t *spi, uint32_t *… 182 esp_rom_spiflash_result_t esp_rom_spiflash_write_status(esp_rom_spiflash_chip_t *spi, uint32_t stat… [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-latest/components/esp_rom/include/esp32c2/rom/ |
D | spi_flash.h | 62 typedef esp_rom_spiflash_result_t (* spi_flash_op_t)(void); 63 typedef esp_rom_spiflash_result_t (* spi_flash_erase_t)(uint32_t); 64 typedef esp_rom_spiflash_result_t (* spi_flash_rd_t)(uint32_t, uint32_t*, int); 65 typedef esp_rom_spiflash_result_t (* spi_flash_wr_t)(uint32_t, const uint32_t*, int); 66 typedef esp_rom_spiflash_result_t (* spi_flash_ewr_t)(uint32_t, const void*, uint32_t); 67 typedef esp_rom_spiflash_result_t (* spi_flash_wren_t)(void*); 68 typedef esp_rom_spiflash_result_t (* spi_flash_erase_area_t)(uint32_t, uint32_t); 123 esp_rom_spiflash_result_t esp_rom_spiflash_read_status(esp_rom_spiflash_chip_t *spi, uint32_t *stat… 137 esp_rom_spiflash_result_t esp_rom_spiflash_read_statushigh(esp_rom_spiflash_chip_t *spi, uint32_t *… 151 esp_rom_spiflash_result_t esp_rom_spiflash_write_status(esp_rom_spiflash_chip_t *spi, uint32_t stat… [all …]
|
/hal_espressif-latest/components/esp_rom/include/esp32/rom/ |
D | spi_flash.h | 134 esp_rom_spiflash_result_t esp_rom_spiflash_read_status(esp_rom_spiflash_chip_t *spi, uint32_t *stat… 148 esp_rom_spiflash_result_t esp_rom_spiflash_read_statushigh(esp_rom_spiflash_chip_t *spi, uint32_t *… 162 esp_rom_spiflash_result_t esp_rom_spiflash_write_status(esp_rom_spiflash_chip_t *spi, uint32_t stat… 176 esp_rom_spiflash_result_t esp_rom_spiflash_read_user_cmd(uint32_t *status, uint8_t cmd); 190 esp_rom_spiflash_result_t esp_rom_spiflash_config_readmode(esp_rom_spiflash_read_mode_t mode); 204 esp_rom_spiflash_result_t esp_rom_spiflash_config_clk(uint8_t freqdiv, uint8_t spi); 216 esp_rom_spiflash_result_t esp_rom_spiflash_clear_bp(void); 228 esp_rom_spiflash_result_t esp_rom_spiflash_unlock(void); 240 esp_rom_spiflash_result_t esp_rom_spiflash_lock(void); 262 esp_rom_spiflash_result_t esp_rom_spiflash_config_param(uint32_t deviceId, uint32_t chip_size, uint… [all …]
|
/hal_espressif-latest/components/esp_rom/include/ |
D | esp_rom_spiflash.h | 47 } esp_rom_spiflash_result_t; typedef 74 esp_rom_spiflash_result_t esp_rom_spiflash_read_status(esp_rom_spiflash_chip_t *spi, uint32_t *stat… 88 esp_rom_spiflash_result_t esp_rom_spiflash_read_statushigh(esp_rom_spiflash_chip_t *spi, uint32_t *… 102 esp_rom_spiflash_result_t esp_rom_spiflash_write_status(esp_rom_spiflash_chip_t *spi, uint32_t stat… 116 esp_rom_spiflash_result_t esp_rom_spiflash_read_user_cmd(uint32_t *status, uint8_t cmd); 130 esp_rom_spiflash_result_t esp_rom_spiflash_config_readmode(esp_rom_spiflash_read_mode_t mode); 144 esp_rom_spiflash_result_t esp_rom_spiflash_config_clk(uint8_t freqdiv, uint8_t spi); 166 esp_rom_spiflash_result_t esp_rom_spiflash_config_param(uint32_t deviceId, uint32_t chip_size, uint… 179 esp_rom_spiflash_result_t esp_rom_spiflash_erase_chip(void); 192 esp_rom_spiflash_result_t esp_rom_spiflash_erase_block(uint32_t block_num); [all …]
|
/hal_espressif-latest/components/esp_rom/include/esp32s2/rom/ |
D | spi_flash.h | 131 esp_rom_spiflash_result_t esp_rom_spiflash_read_status(esp_rom_spiflash_chip_t *spi, uint32_t *stat… 145 esp_rom_spiflash_result_t esp_rom_spiflash_read_statushigh(esp_rom_spiflash_chip_t *spi, uint32_t *… 159 esp_rom_spiflash_result_t esp_rom_spiflash_read_user_cmd(uint32_t *status, uint8_t cmd); 173 esp_rom_spiflash_result_t esp_rom_spiflash_config_readmode(esp_rom_spiflash_read_mode_t mode); 187 esp_rom_spiflash_result_t esp_rom_spiflash_config_clk(uint8_t freqdiv, uint8_t spi); 199 esp_rom_spiflash_result_t esp_rom_spiflash_clear_bp(void); 211 esp_rom_spiflash_result_t esp_rom_spiflash_unlock(void); 233 esp_rom_spiflash_result_t esp_rom_spiflash_config_param(uint32_t deviceId, uint32_t chip_size, uint… 247 esp_rom_spiflash_result_t esp_rom_spiflash_erase_block(uint32_t block_num); 260 esp_rom_spiflash_result_t esp_rom_spiflash_erase_sector(uint32_t sector_num); [all …]
|
/hal_espressif-latest/components/esp_rom/patches/ |
D | esp_rom_spiflash.c | 32 esp_rom_spiflash_result_t esp_rom_spiflash_wait_idle(esp_rom_spiflash_chip_t *spi) in esp_rom_spiflash_wait_idle() 59 __attribute__((__unused__)) esp_rom_spiflash_result_t esp_rom_spiflash_clear_bp(void) in esp_rom_spiflash_clear_bp() 98 esp_rom_spiflash_result_t ret = esp_rom_spiflash_write_status(&g_rom_spiflash_chip, new_status); in esp_rom_spiflash_clear_bp() 106 esp_rom_spiflash_result_t esp_rom_spiflash_unlock(void) __attribute__((alias("esp_rom_spiflash_clea… 108 static esp_rom_spiflash_result_t esp_rom_spiflash_enable_write(esp_rom_spiflash_chip_t *spi); 111 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() 127 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() 148 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() 164 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() 219 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() [all …]
|
/hal_espressif-latest/components/spi_flash/sim/ |
D | flash_mock.cpp | 82 esp_rom_spiflash_result_t esp_rom_spiflash_read(uint32_t target, uint32_t *dest, int32_t len) in esp_rom_spiflash_read() 92 esp_rom_spiflash_result_t esp_rom_spiflash_erase_block(uint32_t block) in esp_rom_spiflash_erase_block() 97 esp_rom_spiflash_result_t esp_rom_spiflash_erase_sector(uint32_t sector) in esp_rom_spiflash_erase_sector() 102 esp_rom_spiflash_result_t esp_rom_spiflash_erase_page(uint32_t page) in esp_rom_spiflash_erase_page() 112 esp_rom_spiflash_result_t rc = ESP_ROM_SPIFLASH_RESULT_OK; in esp_flash_erase_region() 120 esp_rom_spiflash_result_t esp_rom_spiflash_write(uint32_t target, const uint32_t *src, int32_t len) in esp_rom_spiflash_write() 130 esp_rom_spiflash_result_t esp_rom_spiflash_write_encrypted(uint32_t flash_addr, uint32_t *data, uin… in esp_rom_spiflash_write_encrypted() 140 esp_rom_spiflash_result_t esp_rom_spiflash_write_disable(void) in esp_rom_spiflash_write_disable()
|
D | SpiFlash.h | 33 esp_rom_spiflash_result_t erase_block(uint32_t block); 34 esp_rom_spiflash_result_t erase_sector(uint32_t sector); 35 esp_rom_spiflash_result_t erase_page(uint32_t page); 37 esp_rom_spiflash_result_t write(uint32_t dest_addr, const void *src, uint32_t size); 38 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 | 9 esp_rom_spiflash_result_t esp_rom_spiflash_unlock(void) in esp_rom_spiflash_unlock()
|
/hal_espressif-latest/tools/esptool_py/flasher_stub/include/ |
D | rom_functions.h | 207 } esp_rom_spiflash_result_t; typedef 351 esp_rom_spiflash_result_t esp_rom_opiflash_wait_idle(); 352 esp_rom_spiflash_result_t esp_rom_opiflash_wren(); 353 esp_rom_spiflash_result_t esp_rom_opiflash_erase_sector(uint32_t sector_num); 354 esp_rom_spiflash_result_t esp_rom_opiflash_erase_block_64k(uint32_t block_num);
|
/hal_espressif-latest/tools/esptool_py/flasher_stub/ |
D | stub_write_flash.c | 140 static esp_rom_spiflash_result_t page_program_internal(int spi_num, uint32_t spi_addr, uint8_t* add… in page_program_internal() 174 static esp_rom_spiflash_result_t SPIWrite4B(int spi_num, uint32_t target, uint8_t *src_addr, int32_… in SPIWrite4B()
|
D | stub_commands.c | 16 static esp_rom_spiflash_result_t SPIRead4B(int spi_num, uint32_t flash_addr, uint8_t* buf, int len) in SPIRead4B()
|
/hal_espressif-latest/components/bootloader_support/bootloader_flash/src/ |
D | bootloader_flash.c | 256 static esp_err_t spi_to_esp_err(esp_rom_spiflash_result_t r) in spi_to_esp_err() 279 esp_rom_spiflash_result_t r = esp_rom_spiflash_read(src_addr, dest, size); in bootloader_flash_read_no_decrypt() 407 esp_rom_spiflash_result_t rc = ESP_ROM_SPIFLASH_RESULT_OK; in bootloader_flash_erase_range()
|
/hal_espressif-latest/zephyr/port/bootloader/ |
D | bootloader_flash.c | 251 static esp_err_t spi_to_esp_err(esp_rom_spiflash_result_t r) in spi_to_esp_err() 274 esp_rom_spiflash_result_t r = esp_rom_spiflash_read(src_addr, dest, size); in bootloader_flash_read_no_decrypt() 402 esp_rom_spiflash_result_t rc = ESP_ROM_SPIFLASH_RESULT_OK; in esp_rom_flash_erase_range()
|