Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm64/kernel/
H A Dalternative.c126 u64 cur, d_size, ctr_el0; in clean_dcache_range_nopatch() local
128 ctr_el0 = arm64_ftr_reg_ctrel0.sys_val; in clean_dcache_range_nopatch()
129 d_size = 4 << cpuid_feature_extract_unsigned_field(ctr_el0, in clean_dcache_range_nopatch()
/openbmc/qemu/util/
H A Dcacheflush.c264 const uint64_t ctr_el0 = save_ctr_el0; in flush_idcache_range() local
273 if (!(ctr_el0 & CTR_IDC)) { in flush_idcache_range()
289 if (!(ctr_el0 & CTR_DIC)) { in flush_idcache_range()
/openbmc/u-boot/arch/arm/cpu/armv8/
H A Dcache.S133 mrs x3, ctr_el0
160 mrs x3, ctr_el0
/openbmc/qemu/tests/tcg/aarch64/
H A Dsysregs.c106 get_cpu_reg(ctr_el0); in main()
/openbmc/linux/arch/arm64/include/asm/
H A Dassembler.h273 mrs \reg, ctr_el0 // read CTR
297 mrs \tmp, ctr_el0 // read CTR
318 mrs \tmp, ctr_el0 // read CTR
/openbmc/linux/arch/arm64/kvm/
H A Dsys_regs.c1712 u64 ctr_el0 = read_sanitised_ftr_reg(SYS_CTR_EL0); in reset_clidr() local
1716 if ((ctr_el0 & CTR_EL0_IDC)) { in reset_clidr()
1725 loc = (ctr_el0 & CTR_EL0_DIC) ? 1 : 2; in reset_clidr()
1744 if (!(ctr_el0 & CTR_EL0_DIC)) in reset_clidr()
1765 u64 ctr_el0 = read_sanitised_ftr_reg(SYS_CTR_EL0); in set_clidr() local
1768 if ((val & CLIDR_EL1_RES0) || (!(ctr_el0 & CTR_EL0_IDC) && idc)) in set_clidr()