Home
last modified time | relevance | path

Searched refs:line_sz (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/arch/mips/include/asm/
Dcm.h50 unsigned long l2conf, line_sz; in mips_cm_l2_line_size() local
54 line_sz = l2conf >> GCR_L2_CONFIG_LINESZ_SHIFT; in mips_cm_l2_line_size()
55 line_sz &= GENMASK(GCR_L2_CONFIG_LINESZ_BITS - 1, 0); in mips_cm_l2_line_size()
56 return line_sz ? (2 << line_sz) : 0; in mips_cm_l2_line_size()
/external/u-boot/arch/mips/lib/
Dcache_init.S44 .macro cache_loop curr, end, line_sz, op
46 PTR_ADDU \curr, \curr, \line_sz
50 .macro l1_info sz, line_sz, off
57 srl \line_sz, $1, \off + MIPS_CONF1_DL_SHF - MIPS_CONF1_DA_SHF
58 andi \line_sz, \line_sz, (MIPS_CONF1_DL >> MIPS_CONF1_DL_SHF)
60 beqz \line_sz, 10f
62 sllv \line_sz, \sz, \line_sz
70 mul \sz, \sz, \line_sz