Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/mips/mach-jz47xx/jz4780/
H A Dsdram.c149 #define JZBIT(bit) ((bit % 4) * 8) macro
150 #define JZMASK(bit) (0x1f << JZBIT(bit))
160 tmp[0] = (remmap[0] & JZMASK(a)) >> JZBIT(a); in remap_swap()
161 tmp[1] = (remmap[1] & JZMASK(b)) >> JZBIT(b); in remap_swap()
166 writel(remmap[0] | (tmp[1] << JZBIT(a)), in remap_swap()
168 writel(remmap[1] | (tmp[0] << JZBIT(b)), in remap_swap()