Home
last modified time | relevance | path

Searched refs:TO_KB (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/arch/arc/include/asm/
Darcregs.h152 #define TO_KB(bytes) ((bytes) >> 10) macro
153 #define TO_MB(bytes) (TO_KB(bytes) >> 10)
/kernel/linux/linux-5.10/arch/arc/mm/
Dtlb.c744 mmu->pg_sz_k = TO_KB(0x2000); in read_decode_mmu_bcr()
835 if (mmu->pg_sz_k != TO_KB(PAGE_SIZE)) in arc_mmu_init()
836 panic("MMU pg size != PAGE_SIZE (%luk)\n", TO_KB(PAGE_SIZE)); in arc_mmu_init()
Dcache.c170 p_ic->alias = p_ic->sz_k/p_ic->assoc/TO_KB(PAGE_SIZE) > 1; in read_decode_cache_bcr()
183 p_dc->alias = p_dc->sz_k/p_dc->assoc/TO_KB(PAGE_SIZE) > 1; in read_decode_cache_bcr()
1253 int num_colors = dc->sz_k/dc->assoc/TO_KB(PAGE_SIZE); in arc_cache_init_master()
/kernel/linux/linux-5.10/arch/arc/kernel/
Dsetup.c366 cpu->dccm.base_addr, TO_KB(cpu->dccm.sz), in arc_extn_mumbojumbo()
367 cpu->iccm.base_addr, TO_KB(cpu->iccm.sz)); in arc_extn_mumbojumbo()