Searched refs:l2ctype (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/arm/mm/ |
H A D | cache-xsc3l2.c | 19 #define CACHE_WAY_SIZE(l2ctype) (8192 << (((l2ctype) >> 8) & 0xf)) argument 20 #define CACHE_SET_SIZE(l2ctype) (CACHE_WAY_SIZE(l2ctype) >> CACHE_LINE_SHIFT) argument 24 unsigned long l2ctype; in xsc3_l2_present() local 26 __asm__("mrc p15, 1, %0, c0, c0, 1" : "=r" (l2ctype)); in xsc3_l2_present() 28 return !!(l2ctype & 0xf8); in xsc3_l2_present() 43 unsigned long l2ctype, set_way; in xsc3_l2_inv_all() local 46 __asm__("mrc p15, 1, %0, c0, c0, 1" : "=r" (l2ctype)); in xsc3_l2_inv_all() 48 for (set = 0; set < CACHE_SET_SIZE(l2ctype); set++) { in xsc3_l2_inv_all() 153 unsigned long l2ctype, set_way; in xsc3_l2_flush_all() local 156 __asm__("mrc p15, 1, %0, c0, c0, 1" : "=r" (l2ctype)); in xsc3_l2_flush_all() [all …]
|