Home
last modified time | relevance | path

Searched refs:ppc64_caches (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.10/arch/powerpc/include/asm/
Dcache.h49 struct ppc64_caches { struct
56 extern struct ppc64_caches ppc64_caches; argument
60 return ppc64_caches.l1d.log_block_size; in l1_dcache_shift()
65 return ppc64_caches.l1d.block_size; in l1_dcache_bytes()
70 return ppc64_caches.l1i.log_block_size; in l1_icache_shift()
75 return ppc64_caches.l1i.block_size; in l1_icache_bytes()
Delf.h137 (ppc64_caches.level.assoc << 16 | ppc64_caches.level.line_size)
140 NEW_AUX_ENT(AT_L1I_CACHESIZE, ppc64_caches.l1i.size); \
142 NEW_AUX_ENT(AT_L1D_CACHESIZE, ppc64_caches.l1d.size); \
144 NEW_AUX_ENT(AT_L2_CACHESIZE, ppc64_caches.l2.size); \
146 NEW_AUX_ENT(AT_L3_CACHESIZE, ppc64_caches.l3.size); \
Dpage_64.h48 iterations = ppc64_caches.l1d.blocks_per_page / 8; in clear_page()
55 onex = ppc64_caches.l1d.block_size; in clear_page()
/Linux-v5.10/arch/powerpc/kernel/
Dsetup_64.c76 struct ppc64_caches ppc64_caches = { variable
86 EXPORT_SYMBOL_GPL(ppc64_caches);
581 init_cache_info(&ppc64_caches.l1i, 0x8000, 128, 128, 32); in initialize_cache_info()
582 init_cache_info(&ppc64_caches.l1d, 0x10000, 128, 128, 64); in initialize_cache_info()
583 init_cache_info(&ppc64_caches.l2, 0x80000, 128, 0, 512); in initialize_cache_info()
584 init_cache_info(&ppc64_caches.l3, 0x800000, 128, 0, 8192); in initialize_cache_info()
593 if (!parse_cache_info(cpu, false, &ppc64_caches.l1d)) in initialize_cache_info()
596 if (!parse_cache_info(cpu, true, &ppc64_caches.l1i)) in initialize_cache_info()
606 parse_cache_info(l2, false, &ppc64_caches.l2); in initialize_cache_info()
611 parse_cache_info(l3, false, &ppc64_caches.l3); in initialize_cache_info()
[all …]
Dvdso.c712 vdso_data->dcache_size = ppc64_caches.l1d.size; in vdso_init()
713 vdso_data->dcache_line_size = ppc64_caches.l1d.line_size; in vdso_init()
714 vdso_data->icache_size = ppc64_caches.l1i.size; in vdso_init()
715 vdso_data->icache_line_size = ppc64_caches.l1i.line_size; in vdso_init()
716 vdso_data->dcache_block_size = ppc64_caches.l1d.block_size; in vdso_init()
717 vdso_data->icache_block_size = ppc64_caches.l1i.block_size; in vdso_init()
718 vdso_data->dcache_log_block_size = ppc64_caches.l1d.log_block_size; in vdso_init()
719 vdso_data->icache_log_block_size = ppc64_caches.l1i.log_block_size; in vdso_init()
Dasm-offsets.c194 OFFSET(DCACHEL1BLOCKSIZE, ppc64_caches, l1d.block_size); in main()
195 OFFSET(DCACHEL1LOGBLOCKSIZE, ppc64_caches, l1d.log_block_size); in main()
196 OFFSET(DCACHEL1BLOCKSPERPAGE, ppc64_caches, l1d.blocks_per_page); in main()
197 OFFSET(ICACHEL1BLOCKSIZE, ppc64_caches, l1i.block_size); in main()
198 OFFSET(ICACHEL1LOGBLOCKSIZE, ppc64_caches, l1i.log_block_size); in main()
199 OFFSET(ICACHEL1BLOCKSPERPAGE, ppc64_caches, l1i.blocks_per_page); in main()
Dhw_breakpoint_constraints.c133 return ppc64_caches.l1d.block_size; in cache_op_size()
/Linux-v5.10/arch/powerpc/lib/
Dcopypage_64.S14 .tc ppc64_caches[TC],ppc64_caches
Dstring_64.S16 .tc ppc64_caches[TC],ppc64_caches
Dsstep.c930 size = ppc64_caches.l1d.block_size; in emulate_dcbz()