Searched refs:dirmap_index (Results 1 – 1 of 1) sorted by relevance
85 const int dirmap_index = ((uintptr_t)ram_addr - RAM_BASE) / ILM_BLOCK_SIZE; in it8xxx2_configure_ilm_block() local87 if (dirmap_index >= ARRAY_SIZE(config->scar_regs)) { in it8xxx2_configure_ilm_block()100 LOG_DBG("Enabling ILM%d %p -> %p, copy %d", dirmap_index, flash_addr, ram_addr, copy_sz); in it8xxx2_configure_ilm_block()102 volatile struct scar_reg *const scar = config->scar_regs[dirmap_index]; in it8xxx2_configure_ilm_block()