Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/arch/mips/include/asm/
H A Dcm.h51 unsigned long l2conf, line_sz; in mips_cm_l2_line_size() local
55 line_sz = l2conf >> GCR_L2_CONFIG_LINESZ_SHIFT; in mips_cm_l2_line_size()
56 line_sz &= GENMASK(GCR_L2_CONFIG_LINESZ_BITS - 1, 0); in mips_cm_l2_line_size()
57 return line_sz ? (2 << line_sz) : 0; in mips_cm_l2_line_size()
/rk3399_rockchip-uboot/arch/mips/lib/
H A Dcache_init.S45 .macro cache_loop curr, end, line_sz, op
47 PTR_ADDU \curr, \curr, \line_sz
51 .macro l1_info sz, line_sz, off
58 srl \line_sz, $1, \off + MIPS_CONF1_DL_SHF - MIPS_CONF1_DA_SHF
59 andi \line_sz, \line_sz, (MIPS_CONF1_DL >> MIPS_CONF1_DL_SHF)
61 beqz \line_sz, 10f
63 sllv \line_sz, \sz, \line_sz
71 mul \sz, \sz, \line_sz