/Linux-v4.19/arch/mips/mm/ |
D | c-octeon.c | 197 c->icache.linesz = 2 << ((config1 >> 19) & 7); in probe_octeon() 198 c->icache.sets = 64 << ((config1 >> 22) & 7); in probe_octeon() 199 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_octeon() 200 c->icache.flags |= MIPS_CACHE_VTAG; in probe_octeon() 202 c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon() 203 c->icache.waybit = ffs(icache_size / c->icache.ways) - 1; in probe_octeon() 217 c->icache.linesz = 2 << ((config1 >> 19) & 7); in probe_octeon() 218 c->icache.sets = 8; in probe_octeon() 219 c->icache.ways = 37; in probe_octeon() 220 c->icache.flags |= MIPS_CACHE_VTAG; in probe_octeon() [all …]
|
D | c-r4k.c | 264 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() 293 unsigned long indexmask = current_cpu_data.icache.waysize - 1; in tx49_blast_icache32_page_indexed() 296 unsigned long ws_inc = 1UL << current_cpu_data.icache.waybit; in tx49_blast_icache32_page_indexed() 297 unsigned long ws_end = current_cpu_data.icache.ways << in tx49_blast_icache32_page_indexed() 298 current_cpu_data.icache.waybit; in tx49_blast_icache32_page_indexed() 1173 c->icache.linesz = 16 << ((config & CONF_IB) >> 5); in probe_pcache() 1174 c->icache.ways = 2; in probe_pcache() [all …]
|
D | c-tx39.c | 295 unsigned long ic_lsize = current_cpu_data.icache.linesz; in tx39_flush_cache_sigtramp() 323 current_cpu_data.icache.linesz = 16; in tx39_probe_cache() 326 current_cpu_data.icache.ways = 1; in tx39_probe_cache() 332 current_cpu_data.icache.ways = 2; in tx39_probe_cache() 339 current_cpu_data.icache.ways = 1; in tx39_probe_cache() 418 current_cpu_data.icache.waysize = icache_size / current_cpu_data.icache.ways; in tx39_cache_init() 421 current_cpu_data.icache.sets = in tx39_cache_init() 422 current_cpu_data.icache.waysize / current_cpu_data.icache.linesz; in tx39_cache_init() 429 current_cpu_data.icache.waybit = 0; in tx39_cache_init() 433 icache_size >> 10, current_cpu_data.icache.linesz); in tx39_cache_init()
|
/Linux-v4.19/arch/sh/kernel/cpu/sh5/ |
D | probe.c | 42 boot_cpu_data.icache.ways = 4; in cpu_probe() 43 boot_cpu_data.icache.sets = 256; in cpu_probe() 44 boot_cpu_data.icache.linesz = L1_CACHE_BYTES; in cpu_probe() 45 boot_cpu_data.icache.way_incr = (1 << 13); in cpu_probe() 46 boot_cpu_data.icache.entry_shift = 5; in cpu_probe() 47 boot_cpu_data.icache.way_size = boot_cpu_data.icache.sets * in cpu_probe() 48 boot_cpu_data.icache.linesz; in cpu_probe() 49 boot_cpu_data.icache.entry_mask = 0x1fe0; in cpu_probe() 50 boot_cpu_data.icache.flags = 0; in cpu_probe() 62 boot_cpu_data.dcache = boot_cpu_data.icache; in cpu_probe()
|
/Linux-v4.19/arch/sh/kernel/cpu/sh4/ |
D | probe.c | 38 boot_cpu_data.icache.way_incr = (1 << 13); in cpu_probe() 39 boot_cpu_data.icache.entry_shift = 5; in cpu_probe() 40 boot_cpu_data.icache.sets = 256; in cpu_probe() 41 boot_cpu_data.icache.ways = 1; in cpu_probe() 42 boot_cpu_data.icache.linesz = L1_CACHE_BYTES; in cpu_probe() 70 boot_cpu_data.icache.ways = 4; in cpu_probe() 174 boot_cpu_data.icache.ways = 2; in cpu_probe() 179 boot_cpu_data.icache.ways = 2; in cpu_probe() 195 boot_cpu_data.icache.ways = 2; in cpu_probe() 205 if (boot_cpu_data.icache.ways > 1) { in cpu_probe() [all …]
|
/Linux-v4.19/arch/sh/kernel/cpu/ |
D | init.c | 212 l1i_cache_shape = CACHE_DESC_SHAPE(current_cpu_data.icache); in detect_cache_shape() 309 current_cpu_data.icache.entry_mask = current_cpu_data.icache.way_incr - in cpu_init() 310 current_cpu_data.icache.linesz; in cpu_init() 312 current_cpu_data.icache.way_size = current_cpu_data.icache.sets * in cpu_init() 313 current_cpu_data.icache.linesz; in cpu_init()
|
D | proc.c | 112 if (c->icache.flags & SH_CACHE_COMBINED) { in show_cpuinfo() 114 show_cacheinfo(m, "cache", c->icache); in show_cpuinfo() 117 show_cacheinfo(m, "icache", c->icache); in show_cpuinfo()
|
/Linux-v4.19/arch/mips/include/asm/ |
D | r4kcache.h | 633 __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 16, ) 636 __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 32, ) 637 __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I_Loongson2, 32, loongson2_) 640 __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 64, ) 643 __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 128, ) 671 __BUILD_BLAST_USER_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 16) 674 __BUILD_BLAST_USER_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 32) 677 __BUILD_BLAST_USER_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 64) 703 __BUILD_BLAST_CACHE_RANGE(i, icache, Hit_Invalidate_I, protected_, ) 737 __BUILD_PROT_BLAST_CACHE_RANGE(i, icache, Hit_Invalidate_I) [all …]
|
D | cpu-features.h | 215 #define cpu_has_vtag_icache (cpu_data[0].icache.flags & MIPS_CACHE_VTAG) 221 #define cpu_has_ic_fills_f_dc (cpu_data[0].icache.flags & MIPS_CACHE_IC_F_DC) 243 #define cpu_icache_snoops_remote_store (cpu_data[0].icache.flags & MIPS_IC_SNOOPS_REMOTE) 465 #define cpu_icache_line_size() cpu_data[0].icache.linesz
|
/Linux-v4.19/arch/sh/mm/ |
D | cache.c | 261 boot_cpu_data.icache.ways, in emit_cache_params() 262 boot_cpu_data.icache.sets, in emit_cache_params() 263 boot_cpu_data.icache.way_incr); in emit_cache_params() 265 boot_cpu_data.icache.entry_mask, in emit_cache_params() 266 boot_cpu_data.icache.alias_mask, in emit_cache_params() 267 boot_cpu_data.icache.n_aliases); in emit_cache_params() 300 compute_alias(&boot_cpu_data.icache); in cpu_cache_init()
|
D | cache-shx3.c | 27 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()
|
D | cache-sh4.c | 74 cpu_data->icache.entry_mask); in sh4_flush_icache_range() 77 n = boot_cpu_data.icache.n_aliases; in sh4_flush_icache_range() 78 for (i = 0; i < cpu_data->icache.ways; i++) { in sh4_flush_icache_range() 81 icacheaddr += cpu_data->icache.way_incr; in sh4_flush_icache_range()
|
D | cache-debugfs.c | 52 cache = ¤t_cpu_data.icache; in cache_seq_show()
|
/Linux-v4.19/arch/mips/kernel/ |
D | cacheinfo.c | 47 leaves += (c->icache.waysize) ? 2 : 1; in __init_cache_level() 70 if (c->icache.waysize) { in __populate_cache_leaves() 72 populate_cache(icache, this_leaf, 1, CACHE_TYPE_INST); in __populate_cache_leaves()
|
/Linux-v4.19/Documentation/devicetree/bindings/nios2/ |
D | nios2.txt | 18 - icache-line-size: Contains instruction line size. 20 - icache-size: Contains instruction cache size. 47 icache-line-size = <32>; 49 icache-size = <32768>;
|
/Linux-v4.19/arch/powerpc/perf/ |
D | power8-pmu.c | 141 CACHE_EVENT_ATTR(L1-icache-load-misses, PM_L1_ICACHE_MISS); 142 CACHE_EVENT_ATTR(L1-icache-loads, PM_INST_FROM_L1); 143 CACHE_EVENT_ATTR(L1-icache-prefetches, PM_IC_PREF_WRITE);
|
D | power9-pmu.c | 176 CACHE_EVENT_ATTR(L1-icache-load-misses, PM_L1_ICACHE_MISS); 177 CACHE_EVENT_ATTR(L1-icache-loads, PM_INST_FROM_L1); 178 CACHE_EVENT_ATTR(L1-icache-prefetches, PM_IC_PREF_WRITE);
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | cacheinfo.c | 366 struct cache *dcache, *icache; in cache_do_one_devnode_split() local 372 icache = new_cache(CACHE_TYPE_INSTRUCTION, level, node); in cache_do_one_devnode_split() 374 if (!dcache || !icache) in cache_do_one_devnode_split() 377 dcache->next_local = icache; in cache_do_one_devnode_split() 382 release_cache(icache); in cache_do_one_devnode_split()
|
/Linux-v4.19/arch/unicore32/boot/compressed/ |
D | head.S | 92 mov r0, #0x1c @ en icache and wb dcache 145 movc p0.c5, r0, #20 @ icache invalidate all
|
/Linux-v4.19/arch/sh/kernel/cpu/sh2a/ |
D | probe.c | 59 boot_cpu_data.icache = boot_cpu_data.dcache; in cpu_probe()
|
/Linux-v4.19/arch/sh/kernel/cpu/sh2/ |
D | probe.c | 72 boot_cpu_data.icache = boot_cpu_data.dcache; in cpu_probe()
|
/Linux-v4.19/arch/microblaze/boot/dts/ |
D | system.dts | 70 xlnx,allow-icache-wr = <0x1>; 96 xlnx,icache-always-used = <0x1>; 97 xlnx,icache-line-len = <0x4>; 98 xlnx,icache-use-fsl = <0x1>; 126 xlnx,use-icache = <0x1>;
|
/Linux-v4.19/arch/nios2/boot/dts/ |
D | 3c120_devboard.dts | 40 icache-line-size = <32>; 42 icache-size = <32768>;
|
D | 10m50_devboard.dts | 50 icache-line-size = <32>; 51 icache-size = <32768>;
|
/Linux-v4.19/arch/sh/kernel/cpu/sh3/ |
D | probe.c | 108 boot_cpu_data.icache = boot_cpu_data.dcache; in cpu_probe()
|