Home
last modified time | relevance | path

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

/Linux-v6.1/arch/arc/include/asm/
Darcregs.h152 #define TO_KB(bytes) ((bytes) >> 10) macro
153 #define TO_MB(bytes) (TO_KB(bytes) >> 10)
/Linux-v6.1/arch/arc/mm/
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()
1171 int num_colors = dc->sz_k/dc->assoc/TO_KB(PAGE_SIZE); in arc_cache_init_master()
Dtlb.c671 if (mmu->pg_sz_k != TO_KB(PAGE_SIZE)) in arc_mmu_init()
672 panic("MMU pg size != PAGE_SIZE (%luk)\n", TO_KB(PAGE_SIZE)); in arc_mmu_init()
/Linux-v6.1/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()