Searched refs:ctr_el0 (Results 1 – 3 of 3) sorted by relevance
105 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()
977 uint32_t ctr_el0; in cache_setup() local980 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()
48 ctr = READ_SPECIALREG(ctr_el0); in get_dcache_line_size()