/openbmc/linux/arch/mips/mm/ |
H A D | c-octeon.c | 187 c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon() 188 c->icache.waybit = ffs(icache_size / c->icache.ways) - 1; in probe_octeon() 203 c->icache.sets = 8; in probe_octeon() 204 c->icache.ways = 37; in probe_octeon() 206 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon() 217 c->icache.sets = 16; in probe_octeon() 218 c->icache.ways = 39; in probe_octeon() 220 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon() 235 c->icache.waysize = icache_size / c->icache.ways; in probe_octeon() 238 c->icache.sets = icache_size / (c->icache.linesz * c->icache.ways); in probe_octeon() [all …]
|
H A D | c-r4k.c | 1010 c->icache.ways = 2; in probe_pcache() 1024 c->icache.ways = 2; in probe_pcache() 1038 c->icache.ways = 4; in probe_pcache() 1059 c->icache.ways = 1; in probe_pcache() 1093 c->icache.waybit = __ffs(icache_size / c->icache.ways); in probe_pcache() 1159 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_pcache() 1192 c->icache.waybit = __ffs(icache_size/c->icache.ways); in probe_pcache() 1237 c->icache.waysize = icache_size / c->icache.ways; in probe_pcache() 1240 c->icache.sets = c->icache.linesz ? in probe_pcache() 1241 icache_size / (c->icache.linesz * c->icache.ways) : 0; in probe_pcache() [all …]
|
/openbmc/linux/arch/sh/kernel/cpu/sh4/ |
H A D | probe.c | 35 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 …]
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | r4kcache.h | 241 __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 16, ) 244 __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 32, ) 245 __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I_Loongson2, 32, loongson2_) 248 __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 64, ) 251 __BUILD_BLAST_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 128, ) 275 __BUILD_BLAST_USER_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 16) 278 __BUILD_BLAST_USER_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 32) 281 __BUILD_BLAST_USER_CACHE(i, icache, Index_Invalidate_I, Hit_Invalidate_I, 64) 301 __BUILD_BLAST_CACHE_RANGE(i, icache, Hit_Invalidate_I, protected_, ) 303 __BUILD_BLAST_CACHE_RANGE(i, icache, Hit_Invalidate_I_Loongson2, \ [all …]
|
H A D | cpu-features.h | 249 #define cpu_has_vtag_icache (cpu_data[0].icache.flags & MIPS_CACHE_VTAG) 255 #define cpu_has_ic_fills_f_dc (cpu_data[0].icache.flags & MIPS_CACHE_IC_F_DC) 274 #define cpu_icache_snoops_remote_store (cpu_data[0].icache.flags & MIPS_IC_SNOOPS_REMOTE) 511 #define cpu_icache_line_size() cpu_data[0].icache.linesz
|
/openbmc/linux/arch/sh/kernel/cpu/ |
H A D | init.c | 209 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()
|
H A D | proc.c | 111 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()
|
/openbmc/u-boot/doc/device-tree-bindings/cpu/ |
H A D | nios2.txt | 16 - icache-line-size: Contains instruction line size. 18 - icache-size: Contains instruction cache size. 39 icache-line-size = <32>; 41 icache-size = <32768>;
|
/openbmc/linux/arch/sh/mm/ |
H A D | cache.c | 268 boot_cpu_data.icache.ways, in emit_cache_params() 269 boot_cpu_data.icache.sets, in emit_cache_params() 270 boot_cpu_data.icache.way_incr); in emit_cache_params() 272 boot_cpu_data.icache.entry_mask, in emit_cache_params() 273 boot_cpu_data.icache.alias_mask, in emit_cache_params() 274 boot_cpu_data.icache.n_aliases); in emit_cache_params() 307 compute_alias(&boot_cpu_data.icache); in cpu_cache_init()
|
H A 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()
|
H A 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()
|
/openbmc/linux/arch/mips/kernel/ |
H A D | cacheinfo.c | 36 leaves += (c->icache.waysize) ? 2 : 1; in init_cache_level() 84 if (c->icache.waysize) { in populate_cache_leaves() 89 populate_cache(icache, this_leaf, level, CACHE_TYPE_INST); in populate_cache_leaves()
|
/openbmc/linux/Documentation/devicetree/bindings/nios2/ |
H A 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>;
|
/openbmc/qemu/pc-bios/ |
H A D | petalogix-ml605.dts | 53 xlnx,allow-icache-wr = < 0x01 >; 87 xlnx,icache-always-used = < 0x01 >; 88 xlnx,icache-data-width = < 0x00 >; 89 xlnx,icache-force-tag-lutram = < 0x00 >; 90 xlnx,icache-interface = < 0x00 >; 91 xlnx,icache-line-len = < 0x08 >; 92 xlnx,icache-streams = < 0x00 >; 93 xlnx,icache-use-fsl = < 0x00 >; 94 xlnx,icache-victims = < 0x00 >; 125 xlnx,use-icache = < 0x01 >;
|
H A D | petalogix-s3adsp1800.dts | 48 xlnx,allow-icache-wr = <0x01>; 73 xlnx,icache-always-used = <0x00>; 74 xlnx,icache-line-len = <0x04>; 75 xlnx,icache-use-fsl = <0x01>; 103 xlnx,use-icache = <0x01>;
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs-115/ |
H A D | armv5.patch | 15 // reloaded from the icache. 19 // We assume the icache flushing routines on other platforms take care of this
|
/openbmc/u-boot/board/synopsys/hsdk/ |
H A D | hsdk.c | 76 u32_env icache; member 109 u32 icache; member 125 { "icache_ena", ENV_HEX, true, 0, 1, &env_common.icache }, 175 value = env_common.icache.val; in sync_cross_cpu_data() 176 arc_write_uncached_32(&cross_cpu_data.icache, value); in sync_cross_cpu_data() 203 if (arc_read_uncached_32(&cross_cpu_data.icache)) in init_slave_cpu_func() 228 if (!env_common.icache.val) in init_master_icache() 232 if (env_common.icache.val) { in init_master_icache()
|
/openbmc/linux/arch/powerpc/perf/ |
H A D | power8-pmu.c | 138 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);
|
H A D | power9-pmu.c | 181 CACHE_EVENT_ATTR(L1-icache-load-misses, PM_L1_ICACHE_MISS); 182 CACHE_EVENT_ATTR(L1-icache-loads, PM_INST_FROM_L1); 183 CACHE_EVENT_ATTR(L1-icache-prefetches, PM_IC_PREF_WRITE);
|
/openbmc/u-boot/cmd/ |
H A D | cache.c | 94 icache, 2, 1, do_icache,
|
/openbmc/linux/arch/nios2/boot/dts/ |
H A D | 3c120_devboard.dts | 28 icache-line-size = <32>; 30 icache-size = <32768>;
|
/openbmc/linux/arch/microblaze/boot/dts/ |
H A D | system.dts | 55 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>;
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | cacheinfo.c | 372 struct cache *dcache, *icache; in cache_do_one_devnode_split() local 378 icache = new_cache(CACHE_TYPE_INSTRUCTION, level, node, group_id); in cache_do_one_devnode_split() 380 if (!dcache || !icache) in cache_do_one_devnode_split() 383 dcache->next_local = icache; in cache_do_one_devnode_split() 388 release_cache(icache); in cache_do_one_devnode_split()
|
/openbmc/linux/arch/sh/kernel/cpu/sh2a/ |
H A D | probe.c | 56 boot_cpu_data.icache = boot_cpu_data.dcache; in cpu_probe()
|
/openbmc/linux/arch/sh/kernel/cpu/sh2/ |
H A D | probe.c | 69 boot_cpu_data.icache = boot_cpu_data.dcache; in cpu_probe()
|