Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/mips/mm/
H A Dc-octeon.c182 c->icache.linesz = 2 << ((config1 >> 19) & 7); in probe_octeon()
187 c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon()
189 c->dcache.linesz = 128; in probe_octeon()
196 c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
202 c->icache.linesz = 2 << ((config1 >> 19) & 7); in probe_octeon()
206 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon()
208 c->dcache.linesz = 128; in probe_octeon()
216 c->icache.linesz = 128; in probe_octeon()
222 c->dcache.linesz = 128; in probe_octeon()
247 c->icache.ways, c->icache.sets, c->icache.linesz); in probe_octeon()
[all …]
H A Dc-r4k.c794 addr0 &= ~(linesz - 1); in prefetch_cache_inv()
803 addr0 += linesz; in prefetch_cache_inv()
809 addr1 -= linesz; in prefetch_cache_inv()
1075 c->icache.linesz = 64; in probe_pcache()
1080 c->dcache.linesz = 32; in probe_pcache()
1128 c->icache.linesz = 0; in probe_pcache()
1133 c->icache.linesz; in probe_pcache()
1140 c->dcache.linesz = 0; in probe_pcache()
1351 c->dcache.linesz); in probe_pcache()
1446 c->scache.linesz = 32; in loongson2_sc_init()
[all …]
H A Dsc-mips.c143 c->scache.linesz = 2 << tmp; in mips_sc_is_activated()
166 c->scache.linesz = 2 << line_sz; in mips_sc_probe_cm3()
171 c->scache.waysize = c->scache.sets * c->scache.linesz; in mips_sc_probe_cm3()
174 if (c->scache.linesz) { in mips_sc_probe_cm3()
247 c->scache.waysize = c->scache.sets * c->scache.linesz; in mips_sc_probe()
H A 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()
/openbmc/linux/arch/sh/kernel/cpu/sh4/
H A 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()
/openbmc/linux/arch/sh/kernel/cpu/
H A 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()
H A Dproc.c70 cache_size = info.ways * info.sets * info.linesz; in show_cacheinfo()
/openbmc/linux/arch/sh/kernel/cpu/sh2/
H A Dprobe.c38 boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; in cpu_probe()
59 boot_cpu_data.dcache.linesz = 32; in cpu_probe()
/openbmc/linux/arch/loongarch/kernel/
H A Dcacheinfo.c74 this_leaf->coherency_line_size = cd->linesz; in populate_cache_leaves()
77 this_leaf->size = cd->linesz * cd->sets * cd->ways; in populate_cache_leaves()
/openbmc/linux/arch/mips/kernel/
H A Dcacheinfo.c12 leaf->coherency_line_size = c->cache.linesz; \
15 leaf->size = c->cache.linesz * c->cache.sets * \
H A 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()
/openbmc/linux/arch/sh/mm/
H A Dcache-sh7705.c46 addr += current_cpu_data.dcache.linesz) { in cache_wback_all()
114 addr += current_cpu_data.dcache.linesz) { in __flush_dcache_page()
H A Dcache-debugfs.c76 addr += cache->linesz, line++) { in cache_debugfs_show()
/openbmc/linux/arch/sh/include/asm/
H A Dcache.h29 unsigned int linesz; /* Cache line size (bytes) */ member
/openbmc/linux/arch/loongarch/mm/
H A Dcache.c60 addr += cdesc->linesz; in flush_cache_leaf()
111 cdesc->linesz = 1 << ((cfg1 & CPUCFG_CACHE_LSIZE_M) >> CPUCFG_CACHE_LSIZE); \
/openbmc/linux/arch/mips/include/asm/
H A Dcpu-features.h508 #define cpu_dcache_line_size() cpu_data[0].dcache.linesz
511 #define cpu_icache_line_size() cpu_data[0].icache.linesz
514 #define cpu_scache_line_size() cpu_data[0].scache.linesz
517 #define cpu_tcache_line_size() cpu_data[0].tcache.linesz
H A Dcpu-info.h27 unsigned char linesz; /* Size of line in bytes */ member
/openbmc/linux/arch/sh/kernel/cpu/sh2a/
H A Dprobe.c47 boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; in cpu_probe()
/openbmc/linux/arch/loongarch/include/asm/
H A Dcacheflush.h31 return boot_cpu_data.cache_leaves[cache_present - 1].linesz; in cpu_last_level_cache_line_size()
H A Dcpu-info.h28 unsigned char linesz; /* Size of line in bytes */ member
/openbmc/linux/tools/perf/ui/stdio/
H A Dhist.c825 size_t linesz; in hists__fprintf() local
842 linesz = hists__sort_list_width(hists) + 3 + 1; in hists__fprintf()
843 linesz += perf_hpp__color_overhead(); in hists__fprintf()
844 line = malloc(linesz); in hists__fprintf()
868 ret += hist_entry__fprintf(h, max_cols, line, linesz, fp, ignore_callchains); in hists__fprintf()
/openbmc/linux/arch/sh/kernel/cpu/sh3/
H A Dprobe.c52 boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; in cpu_probe()
/openbmc/linux/tools/perf/util/
H A Dnamespaces.c67 size_t linesz = 0; in nsinfo__get_nspid() local
74 while (getline(&statln, &linesz, f) != -1) { in nsinfo__get_nspid()
/openbmc/linux/drivers/soc/bcm/brcmstb/pm/
H A 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()
/openbmc/linux/arch/arm64/include/asm/
H A Dassembler.h400 .macro dcache_by_myline_op op, domain, start, end, linesz, tmp, fixup
401 sub \tmp, \linesz, #1
421 add \start, \start, \linesz

12