Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/compiler-rt/lib/builtins/
H A Dclear_cache.c158 uint64_t ctr_el0; in __clear_cache()
159 __asm __volatile("mrs %0, ctr_el0" : "=r"(ctr_el0)); in __clear_cache()
165 const size_t dcache_line_size = 4 << ((ctr_el0 >> 16) & 15); in __clear_cache()
171 const size_t icache_line_size = 4 << ((ctr_el0 >> 0) & 15); in __clear_cache()
/freebsd-12.1/sys/arm64/arm64/
H A Dmachdep.c952 uint32_t ctr_el0; in cache_setup() local
955 ctr_el0 = READ_SPECIALREG(ctr_el0); in cache_setup()
958 dcache_line_shift = CTR_DLINE_SIZE(ctr_el0); in cache_setup()
963 icache_line_shift = CTR_ILINE_SIZE(ctr_el0); in cache_setup()
1134 PRINT_REG(ctr_el0); in DB_SHOW_COMMAND()
/freebsd-12.1/stand/arm64/libarm64/
H A Dcache.c48 ctr = READ_SPECIALREG(ctr_el0); in get_dcache_line_size()