Home
last modified time | relevance | path

Searched refs:SPI_FLASH_MMU_PAGE_SIZE (Results 1 – 7 of 7) sorted by relevance

/device/soc/esp/esp32/components/spi_flash/
Dflash_mmap.c141 int phys_page = src_addr / SPI_FLASH_MMU_PAGE_SIZE; in spi_flash_mmap()
142 int page_count = (size + SPI_FLASH_MMU_PAGE_SIZE - 1) / SPI_FLASH_MMU_PAGE_SIZE; in spi_flash_mmap()
170 if (pages[i] < 0 || pages[i]*SPI_FLASH_MMU_PAGE_SIZE >= g_rom_flashchip.chip_size) { in spi_flash_mmap_pages()
246 …_Invalidate_Addr(region_addr + (i - region_begin) * SPI_FLASH_MMU_PAGE_SIZE, SPI_FLASH_MMU_PAGE_SI… in spi_flash_mmap_pages()
259 temp_ptr = (void*) (region_addr + (start - region_begin) * SPI_FLASH_MMU_PAGE_SIZE); in spi_flash_mmap_pages()
383 …cache_page = (c - SOC_MMU_VADDR0_START_ADDR) / SPI_FLASH_MMU_PAGE_SIZE + SOC_MMU_DROM0_PAGES_START; in spi_flash_cache2phys()
391 …cache_page = (c - SOC_MMU_VADDR1_START_ADDR) / SPI_FLASH_MMU_PAGE_SIZE + SOC_MMU_IROM0_PAGES_START; in spi_flash_cache2phys()
408 uint32_t phys_offs = ((phys_page & SOC_MMU_ADDR_MASK) + offset) * SPI_FLASH_MMU_PAGE_SIZE; in spi_flash_cache2phys()
409 return phys_offs | (c & (SPI_FLASH_MMU_PAGE_SIZE-1)); in spi_flash_cache2phys()
414 uint32_t phys_page = phys_offs / SPI_FLASH_MMU_PAGE_SIZE; in spi_flash_phys2cache()
[all …]
Dflash_ops.c830 size_t map_src = src & ~(SPI_FLASH_MMU_PAGE_SIZE - 1); in spi_flash_read_encrypted()
/device/soc/esp/esp32/components/soc/esp32/include/soc/
Dmmu.h40 …(SOC_MMU_VADDR1_FIRST_USABLE_ADDR - SOC_MMU_VADDR1_START_ADDR) / SPI_FLASH_MMU_PAGE_SIZE + SOC_MMU…
/device/soc/esp/esp32/components/spi_flash/include/
Desp_spi_flash.h34 #define SPI_FLASH_MMU_PAGE_SIZE 0x10000 /**< Flash cache MMU mapping page size */ macro
/device/soc/esp/esp32/components/bootloader_support/src/
Desp_image_format.c583 … data_len = MIN(data_len_remain, ((free_page_count - offset_page) * SPI_FLASH_MMU_PAGE_SIZE)); in process_segment()
682 … && ((segment_data_offs % SPI_FLASH_MMU_PAGE_SIZE) != (load_addr % SPI_FLASH_MMU_PAGE_SIZE))) { in verify_segment_header()
Dbootloader_flash.c62 uint32_t src_page = src_addr & ~(SPI_FLASH_MMU_PAGE_SIZE - 1); in bootloader_mmap()
Dbootloader_utility.c883 …image_len = MIN(len, ((mmu_free_pages_count - mmu_page_offset) * SPI_FLASH_MMU_PAGE_SIZE)); /* Rea…