Searched refs:dmode (Results 1 – 1 of 1) sorted by relevance
/hal_espressif-3.6.0/components/esp_hw_support/ |
D | sleep_retention.c | 50 struct cache_mode dmode = { .icache = 0 }; in cache_tagmem_retention_setup() local 73 Cache_Get_Mode(&dmode); in cache_tagmem_retention_setup() 74 sets = dmode.cache_size / dmode.cache_ways / dmode.cache_line_size; in cache_tagmem_retention_setup() 75 index = (data_seg_vaddr / dmode.cache_line_size) % sets; in cache_tagmem_retention_setup() 76 waysgrp = dmode.cache_ways >> 2; in cache_tagmem_retention_setup() 78 data_seg_size = ALIGNUP(dmode.cache_line_size, data_seg_size); in cache_tagmem_retention_setup() 84 if (data_seg_size < dmode.cache_size / dmode.cache_ways) { in cache_tagmem_retention_setup() 85 … s_retention.retent.tagmem.dcache.vld_size = (data_seg_size / dmode.cache_line_size) * waysgrp; in cache_tagmem_retention_setup() 93 …e:%d KiB, line size:%d B, ways:%d, sets:%d, index:%d, tag block groups:%d", (dmode.cache_size>>10), in cache_tagmem_retention_setup() 94 dmode.cache_line_size, dmode.cache_ways, sets, index, dcache_tagmem_blk_gs); in cache_tagmem_retention_setup()
|