Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/arm64/signal/testcases/
H A Dmangle_pstate_invalid_mode_template.h15 uc->uc_mcontext.pstate &= ~PSR_MODE_MASK; \
/linux/drivers/soc/apple/
H A Drtkit-crashlog.c25 #define PSR_MODE_MASK 0x0000000f macro
140 switch (regs->psr & PSR_MODE_MASK) { in apple_rtkit_crashlog_dump_regs()
/linux/arch/arm64/kvm/
H A Dtrace_arm.h351 __entry->target_mode = spsr_el2 & (PSR_MODE_MASK | PSR_MODE32_BIT);
381 __entry->source_mode = *vcpu_cpsr(vcpu) & (PSR_MODE_MASK | PSR_MODE32_BIT);
/linux/arch/arm64/kvm/hyp/include/hyp/
H A Dsysreg-sr.h293 u64 mode = ctxt->regs.pstate & (PSR_MODE_MASK | PSR_MODE32_BIT); in to_hw_pstate()
304 return (ctxt->regs.pstate & ~(PSR_MODE_MASK | PSR_MODE32_BIT)) | mode; in to_hw_pstate()
/linux/arch/arm64/include/asm/
H A Dkvm_emulate.h182 switch (ctxt->regs.pstate & (PSR_MODE32_BIT | PSR_MODE_MASK)) { in vcpu_is_el2_ctxt()
310 mode = *vcpu_cpsr(vcpu) & PSR_MODE_MASK; in vcpu_mode_priv()
/linux/arch/arm64/kvm/hyp/
H A Dexception.c91 mode = *vcpu_cpsr(vcpu) & (PSR_MODE_MASK | PSR_MODE32_BIT); in enter_exception64()