Lines Matching refs:sets
95 uint32_t sets; /* i/d-cache total set counts */ in cache_tagmem_retention_setup() local
104 sets = imode.cache_size / imode.cache_ways / imode.cache_line_size; in cache_tagmem_retention_setup()
105 index = (code_seg_vaddr / imode.cache_line_size) % sets; in cache_tagmem_retention_setup()
111 s_cpu_retention.retent.tagmem.icache.size = (sets * waysgrp) & 0xff; in cache_tagmem_retention_setup()
117 …ion.retent.tagmem.icache.vld_size ? s_cpu_retention.retent.tagmem.icache.vld_size : sets * waysgrp; in cache_tagmem_retention_setup()
120 imode.cache_line_size, imode.cache_ways, sets, index, icache_tagmem_blk_gs); in cache_tagmem_retention_setup()
124 sets = dmode.cache_size / dmode.cache_ways / dmode.cache_line_size; in cache_tagmem_retention_setup()
125 index = (data_seg_vaddr / dmode.cache_line_size) % sets; in cache_tagmem_retention_setup()
131 s_cpu_retention.retent.tagmem.dcache.size = (sets * waysgrp) & 0x1ff; in cache_tagmem_retention_setup()
141 …ion.retent.tagmem.dcache.vld_size ? s_cpu_retention.retent.tagmem.dcache.vld_size : sets * waysgrp; in cache_tagmem_retention_setup()
144 dmode.cache_line_size, dmode.cache_ways, sets, index, dcache_tagmem_blk_gs); in cache_tagmem_retention_setup()