Home
last modified time | relevance | path

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

/Zephyr-latest/soc/ite/ec/it8xxx2/
Dilm.c41 #define ILM_BLOCK_SIZE 0x1000 macro
42 BUILD_ASSERT((ILM_BLOCK_SIZE & (ILM_BLOCK_SIZE - 1)) == 0, "ILM_BLOCK_SIZE must be a power of two");
76 return ((uintptr_t)p & (ILM_BLOCK_SIZE - 1)) == 0; in is_block_aligned()
85 const int dirmap_index = ((uintptr_t)ram_addr - RAM_BASE) / ILM_BLOCK_SIZE; in it8xxx2_configure_ilm_block()
138 block_base < (uintptr_t)__ilm_ram_end; block_base += ILM_BLOCK_SIZE) { in it8xxx2_ilm_init()
145 size_t used_size = MIN((uintptr_t)__ilm_flash_end - flash_base, ILM_BLOCK_SIZE); in it8xxx2_ilm_init()
208 BUILD_ASSERT(ARRAY_SIZE(ilm_config.scar_regs) * ILM_BLOCK_SIZE == KB(CONFIG_ILM_MAX_SIZE),