Searched refs:TO_KB (Results 1 – 4 of 4) sorted by relevance
152 #define TO_KB(bytes) ((bytes) >> 10) macro153 #define TO_MB(bytes) (TO_KB(bytes) >> 10)
744 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()
170 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()
366 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()