Home
last modified time | relevance | path

Searched refs:ctr_el0 (Results 1 – 3 of 3) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/builtins/
Dclear_cache.c105 static uint64_t ctr_el0 = 0; in __clear_cache()
106 if (ctr_el0 == 0) in __clear_cache()
107 __asm __volatile("mrs %0, ctr_el0" : "=r"(ctr_el0)); in __clear_cache()
115 if (((ctr_el0 >> 28) & 0x1) == 0x0) { in __clear_cache()
116 const size_t dcache_line_size = 4 << ((ctr_el0 >> 16) & 15); in __clear_cache()
125 if (((ctr_el0 >> 29) & 0x1) == 0x0) { in __clear_cache()
126 const size_t icache_line_size = 4 << ((ctr_el0 >> 0) & 15); in __clear_cache()
/freebsd-12-stable/sys/arm64/arm64/
Dmachdep.c977 uint32_t ctr_el0; in cache_setup() local
980 ctr_el0 = READ_SPECIALREG(ctr_el0); in cache_setup()
983 dcache_line_shift = CTR_DLINE_SIZE(ctr_el0); in cache_setup()
988 icache_line_shift = CTR_ILINE_SIZE(ctr_el0); in cache_setup()
1160 PRINT_REG(ctr_el0); in DB_SHOW_COMMAND()
/freebsd-12-stable/stand/arm64/libarm64/
Dcache.c48 ctr = READ_SPECIALREG(ctr_el0); in get_dcache_line_size()