Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/arm/mm/
H A Dcache-xsc3l2.c19 #define CACHE_WAY_SIZE(l2ctype) (8192 << (((l2ctype) >> 8) & 0xf))
20 #define CACHE_SET_SIZE(l2ctype) (CACHE_WAY_SIZE(l2ctype) >> CACHE_LINE_SHIFT)
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); se in xsc3_l2_inv_all()
153 unsigned long l2ctype, set_way; xsc3_l2_flush_all() local
[all...]
/kernel/linux/linux-6.6/arch/arm/mm/
H A Dcache-xsc3l2.c19 #define CACHE_WAY_SIZE(l2ctype) (8192 << (((l2ctype) >> 8) & 0xf))
20 #define CACHE_SET_SIZE(l2ctype) (CACHE_WAY_SIZE(l2ctype) >> CACHE_LINE_SHIFT)
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); se in xsc3_l2_inv_all()
153 unsigned long l2ctype, set_way; xsc3_l2_flush_all() local
[all...]

Completed in 2 milliseconds