/hal_espressif-3.7.0/components/bootloader_support/src/ |
D | flash_partitions.c | 18 uint32_t chip_size = g_rom_flashchip.chip_size; in esp_partition_table_verify() local 26 if (pos->offset > chip_size || pos->offset + pos->size > chip_size) { in esp_partition_table_verify() 29 num_parts, pos->offset, pos->size, chip_size); in esp_partition_table_verify()
|
/hal_espressif-3.7.0/components/spi_flash/sim/ |
D | SpiFlash.cpp | 42 void SpiFlash::init(uint32_t chip_size, uint32_t block_size, uint32_t sector_size, uint32_t page_si… in init() argument 48 this->chip_size = chip_size; in init() 53 this->blocks = DIV_AND_CEIL(this->chip_size, this->block_size); in init() 54 this->sectors = DIV_AND_CEIL(this->chip_size, this->sector_size); in init() 55 this->pages = DIV_AND_CEIL(this->chip_size, this->page_size); in init() 67 this->memory = (uint8_t *) malloc(this->chip_size); in init() 68 memset(this->memory, 0xFF, this->chip_size); in init() 94 return this->chip_size; in get_chip_size()
|
D | flash_mock.cpp | 39 extern "C" void _spi_flash_init(const char* chip_size, size_t block_size, size_t sector_size, size_… in _spi_flash_init() argument 41 size_t size = convert_chip_size_string(chip_size); in _spi_flash_init() 47 g_rom_flashchip.chip_size = size; in _spi_flash_init()
|
D | SpiFlash.h | 26 …void init(uint32_t chip_size, uint32_t block_size, uint32_t sector_size, uint32_t page_size, const… 52 uint32_t chip_size;
|
/hal_espressif-3.7.0/components/spi_flash/ |
D | esp_flash_spi_init.c | 393 if (default_chip.size < legacy_chip->chip_size) { in esp_flash_init_default_chip() 394 …the binary image header(%dk). Probe failed.", default_chip.size/1024, legacy_chip->chip_size/1024); in esp_flash_init_default_chip() 398 if (default_chip.size > legacy_chip->chip_size) { in esp_flash_init_default_chip() 399 … Using the size in the binary image header.", default_chip.size/1024, legacy_chip->chip_size/1024); in esp_flash_init_default_chip() 402 default_chip.size = legacy_chip->chip_size; in esp_flash_init_default_chip()
|
D | flash_mmap.c | 375 if (addr >= g_rom_flashchip.chip_size) { in spi_flash_check_and_flush_cache()
|
D | esp_flash_api.c | 1300 if (address + length > g_rom_flashchip.chip_size) { in esp_flash_read_encrypted()
|
/hal_espressif-3.7.0/components/esp_rom/include/ |
D | esp_rom_spiflash.h | 36 uint32_t chip_size; // chip size in bytes member 166 esp_rom_spiflash_result_t esp_rom_spiflash_config_param(uint32_t deviceId, uint32_t chip_size, uint…
|
/hal_espressif-3.7.0/components/esp_rom/patches/ |
D | esp_rom_spiflash.c | 272 if ((flash_addr + byte_length) > (spi->chip_size)) { in esp_rom_spiflash_read_data() 443 if (block_num >= ((g_rom_spiflash_chip.chip_size) / (g_rom_spiflash_chip.block_size))) { in esp_rom_spiflash_erase_block() 463 if (sector_num >= ((g_rom_spiflash_chip.chip_size) / (g_rom_spiflash_chip.sector_size))) { in esp_rom_spiflash_erase_sector() 489 if ( (dest_addr + len) > (g_rom_spiflash_chip.chip_size)) { in esp_rom_spiflash_write() 626 if ((start_addr + area_len) > g_rom_spiflash_chip.chip_size) { in esp_rom_spiflash_erase_area()
|
/hal_espressif-3.7.0/tools/esptool_py/flasher_stub/include/ |
D | rom_functions.h | 47 uint32_t SPIParamCfg(uint32_t deviceId, uint32_t chip_size, uint32_t block_size, uint32_t sector_si… 84 uint32_t chip_size; // chip size in bytes member
|
/hal_espressif-3.7.0/components/esp_rom/include/esp32/rom/ |
D | spi_flash.h | 262 esp_rom_spiflash_result_t esp_rom_spiflash_config_param(uint32_t deviceId, uint32_t chip_size, uint…
|
/hal_espressif-3.7.0/components/esp_rom/include/esp32s2/rom/ |
D | spi_flash.h | 233 esp_rom_spiflash_result_t esp_rom_spiflash_config_param(uint32_t deviceId, uint32_t chip_size, uint…
|
/hal_espressif-3.7.0/components/esp_rom/include/esp32c3/rom/ |
D | spi_flash.h | 233 esp_rom_spiflash_result_t esp_rom_spiflash_config_param(uint32_t deviceId, uint32_t chip_size, uint…
|
/hal_espressif-3.7.0/components/esp_rom/include/esp32c2/rom/ |
D | spi_flash.h | 239 esp_rom_spiflash_result_t esp_rom_spiflash_config_param(uint32_t deviceId, uint32_t chip_size, uint…
|
/hal_espressif-3.7.0/components/esp_rom/include/esp32c6/rom/ |
D | spi_flash.h | 226 esp_rom_spiflash_result_t esp_rom_spiflash_config_param(uint32_t deviceId, uint32_t chip_size, uint…
|
/hal_espressif-3.7.0/components/esp_rom/include/esp32h2/rom/ |
D | spi_flash.h | 226 esp_rom_spiflash_result_t esp_rom_spiflash_config_param(uint32_t deviceId, uint32_t chip_size, uint…
|
/hal_espressif-3.7.0/components/esp_rom/include/esp32s3/rom/ |
D | spi_flash.h | 270 esp_rom_spiflash_result_t esp_rom_spiflash_config_param(uint32_t deviceId, uint32_t chip_size, uint…
|
/hal_espressif-3.7.0/components/bootloader_support/bootloader_flash/src/ |
D | bootloader_flash_config_esp32s2.c | 40 g_rom_flashchip.chip_size = size; in bootloader_flash_update_size()
|
D | bootloader_flash_config_esp32.c | 44 g_rom_flashchip.chip_size = size; in bootloader_flash_update_size()
|