Home
last modified time | relevance | path

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

/netbsd/sys/arch/sparc/include/
H A Dpte.h191 #define RGSHIFT 24 /* log2(NBPRG) */ macro
208 #define VA_VREG(va) (((unsigned int)(va) >> RGSHIFT) & 255)
236 ? ((int)(vr) << RGSHIFT) \
237 : (((int)(vr) << (RGSHIFT+2)) >> 2))
239 ? (((int)(vr) << RGSHIFT) + ((int)(vs) << SGSHIFT)) \
240 : ((((int)(vr) << (RGSHIFT+2)) >> 2) + ((int)(vs) << SGSHIFT)))
/netbsd/sys/arch/sparc64/include/
H A Dpte.h306 #define RGSHIFT 24 /* log2(NBPRG) */ macro
317 #define VA_VREG(va) (((unsigned int)(va) >> RGSHIFT) & 255)
/netbsd/sys/arch/sparc/sparc/
H A Dcache.c570 i = (baseoff + len + RGOFSET) >> RGSHIFT; in sun4_cache_flush()
819 i = (baseoff + len + RGOFSET) >> RGSHIFT; in srmmu_cache_flush()
H A Dpmap.c1089 vr = virtual_end >> RGSHIFT; in pmap_growkernel()
1090 evr = (eva + NBPRG - 1) >> RGSHIFT; in pmap_growkernel()
1091 eva = evr << RGSHIFT; in pmap_growkernel()
7983 addr = (reg << RGSHIFT) | i; in test_region()
H A Dlocore.s4250 srl %l1, 22, %o2 ! note: 22 == RGSHIFT - 2
4270 srl %l1, 22, %o2 ! note: 22 == RGSHIFT - 2