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

/linux-master/arch/mips/mm/
H A Dsc-mips.c143 c->scache.linesz = 2 << tmp;
161 c->scache.sets = 64 << sets;
166 c->scache.linesz = 2 << line_sz;
170 c->scache.ways = assoc + 1;
171 c->scache.waysize = c->scache.sets * c->scache.linesz;
172 c->scache.waybit = __ffs(c->scache.waysize);
174 if (c->scache
[all...]
H A Dsc-rm7k.c237 c->scache.linesz = sc_lsize;
238 c->scache.ways = 4;
239 c->scache.waybit= __ffs(scache_size / c->scache.ways);
240 c->scache.waysize = scache_size / c->scache.ways;
241 c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways);
H A Dc-r4k.c1434 c->scache.linesz = 16 << ((config & R4K_CONF_SB) >> 22);
1435 c->scache.ways = 1;
1436 c->scache.waybit = 0; /* does not matter */
1446 c->scache.linesz = 32;
1447 c->scache.ways = 4;
1448 c->scache.waybit = 0;
1449 c->scache.waysize = scache_size / (c->scache.ways);
1450 c->scache.sets = scache_size / (c->scache
[all...]
/linux-master/arch/sh/kernel/cpu/sh4/
H A Dprobe.c242 boot_cpu_data.scache.way_incr = (1 << 16);
243 boot_cpu_data.scache.entry_shift = 5;
244 boot_cpu_data.scache.ways = 4;
245 boot_cpu_data.scache.linesz = L1_CACHE_BYTES;
247 boot_cpu_data.scache.entry_mask =
248 (boot_cpu_data.scache.way_incr -
249 boot_cpu_data.scache.linesz);
251 boot_cpu_data.scache.sets = size /
252 (boot_cpu_data.scache.linesz *
253 boot_cpu_data.scache
[all...]
/linux-master/arch/mips/include/asm/
H A Dr4kcache.h246 __BUILD_BLAST_CACHE(s, scache, Index_Writeback_Inv_SD, Hit_Writeback_Inv_SD, 16, )
250 __BUILD_BLAST_CACHE(s, scache, Index_Writeback_Inv_SD, Hit_Writeback_Inv_SD, 32, )
253 __BUILD_BLAST_CACHE(s, scache, Index_Writeback_Inv_SD, Hit_Writeback_Inv_SD, 64, )
256 __BUILD_BLAST_CACHE(s, scache, Index_Writeback_Inv_SD, Hit_Writeback_Inv_SD, 128, )
260 __BUILD_BLAST_CACHE(inv_s, scache, Index_Writeback_Inv_SD, Hit_Invalidate_SD, 16, )
261 __BUILD_BLAST_CACHE(inv_s, scache, Index_Writeback_Inv_SD, Hit_Invalidate_SD, 32, )
262 __BUILD_BLAST_CACHE(inv_s, scache, Index_Writeback_Inv_SD, Hit_Invalidate_SD, 64, )
263 __BUILD_BLAST_CACHE(inv_s, scache, Index_Writeback_Inv_SD, Hit_Invalidate_SD, 128, )
306 __BUILD_BLAST_CACHE_RANGE(s, scache, Hit_Writeback_Inv_SD, protected_, )
311 __BUILD_BLAST_CACHE_RANGE(s, scache, Hit_Writeback_Inv_S
[all...]
H A Dcpu-info.h77 struct cache_desc vcache; /* Victim cache, between pcache and scache */
78 struct cache_desc scache; /* Secondary cache */ member in struct:cpuinfo_mips
H A Dcpu-features.h514 #define cpu_scache_line_size() cpu_data[0].scache.linesz
/linux-master/arch/microblaze/kernel/cpu/
H 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 = {
590 static const struct scache wt_nomsr_noirq = {
614 mbc = (struct scache *)&wb_msr;
622 mbc = (struct scache *)&wt_msr_noirq;
625 mbc = (struct scache *)
[all...]
/linux-master/arch/mips/kernel/
H A Dcacheinfo.c43 if (c->scache.waysize) {
103 if (c->scache.waysize) {
106 populate_cache(scache, this_leaf, level, CACHE_TYPE_UNIFIED);
H A Dcpu-probe.c495 c->scache.flags &= ~MIPS_CACHE_NOT_PRESENT;
727 c->scache.flags = MIPS_CACHE_NOT_PRESENT;
1538 c->scache.ways = 8;
/linux-master/arch/microblaze/include/asm/
H A Dcacheflush.h31 struct scache { struct
49 extern struct scache *mbc;
/linux-master/arch/sh/mm/
H A Dcache.c289 boot_cpu_data.scache.ways,
290 boot_cpu_data.scache.sets,
291 boot_cpu_data.scache.way_incr);
293 boot_cpu_data.scache.entry_mask,
294 boot_cpu_data.scache.alias_mask,
295 boot_cpu_data.scache.n_aliases);
309 compute_alias(&boot_cpu_data.scache);
/linux-master/arch/sh/include/asm/
H A Dprocessor.h79 struct cache_info scache; /* Secondary cache */ member in struct:sh_cpuinfo
/linux-master/arch/sh/kernel/cpu/
H A Dproc.c122 show_cacheinfo(m, "scache", c->scache);
H A Dinit.c212 l2_cache_shape = CACHE_DESC_SHAPE(current_cpu_data.scache);

Completed in 146 milliseconds