Searched refs:cp15_64 (Results 1 – 1 of 1) sorted by relevance
/arch/arm/kvm/hyp/ |
D | cp15-sr.c | 12 static u64 *cp15_64(struct kvm_cpu_context *ctxt, int idx) in cp15_64() function 22 *cp15_64(ctxt, c2_TTBR0) = read_sysreg(TTBR0); in __sysreg_save_state() 23 *cp15_64(ctxt, c2_TTBR1) = read_sysreg(TTBR1); in __sysreg_save_state() 32 *cp15_64(ctxt, c7_PAR) = read_sysreg(PAR); in __sysreg_save_state() 51 write_sysreg(*cp15_64(ctxt, c2_TTBR0), TTBR0); in __sysreg_restore_state() 52 write_sysreg(*cp15_64(ctxt, c2_TTBR1), TTBR1); in __sysreg_restore_state() 61 write_sysreg(*cp15_64(ctxt, c7_PAR), PAR); in __sysreg_restore_state()
|