Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/mips/mm/
A Dsc-mips.c170 c->scache.ways = assoc + 1; in mips_sc_probe_cm3()
171 c->scache.waysize = c->scache.sets * c->scache.linesz; in mips_sc_probe_cm3()
172 c->scache.waybit = __ffs(c->scache.waysize); in mips_sc_probe_cm3()
174 if (c->scache.linesz) { in mips_sc_probe_cm3()
214 c->scache.sets = 64 << tmp; in mips_sc_probe()
220 c->scache.ways = tmp + 1; in mips_sc_probe()
232 c->scache.ways = 4; in mips_sc_probe()
241 c->scache.sets = 256; in mips_sc_probe()
242 c->scache.ways = 4; in mips_sc_probe()
247 c->scache.waysize = c->scache.sets * c->scache.linesz; in mips_sc_probe()
[all …]
A Dsc-rm7k.c237 c->scache.linesz = sc_lsize; in rm7k_sc_init()
238 c->scache.ways = 4; in rm7k_sc_init()
239 c->scache.waybit= __ffs(scache_size / c->scache.ways); in rm7k_sc_init()
240 c->scache.waysize = scache_size / c->scache.ways; in rm7k_sc_init()
241 c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways); in rm7k_sc_init()
A Dc-r4k.c1545 c->scache.ways = 1; in probe_scache()
1557 c->scache.ways = 4; in loongson2_sc_init()
1559 c->scache.waysize = scache_size / (c->scache.ways); in loongson2_sc_init()
1560 c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways); in loongson2_sc_init()
1587 scache_size = c->scache.sets * c->scache.ways * c->scache.linesz; in loongson3_sc_init()
1590 c->scache.waysize = scache_size / c->scache.ways; in loongson3_sc_init()
1629 c->scache.ways = 2; in setup_scache()
1666 scache_size = c->scache.ways * c->scache.sets * c->scache.linesz; in setup_scache()
1669 way_string[c->scache.ways], c->scache.linesz); in setup_scache()
1688 c->scache.waysize = scache_size / c->scache.ways; in setup_scache()
[all …]
/linux-6.3-rc2/arch/sh/kernel/cpu/sh4/
A Dprobe.c243 boot_cpu_data.scache.entry_shift = 5; in cpu_probe()
244 boot_cpu_data.scache.ways = 4; in cpu_probe()
247 boot_cpu_data.scache.entry_mask = in cpu_probe()
248 (boot_cpu_data.scache.way_incr - in cpu_probe()
249 boot_cpu_data.scache.linesz); in cpu_probe()
251 boot_cpu_data.scache.sets = size / in cpu_probe()
252 (boot_cpu_data.scache.linesz * in cpu_probe()
253 boot_cpu_data.scache.ways); in cpu_probe()
255 boot_cpu_data.scache.way_size = in cpu_probe()
256 (boot_cpu_data.scache.sets * in cpu_probe()
[all …]
/linux-6.3-rc2/arch/mips/include/asm/
A Dr4kcache.h242 __BUILD_BLAST_CACHE(s, scache, Index_Writeback_Inv_SD, Hit_Writeback_Inv_SD, 16, )
246 __BUILD_BLAST_CACHE(s, scache, Index_Writeback_Inv_SD, Hit_Writeback_Inv_SD, 32, )
249 __BUILD_BLAST_CACHE(s, scache, Index_Writeback_Inv_SD, Hit_Writeback_Inv_SD, 64, )
252 __BUILD_BLAST_CACHE(s, scache, Index_Writeback_Inv_SD, Hit_Writeback_Inv_SD, 128, )
256 __BUILD_BLAST_CACHE(inv_s, scache, Index_Writeback_Inv_SD, Hit_Invalidate_SD, 16, )
257 __BUILD_BLAST_CACHE(inv_s, scache, Index_Writeback_Inv_SD, Hit_Invalidate_SD, 32, )
258 __BUILD_BLAST_CACHE(inv_s, scache, Index_Writeback_Inv_SD, Hit_Invalidate_SD, 64, )
259 __BUILD_BLAST_CACHE(inv_s, scache, Index_Writeback_Inv_SD, Hit_Invalidate_SD, 128, )
302 __BUILD_BLAST_CACHE_RANGE(s, scache, Hit_Writeback_Inv_SD, protected_, )
307 __BUILD_BLAST_CACHE_RANGE(s, scache, Hit_Writeback_Inv_SD, , )
[all …]
A Dcpu-info.h78 struct cache_desc scache; /* Secondary cache */ member
A Dcpu-features.h497 #define cpu_scache_line_size() cpu_data[0].scache.linesz
/linux-6.3-rc2/arch/microblaze/kernel/cpu/
A Dcache.c509 struct scache *mbc;
512 static const struct scache wb_msr = {
528 static const struct scache wb_nomsr = {
544 static const struct scache wt_msr = {
559 static const struct scache wt_nomsr = {
575 static const struct scache wt_msr_noirq = {
614 mbc = (struct scache *)&wb_msr; in microblaze_cache_init()
622 mbc = (struct scache *)&wt_msr_noirq; in microblaze_cache_init()
625 mbc = (struct scache *)&wt_msr; in microblaze_cache_init()
631 mbc = (struct scache *)&wb_nomsr; in microblaze_cache_init()
[all …]
/linux-6.3-rc2/arch/sh/mm/
A Dcache.c281 boot_cpu_data.scache.ways, in emit_cache_params()
282 boot_cpu_data.scache.sets, in emit_cache_params()
283 boot_cpu_data.scache.way_incr); in emit_cache_params()
285 boot_cpu_data.scache.entry_mask, in emit_cache_params()
286 boot_cpu_data.scache.alias_mask, in emit_cache_params()
287 boot_cpu_data.scache.n_aliases); in emit_cache_params()
301 compute_alias(&boot_cpu_data.scache); in cpu_cache_init()
/linux-6.3-rc2/arch/mips/kernel/
A Dcacheinfo.c43 if (c->scache.waysize) { in init_cache_level()
103 if (c->scache.waysize) { in populate_cache_leaves()
106 populate_cache(scache, this_leaf, level, CACHE_TYPE_UNIFIED); in populate_cache_leaves()
A Dcpu-probe.c496 c->scache.flags &= ~MIPS_CACHE_NOT_PRESENT; in decode_config2()
728 c->scache.flags = MIPS_CACHE_NOT_PRESENT; in decode_configs()
1535 c->scache.ways = 8; in cpu_probe_sandcraft()
/linux-6.3-rc2/arch/microblaze/include/asm/
A Dcacheflush.h31 struct scache { struct
49 extern struct scache *mbc; argument
/linux-6.3-rc2/arch/sh/include/asm/
A Dprocessor.h79 struct cache_info scache; /* Secondary cache */ member
/linux-6.3-rc2/arch/sh/kernel/cpu/
A Dproc.c122 show_cacheinfo(m, "scache", c->scache); in show_cpuinfo()
A Dinit.c212 l2_cache_shape = CACHE_DESC_SHAPE(current_cpu_data.scache); in detect_cache_shape()

Completed in 82 milliseconds