Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/esp_hw_support/
Dsleep_retention.c49 struct cache_mode imode = { .icache = 1 }; in cache_tagmem_retention_setup() local
53 Cache_Get_Mode(&imode); in cache_tagmem_retention_setup()
54 sets = imode.cache_size / imode.cache_ways / imode.cache_line_size; in cache_tagmem_retention_setup()
55 index = (code_seg_vaddr / imode.cache_line_size) % sets; in cache_tagmem_retention_setup()
56 waysgrp = imode.cache_ways >> 2; in cache_tagmem_retention_setup()
58 code_seg_size = ALIGNUP(imode.cache_line_size, code_seg_size); in cache_tagmem_retention_setup()
63 if (code_seg_size < imode.cache_size / imode.cache_ways) { in cache_tagmem_retention_setup()
64 … s_retention.retent.tagmem.icache.vld_size = (code_seg_size / imode.cache_line_size) * waysgrp; in cache_tagmem_retention_setup()
69 …e:%d KiB, line size:%d B, ways:%d, sets:%d, index:%d, tag block groups:%d", (imode.cache_size>>10), in cache_tagmem_retention_setup()
70 imode.cache_line_size, imode.cache_ways, sets, index, icache_tagmem_blk_gs); in cache_tagmem_retention_setup()