Lines Matching refs:sets
45 int sets; /* i/d-cache total set counts */ in cache_tagmem_retention_setup() local
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()
61 s_retention.retent.tagmem.icache.size = (sets * waysgrp) & 0xff; in cache_tagmem_retention_setup()
67 …tention.retent.tagmem.icache.vld_size ? s_retention.retent.tagmem.icache.vld_size : sets * waysgrp; in cache_tagmem_retention_setup()
70 imode.cache_line_size, imode.cache_ways, sets, index, icache_tagmem_blk_gs); 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()
81 s_retention.retent.tagmem.dcache.size = (sets * waysgrp) & 0x1ff; in cache_tagmem_retention_setup()
91 …tention.retent.tagmem.dcache.vld_size ? s_retention.retent.tagmem.dcache.vld_size : sets * waysgrp; in cache_tagmem_retention_setup()
94 dmode.cache_line_size, dmode.cache_ways, sets, index, dcache_tagmem_blk_gs); in cache_tagmem_retention_setup()