Home
last modified time | relevance | path

Searched refs:icache (Results 1 – 25 of 49) sorted by relevance

12

/Linux-v5.10/arch/mips/mm/
Dc-octeon.c179 c->icache.linesz = 2 << ((config1 >> 19) & 7); in probe_octeon()
180 c->icache.sets = 64 << ((config1 >> 22) & 7); in probe_octeon()
181 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_octeon()
182 c->icache.flags |= MIPS_CACHE_VTAG; in probe_octeon()
184 c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon()
185 c->icache.waybit = ffs(icache_size / c->icache.ways) - 1; in probe_octeon()
199 c->icache.linesz = 2 << ((config1 >> 19) & 7); in probe_octeon()
200 c->icache.sets = 8; in probe_octeon()
201 c->icache.ways = 37; in probe_octeon()
202 c->icache.flags |= MIPS_CACHE_VTAG; in probe_octeon()
[all …]
Dc-r4k.c264 unsigned long end = start + current_cpu_data.icache.waysize; in tx49_blast_icache32()
265 unsigned long ws_inc = 1UL << current_cpu_data.icache.waybit; in tx49_blast_icache32()
266 unsigned long ws_end = current_cpu_data.icache.ways << in tx49_blast_icache32()
267 current_cpu_data.icache.waybit; in tx49_blast_icache32()
295 unsigned long indexmask = current_cpu_data.icache.waysize - 1; in tx49_blast_icache32_page_indexed()
298 unsigned long ws_inc = 1UL << current_cpu_data.icache.waybit; in tx49_blast_icache32_page_indexed()
299 unsigned long ws_end = current_cpu_data.icache.ways << in tx49_blast_icache32_page_indexed()
300 current_cpu_data.icache.waybit; in tx49_blast_icache32_page_indexed()
1120 c->icache.linesz = 16 << ((config & CONF_IB) >> 5); in probe_pcache()
1121 c->icache.ways = 2; in probe_pcache()
[all …]
Dc-tx39.c299 current_cpu_data.icache.linesz = 16; in tx39_probe_cache()
302 current_cpu_data.icache.ways = 1; in tx39_probe_cache()
308 current_cpu_data.icache.ways = 2; in tx39_probe_cache()
315 current_cpu_data.icache.ways = 1; in tx39_probe_cache()
392 current_cpu_data.icache.waysize = icache_size / current_cpu_data.icache.ways; in tx39_cache_init()
395 current_cpu_data.icache.sets = in tx39_cache_init()
396 current_cpu_data.icache.waysize / current_cpu_data.icache.linesz; in tx39_cache_init()
403 current_cpu_data.icache.waybit = 0; in tx39_cache_init()
407 icache_size >> 10, current_cpu_data.icache.linesz); in tx39_cache_init()
/Linux-v5.10/arch/sh/kernel/cpu/sh4/
Dprobe.c35 boot_cpu_data.icache.way_incr = (1 << 13); in cpu_probe()
36 boot_cpu_data.icache.entry_shift = 5; in cpu_probe()
37 boot_cpu_data.icache.sets = 256; in cpu_probe()
38 boot_cpu_data.icache.ways = 1; in cpu_probe()
39 boot_cpu_data.icache.linesz = L1_CACHE_BYTES; in cpu_probe()
67 boot_cpu_data.icache.ways = 4; in cpu_probe()
171 boot_cpu_data.icache.ways = 2; in cpu_probe()
176 boot_cpu_data.icache.ways = 2; in cpu_probe()
192 boot_cpu_data.icache.ways = 2; in cpu_probe()
202 if (boot_cpu_data.icache.ways > 1) { in cpu_probe()
[all …]
/Linux-v5.10/arch/mips/include/asm/
Dr4kcache.h251 __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 16, )
254 __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 32, )
255 __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I_Loongson2, 32, loongson2_)
258 __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 64, )
261 __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 128, )
285 __BUILD_BLAST_USER_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 16)
288 __BUILD_BLAST_USER_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 32)
291 __BUILD_BLAST_USER_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 64)
313 __BUILD_BLAST_CACHE_RANGE(i, icache, Hit_Invalidate_I, protected_, )
344 __BUILD_PROT_BLAST_CACHE_RANGE(i, icache, Hit_Invalidate_I)
[all …]
Dcpu-features.h232 #define cpu_has_vtag_icache (cpu_data[0].icache.flags & MIPS_CACHE_VTAG)
238 #define cpu_has_ic_fills_f_dc (cpu_data[0].icache.flags & MIPS_CACHE_IC_F_DC)
257 #define cpu_icache_snoops_remote_store (cpu_data[0].icache.flags & MIPS_IC_SNOOPS_REMOTE)
494 #define cpu_icache_line_size() cpu_data[0].icache.linesz
/Linux-v5.10/arch/sh/kernel/cpu/
Dinit.c209 l1i_cache_shape = CACHE_DESC_SHAPE(current_cpu_data.icache); in detect_cache_shape()
306 current_cpu_data.icache.entry_mask = current_cpu_data.icache.way_incr - in cpu_init()
307 current_cpu_data.icache.linesz; in cpu_init()
309 current_cpu_data.icache.way_size = current_cpu_data.icache.sets * in cpu_init()
310 current_cpu_data.icache.linesz; in cpu_init()
Dproc.c111 if (c->icache.flags & SH_CACHE_COMBINED) { in show_cpuinfo()
113 show_cacheinfo(m, "cache", c->icache); in show_cpuinfo()
116 show_cacheinfo(m, "icache", c->icache); in show_cpuinfo()
/Linux-v5.10/arch/sh/mm/
Dcache.c260 boot_cpu_data.icache.ways, in emit_cache_params()
261 boot_cpu_data.icache.sets, in emit_cache_params()
262 boot_cpu_data.icache.way_incr); in emit_cache_params()
264 boot_cpu_data.icache.entry_mask, in emit_cache_params()
265 boot_cpu_data.icache.alias_mask, in emit_cache_params()
266 boot_cpu_data.icache.n_aliases); in emit_cache_params()
299 compute_alias(&boot_cpu_data.icache); in cpu_cache_init()
Dcache-shx3.c27 if (boot_cpu_data.dcache.n_aliases || boot_cpu_data.icache.n_aliases) { in shx3_cache_init()
30 boot_cpu_data.icache.n_aliases = 0; in shx3_cache_init()
Dcache-sh4.c73 cpu_data->icache.entry_mask); in sh4_flush_icache_range()
76 n = boot_cpu_data.icache.n_aliases; in sh4_flush_icache_range()
77 for (i = 0; i < cpu_data->icache.ways; i++) { in sh4_flush_icache_range()
80 icacheaddr += cpu_data->icache.way_incr; in sh4_flush_icache_range()
Dcache-debugfs.c52 cache = &current_cpu_data.icache; in cache_seq_show()
/Linux-v5.10/arch/arm64/boot/dts/qcom/
Dsdm660.dtsi49 L1_I_100: l1-icache {
64 L1_I_101: l1-icache {
79 L1_I_102: l1-icache {
94 L1_I_103: l1-icache {
113 L1_I_0: l1-icache {
128 L1_I_1: l1-icache {
143 L1_I_2: l1-icache {
158 L1_I_3: l1-icache {
/Linux-v5.10/arch/mips/kernel/
Dcacheinfo.c36 leaves += (c->icache.waysize) ? 2 : 1; in __init_cache_level()
78 if (c->icache.waysize) { in __populate_cache_leaves()
83 populate_cache(icache, this_leaf, 1, CACHE_TYPE_INST); in __populate_cache_leaves()
/Linux-v5.10/Documentation/devicetree/bindings/nios2/
Dnios2.txt18 - icache-line-size: Contains instruction line size.
20 - icache-size: Contains instruction cache size.
47 icache-line-size = <32>;
49 icache-size = <32768>;
/Linux-v5.10/arch/powerpc/perf/
Dpower8-pmu.c138 CACHE_EVENT_ATTR(L1-icache-load-misses, PM_L1_ICACHE_MISS);
139 CACHE_EVENT_ATTR(L1-icache-loads, PM_INST_FROM_L1);
140 CACHE_EVENT_ATTR(L1-icache-prefetches, PM_IC_PREF_WRITE);
Dpower10-pmu.c121 CACHE_EVENT_ATTR(L1-icache-load-misses, PM_L1_ICACHE_MISS);
122 CACHE_EVENT_ATTR(L1-icache-loads, PM_INST_FROM_L1);
123 CACHE_EVENT_ATTR(L1-icache-prefetches, PM_IC_PREF_REQ);
Dpower9-pmu.c169 CACHE_EVENT_ATTR(L1-icache-load-misses, PM_L1_ICACHE_MISS);
170 CACHE_EVENT_ATTR(L1-icache-loads, PM_INST_FROM_L1);
171 CACHE_EVENT_ATTR(L1-icache-prefetches, PM_IC_PREF_WRITE);
/Linux-v5.10/arch/nios2/boot/dts/
D3c120_devboard.dts28 icache-line-size = <32>;
30 icache-size = <32768>;
D10m50_devboard.dts39 icache-line-size = <32>;
40 icache-size = <32768>;
/Linux-v5.10/arch/microblaze/boot/dts/
Dsystem.dts55 xlnx,allow-icache-wr = <0x1>;
81 xlnx,icache-always-used = <0x1>;
82 xlnx,icache-line-len = <0x4>;
83 xlnx,icache-use-fsl = <0x1>;
111 xlnx,use-icache = <0x1>;
/Linux-v5.10/arch/powerpc/kernel/
Dcacheinfo.c365 struct cache *dcache, *icache; in cache_do_one_devnode_split() local
371 icache = new_cache(CACHE_TYPE_INSTRUCTION, level, node); in cache_do_one_devnode_split()
373 if (!dcache || !icache) in cache_do_one_devnode_split()
376 dcache->next_local = icache; in cache_do_one_devnode_split()
381 release_cache(icache); in cache_do_one_devnode_split()
/Linux-v5.10/arch/sh/kernel/cpu/sh2a/
Dprobe.c56 boot_cpu_data.icache = boot_cpu_data.dcache; in cpu_probe()
/Linux-v5.10/arch/sh/kernel/cpu/sh2/
Dprobe.c69 boot_cpu_data.icache = boot_cpu_data.dcache; in cpu_probe()
/Linux-v5.10/arch/sh/kernel/cpu/sh3/
Dprobe.c105 boot_cpu_data.icache = boot_cpu_data.dcache; in cpu_probe()

12