Home
last modified time | relevance | path

Searched refs:icache_size (Results 1 - 25 of 56) sorted by relevance

123

/kernel/linux/linux-5.10/arch/mips/mm/
H A Dc-r3k.c25 static unsigned long icache_size, dcache_size; /* Size in bytes */ variable
98 icache_size = r3k_cache_size(ST0_ISC|ST0_SWC); in r3k_probe_cache()
99 if (icache_size) in r3k_probe_cache()
109 if (size > icache_size || KSEGX(start) != KSEG0) { in r3k_flush_icache_range()
111 size = icache_size; in r3k_flush_icache_range()
224 r3k_flush_icache_range(KSEG0, KSEG0 + icache_size); in r3k___flush_cache_all()
313 icache_size >> 10, icache_lsize); in r3k_cache_init()
H A Dc-octeon.c169 unsigned long icache_size; in probe_octeon() local
183 icache_size = in probe_octeon()
185 c->icache.waybit = ffs(icache_size / c->icache.ways) - 1; in probe_octeon()
203 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon()
217 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon()
232 c->icache.waysize = icache_size / c->icache.ways; in probe_octeon()
235 c->icache.sets = icache_size / (c->icache.linesz * c->icache.ways); in probe_octeon()
241 icache_size >> 10, in probe_octeon()
H A Dc-r4k.c109 static unsigned long icache_size __read_mostly;
771 (type & R4K_INDEX && end - start > icache_size)) in __local_r4k_flush_icache_range()
834 cache_size = icache_size; in __r4k_flush_icache_range()
1119 icache_size = 1 << (12 + ((config & CONF_IC) >> 9)); in probe_pcache()
1122 c->icache.waybit = __ffs(icache_size/2); in probe_pcache()
1133 icache_size = 1 << (12 + ((config & CONF_IC) >> 9)); in probe_pcache()
1147 icache_size = 1 << (12 + ((config & CONF_IC) >> 9)); in probe_pcache()
1167 icache_size = 1 << (12 + ((config & CONF_IC) >> 9)); in probe_pcache()
1184 icache_size = 1 << (12 + ((config & R10K_CONF_IC) >> 29)); in probe_pcache()
1211 icache_size in probe_pcache()
[all...]
H A Dc-tx39.c27 static unsigned long icache_size, dcache_size; /* Size in bytes */ variable
234 if (end - start > icache_size) in tx39_flush_icache_range()
294 icache_size = 1 << (10 + ((config & TX39_CONF_ICS_MASK) >> in tx39_probe_cache()
392 current_cpu_data.icache.waysize = icache_size / current_cpu_data.icache.ways; in tx39_cache_init()
407 icache_size >> 10, current_cpu_data.icache.linesz); in tx39_cache_init()
/kernel/linux/linux-6.6/arch/mips/mm/
H A Dc-r3k.c25 static unsigned long icache_size, dcache_size; /* Size in bytes */ variable
98 icache_size = r3k_cache_size(ST0_ISC|ST0_SWC); in r3k_probe_cache()
99 if (icache_size) in r3k_probe_cache()
109 if (size > icache_size || KSEGX(start) != KSEG0) { in r3k_flush_icache_range()
111 size = icache_size; in r3k_flush_icache_range()
224 r3k_flush_icache_range(KSEG0, KSEG0 + icache_size); in r3k___flush_cache_all()
308 icache_size >> 10, icache_lsize); in r3k_cache_init()
H A Dc-octeon.c172 unsigned long icache_size; in probe_octeon() local
186 icache_size = in probe_octeon()
188 c->icache.waybit = ffs(icache_size / c->icache.ways) - 1; in probe_octeon()
206 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; 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()
244 icache_size >> 10, in probe_octeon()
H A Dc-r4k.c108 static unsigned long icache_size __read_mostly;
660 (type & R4K_INDEX && end - start > icache_size)) in __local_r4k_flush_icache_range()
723 cache_size = icache_size; in __r4k_flush_icache_range()
1008 icache_size = 1 << (12 + ((config & CONF_IC) >> 9)); in probe_pcache()
1011 c->icache.waybit = __ffs(icache_size/2); in probe_pcache()
1022 icache_size = 1 << (12 + ((config & CONF_IC) >> 9)); in probe_pcache()
1036 icache_size = 1 << (12 + ((config & CONF_IC) >> 9)); in probe_pcache()
1057 icache_size = 1 << (12 + ((config & CONF_IC) >> 9)); in probe_pcache()
1074 icache_size = 1 << (12 + ((config & R10K_CONF_IC) >> 29)); in probe_pcache()
1090 icache_size in probe_pcache()
[all...]
/kernel/linux/linux-5.10/arch/microblaze/kernel/cpu/
H A Dcache.c169 cpuinfo.icache_line_length, cpuinfo.icache_size); in __flush_icache_range_msr_irq()
196 cpuinfo.icache_line_length, cpuinfo.icache_size); in __flush_icache_range_nomsr_irq()
223 cpuinfo.icache_line_length, cpuinfo.icache_size); in __flush_icache_range_noirq()
244 CACHE_ALL_LOOP(cpuinfo.icache_size, cpuinfo.icache_line_length, wic); in __flush_icache_all_msr_irq()
246 for (i = 0; i < cpuinfo.icache_size; in __flush_icache_all_msr_irq()
266 CACHE_ALL_LOOP(cpuinfo.icache_size, cpuinfo.icache_line_length, wic); in __flush_icache_all_nomsr_irq()
268 for (i = 0; i < cpuinfo.icache_size; in __flush_icache_all_nomsr_irq()
284 CACHE_ALL_LOOP(cpuinfo.icache_size, cpuinfo.icache_line_length, wic); in __flush_icache_all_noirq()
286 for (i = 0; i < cpuinfo.icache_size; in __flush_icache_all_noirq()
/kernel/linux/linux-6.6/arch/microblaze/kernel/cpu/
H A Dcache.c169 cpuinfo.icache_line_length, cpuinfo.icache_size); in __flush_icache_range_msr_irq()
196 cpuinfo.icache_line_length, cpuinfo.icache_size); in __flush_icache_range_nomsr_irq()
223 cpuinfo.icache_line_length, cpuinfo.icache_size); in __flush_icache_range_noirq()
244 CACHE_ALL_LOOP(cpuinfo.icache_size, cpuinfo.icache_line_length, wic); in __flush_icache_all_msr_irq()
246 for (i = 0; i < cpuinfo.icache_size; in __flush_icache_all_msr_irq()
266 CACHE_ALL_LOOP(cpuinfo.icache_size, cpuinfo.icache_line_length, wic); in __flush_icache_all_nomsr_irq()
268 for (i = 0; i < cpuinfo.icache_size; in __flush_icache_all_nomsr_irq()
284 CACHE_ALL_LOOP(cpuinfo.icache_size, cpuinfo.icache_line_length, wic); in __flush_icache_all_noirq()
286 for (i = 0; i < cpuinfo.icache_size; in __flush_icache_all_noirq()
/kernel/linux/linux-5.10/arch/nios2/kernel/
H A Dcpuinfo.c81 cpuinfo.icache_size = fcpu(cpu, "icache-size"); in setup_cpuinfo()
82 if (CONFIG_NIOS2_ICACHE_SIZE != cpuinfo.icache_size) in setup_cpuinfo()
86 CONFIG_NIOS2_ICACHE_SIZE, cpuinfo.icache_size); in setup_cpuinfo()
154 cpuinfo.icache_size >> 10, in show_cpuinfo()
/kernel/linux/linux-6.6/arch/nios2/kernel/
H A Dcpuinfo.c81 cpuinfo.icache_size = fcpu(cpu, "icache-size"); in setup_cpuinfo()
82 if (CONFIG_NIOS2_ICACHE_SIZE != cpuinfo.icache_size) in setup_cpuinfo()
86 CONFIG_NIOS2_ICACHE_SIZE, cpuinfo.icache_size); in setup_cpuinfo()
154 cpuinfo.icache_size >> 10, in show_cpuinfo()
/kernel/linux/linux-5.10/arch/nios2/mm/
H A Dcacheflush.c61 if (end > start + cpuinfo.icache_size) in __flush_icache()
62 end = start + cpuinfo.icache_size; in __flush_icache()
100 __flush_icache(0, cpuinfo.icache_size); in flush_cache_all()
/kernel/linux/linux-5.10/arch/openrisc/include/asm/
H A Dcpuinfo.h21 u32 icache_size; member
/kernel/linux/linux-6.6/arch/openrisc/include/asm/
H A Dcpuinfo.h21 u32 icache_size; member
/kernel/linux/linux-5.10/arch/sparc/include/asm/
H A Dcpudata_64.h24 unsigned int icache_size; member
/kernel/linux/linux-6.6/arch/sparc/include/asm/
H A Dcpudata_64.h24 unsigned int icache_size; member
/kernel/linux/linux-5.10/arch/openrisc/kernel/
H A Dsetup.c126 cpuinfo->icache_size, cpuinfo->icache_block_size, in print_cpuinfo()
186 cpuinfo->icache_size = in setup_cpuinfo()
359 seq_printf(m, "icache size\t\t: %d bytes\n", cpuinfo->icache_size); in show_cpuinfo()
/kernel/linux/linux-6.6/arch/arm/mm/
H A Dinit.c175 if (cpuid != 0 && icache_size != size) in check_cpu_icache_size()
178 if (icache_size > size) in check_cpu_icache_size()
179 icache_size = size; in check_cpu_icache_size()
H A Dmm.h10 extern int icache_size;
/kernel/linux/linux-6.6/arch/nios2/mm/
H A Dcacheflush.c62 if (end > start + cpuinfo.icache_size) in __flush_icache()
63 end = start + cpuinfo.icache_size; in __flush_icache()
102 __flush_icache(0, cpuinfo.icache_size); in flush_cache_all()
/kernel/linux/linux-6.6/arch/openrisc/kernel/
H A Dsetup.c126 cpuinfo->icache_size, cpuinfo->icache_block_size, in print_cpuinfo()
171 cpuinfo->icache_size = in setup_cpuinfo()
327 seq_printf(m, "icache size\t\t: %d bytes\n", cpuinfo->icache_size); in show_cpuinfo()
/kernel/linux/linux-5.10/arch/nios2/include/asm/
H A Dcpuinfo.h24 u32 icache_size; member
/kernel/linux/linux-6.6/arch/nios2/include/asm/
H A Dcpuinfo.h24 u32 icache_size; member
/kernel/linux/linux-5.10/arch/arm/mm/
H A Dmm.h10 extern int icache_size;
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dvdso_datapage.h72 __u32 icache_size; /* L1 i-cache size 0x68 */ member

Completed in 12 milliseconds

123