Searched refs:l2ctype (Results 1 - 2 of 2) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/arm/mm/
H A Dcache-xsc3l2.c35 #define CACHE_WAY_SIZE(l2ctype) (8192 << (((l2ctype) >> 8) & 0xf))
36 #define CACHE_SET_SIZE(l2ctype) (CACHE_WAY_SIZE(l2ctype) >> CACHE_LINE_SHIFT)
40 unsigned long l2ctype; local
42 __asm__("mrc p15, 1, %0, c0, c0, 1" : "=r" (l2ctype));
44 return !!(l2ctype & 0xf8);
59 unsigned long l2ctype, set_way; local
62 __asm__("mrc p15, 1, %0, c0, c0, 1" : "=r" (l2ctype));
64 for (set = 0; set < CACHE_SET_SIZE(l2ctype); se
179 unsigned long l2ctype, set_way; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/arm/mm/
H A Dcache-xsc3l2.c35 #define CACHE_WAY_SIZE(l2ctype) (8192 << (((l2ctype) >> 8) & 0xf))
36 #define CACHE_SET_SIZE(l2ctype) (CACHE_WAY_SIZE(l2ctype) >> CACHE_LINE_SHIFT)
40 unsigned long l2ctype; local
42 __asm__("mrc p15, 1, %0, c0, c0, 1" : "=r" (l2ctype));
44 return !!(l2ctype & 0xf8);
59 unsigned long l2ctype, set_way; local
62 __asm__("mrc p15, 1, %0, c0, c0, 1" : "=r" (l2ctype));
64 for (set = 0; set < CACHE_SET_SIZE(l2ctype); se
179 unsigned long l2ctype, set_way; local
[all...]

Completed in 106 milliseconds