Home
last modified time | relevance | path

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

/Linux-v5.4/arch/mips/mm/
Dc-octeon.c180 c->icache.linesz = 2 << ((config1 >> 19) & 7); in probe_octeon()
185 c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon()
187 c->dcache.linesz = 128; in probe_octeon()
194 c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
200 c->icache.linesz = 2 << ((config1 >> 19) & 7); in probe_octeon()
204 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon()
206 c->dcache.linesz = 128; in probe_octeon()
209 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
214 c->icache.linesz = 128; in probe_octeon()
218 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon()
[all …]
Dc-r4k.c1089 c->icache.linesz = 16 << ((config & CONF_IB) >> 5); in probe_pcache()
1094 c->dcache.linesz = 16 << ((config & CONF_DB) >> 4); in probe_pcache()
1103 c->icache.linesz = 16 << ((config & CONF_IB) >> 5); in probe_pcache()
1108 c->dcache.linesz = 16 << ((config & CONF_DB) >> 4); in probe_pcache()
1117 c->icache.linesz = 16 << ((config & CONF_IB) >> 5); in probe_pcache()
1122 c->dcache.linesz = 16 << ((config & CONF_DB) >> 4); in probe_pcache()
1137 c->icache.linesz = 16 << ((config & CONF_IB) >> 5); in probe_pcache()
1142 c->dcache.linesz = 16 << ((config & CONF_DB) >> 4); in probe_pcache()
1154 c->icache.linesz = 64; in probe_pcache()
1159 c->dcache.linesz = 32; in probe_pcache()
[all …]
Dc-tx39.c304 current_cpu_data.icache.linesz = 16; in tx39_probe_cache()
309 current_cpu_data.dcache.linesz = 4; in tx39_probe_cache()
315 current_cpu_data.dcache.linesz = 16; in tx39_probe_cache()
322 current_cpu_data.dcache.linesz = 16; in tx39_probe_cache()
401 current_cpu_data.icache.waysize / current_cpu_data.icache.linesz; in tx39_cache_init()
403 current_cpu_data.dcache.waysize / current_cpu_data.dcache.linesz; in tx39_cache_init()
412 icache_size >> 10, current_cpu_data.icache.linesz); in tx39_cache_init()
414 dcache_size >> 10, current_cpu_data.dcache.linesz); in tx39_cache_init()
Dsc-mips.c144 c->scache.linesz = 2 << tmp; in mips_sc_is_activated()
167 c->scache.linesz = 2 << line_sz; in mips_sc_probe_cm3()
172 c->scache.waysize = c->scache.sets * c->scache.linesz; in mips_sc_probe_cm3()
175 if (c->scache.linesz) { in mips_sc_probe_cm3()
245 c->scache.waysize = c->scache.sets * c->scache.linesz; in mips_sc_probe()
Dsc-rm7k.c237 c->scache.linesz = sc_lsize; in rm7k_sc_init()
241 c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways); in rm7k_sc_init()
267 c->tcache.linesz = tc_lsize; in rm7k_sc_init()
/Linux-v5.4/arch/sh/kernel/cpu/
Dinit.c155 addr += current_cpu_data.dcache.linesz) in cache_init()
200 CSHAPE((desc).way_size * (desc).ways, ilog2((desc).linesz), (desc).ways)
307 current_cpu_data.icache.linesz; in cpu_init()
310 current_cpu_data.icache.linesz; in cpu_init()
314 current_cpu_data.dcache.linesz; in cpu_init()
317 current_cpu_data.dcache.linesz; in cpu_init()
Dproc.c71 cache_size = info.ways * info.sets * info.linesz; in show_cacheinfo()
/Linux-v5.4/arch/sh/kernel/cpu/sh4/
Dprobe.c39 boot_cpu_data.icache.linesz = L1_CACHE_BYTES; in cpu_probe()
48 boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; in cpu_probe()
245 boot_cpu_data.scache.linesz = L1_CACHE_BYTES; in cpu_probe()
249 boot_cpu_data.scache.linesz); in cpu_probe()
252 (boot_cpu_data.scache.linesz * in cpu_probe()
257 boot_cpu_data.scache.linesz); in cpu_probe()
/Linux-v5.4/arch/sh/kernel/cpu/sh5/
Dprobe.c41 boot_cpu_data.icache.linesz = L1_CACHE_BYTES; in cpu_probe()
45 boot_cpu_data.icache.linesz; in cpu_probe()
/Linux-v5.4/arch/sh/kernel/cpu/sh2/
Dprobe.c38 boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; in cpu_probe()
59 boot_cpu_data.dcache.linesz = 32; in cpu_probe()
/Linux-v5.4/arch/mips/kernel/
Dcacheinfo.c12 leaf->coherency_line_size = c->cache.linesz; \
15 leaf->size = c->cache.linesz * c->cache.sets * \
Dpm-cps.c221 uasm_i_addiu(pp, t0, t0, cache->linesz); in cps_gen_cache_routine()
223 uasm_i_cache(pp, op, i * cache->linesz, t0); in cps_gen_cache_routine()
229 uasm_i_addiu(pp, t0, t0, unroll_lines * cache->linesz); in cps_gen_cache_routine()
244 unsigned line_size = cpu_info->dcache.linesz; in cps_gen_flush_fsb()
Dtraps.c639 regs->regs[rt] = min(current_cpu_data.dcache.linesz, in simulate_rdhwr()
640 current_cpu_data.icache.linesz); in simulate_rdhwr()
/Linux-v5.4/arch/sh/mm/
Dcache-sh7705.c47 addr += current_cpu_data.dcache.linesz) { in cache_wback_all()
115 addr += current_cpu_data.dcache.linesz) { in __flush_dcache_page()
Dcache-debugfs.c76 addr += cache->linesz, line++) { in cache_seq_show()
/Linux-v5.4/arch/sh/include/asm/
Dcache.h24 unsigned int linesz; /* Cache line size (bytes) */ member
/Linux-v5.4/arch/mips/include/asm/
Dcpu-features.h485 #define cpu_dcache_line_size() cpu_data[0].dcache.linesz
488 #define cpu_icache_line_size() cpu_data[0].icache.linesz
491 #define cpu_scache_line_size() cpu_data[0].scache.linesz
494 #define cpu_tcache_line_size() cpu_data[0].tcache.linesz
Dcpu-info.h27 unsigned char linesz; /* Size of line in bytes */ member
/Linux-v5.4/tools/perf/util/
Dnamespaces.c72 size_t linesz = 0; in nsinfo__init() local
106 while (getline(&statln, &linesz, f) != -1) { in nsinfo__init()
/Linux-v5.4/arch/sh/kernel/cpu/sh2a/
Dprobe.c47 boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; in cpu_probe()
/Linux-v5.4/tools/perf/ui/stdio/
Dhist.c802 size_t linesz; in hists__fprintf() local
819 linesz = hists__sort_list_width(hists) + 3 + 1; in hists__fprintf()
820 linesz += perf_hpp__color_overhead(); in hists__fprintf()
821 line = malloc(linesz); in hists__fprintf()
841 ret += hist_entry__fprintf(h, max_cols, line, linesz, fp, ignore_callchains); in hists__fprintf()
/Linux-v5.4/arch/sh/kernel/cpu/sh3/
Dprobe.c52 boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; in cpu_probe()
/Linux-v5.4/drivers/soc/bcm/brcmstb/pm/
Dpm-mips.c227 brcm_pm_do_s3(ctrl.aon_ctrl_base, current_cpu_data.dcache.linesz); in brcmstb_pm_s3()
270 s2_params[3] = (u32)current_cpu_data.icache.linesz; in brcmstb_pm_s2()
/Linux-v5.4/arch/mips/txx9/generic/
Dsetup.c155 unsigned int linesz = 32; in early_flush_dcache() local
160 for (addr = INDEX_BASE; addr < end; addr += linesz) { in early_flush_dcache()
204 unsigned int linesz = 16; in early_flush_dcache() local
209 for (addr = INDEX_BASE; addr < end; addr += linesz) { in early_flush_dcache()
/Linux-v5.4/arch/mips/kvm/
Demulate.c2533 arch->gprs[rt] = min(current_cpu_data.dcache.linesz, in kvm_mips_handle_ri()
2534 current_cpu_data.icache.linesz); in kvm_mips_handle_ri()