Searched refs:l2ctype (Results 1 – 1 of 1) sorted by relevance
/arch/arm/mm/ |
D | cache-xsc3l2.c | 31 #define CACHE_WAY_SIZE(l2ctype) (8192 << (((l2ctype) >> 8) & 0xf)) argument 32 #define CACHE_SET_SIZE(l2ctype) (CACHE_WAY_SIZE(l2ctype) >> CACHE_LINE_SHIFT) argument 36 unsigned long l2ctype; in xsc3_l2_present() local 38 __asm__("mrc p15, 1, %0, c0, c0, 1" : "=r" (l2ctype)); in xsc3_l2_present() 40 return !!(l2ctype & 0xf8); in xsc3_l2_present() 55 unsigned long l2ctype, set_way; in xsc3_l2_inv_all() local 58 __asm__("mrc p15, 1, %0, c0, c0, 1" : "=r" (l2ctype)); in xsc3_l2_inv_all() 60 for (set = 0; set < CACHE_SET_SIZE(l2ctype); set++) { in xsc3_l2_inv_all() 165 unsigned long l2ctype, set_way; in xsc3_l2_flush_all() local 168 __asm__("mrc p15, 1, %0, c0, c0, 1" : "=r" (l2ctype)); in xsc3_l2_flush_all() [all …]
|