Searched refs:PSR_MODE_MASK (Results 1 – 14 of 14) sorted by relevance
228 (((regs)->pstate & PSR_MODE_MASK) == PSR_MODE_EL0t)231 (((regs)->pstate & (PSR_MODE32_BIT | PSR_MODE_MASK)) == \235 ((regs)->pstate & PSR_MODE_MASK)
195 switch (ctxt->regs.pstate & (PSR_MODE32_BIT | PSR_MODE_MASK)) { in vcpu_is_el2_ctxt()290 mode = *vcpu_cpsr(vcpu) & PSR_MODE_MASK; in vcpu_mode_priv()
32 switch(*vcpu_cpsr(vcpu) & PSR_MODE_MASK) { in pend_sync_exception()76 if (is_aarch32 || (cpsr & PSR_MODE_MASK) == PSR_MODE_EL0t) in inject_abt64()
326 __entry->target_mode = spsr_el2 & (PSR_MODE_MASK | PSR_MODE32_BIT);356 __entry->source_mode = *vcpu_cpsr(vcpu) & (PSR_MODE_MASK | PSR_MODE32_BIT);
392 u64 mode = spsr & PSR_MODE_MASK; in nvhe_hyp_panic_handler()
1873 u64 mode = spsr & PSR_MODE_MASK; in kvm_check_illegal_exception_return()1897 PSR_MODE_MASK | PSR_MODE32_BIT); in kvm_check_illegal_exception_return()1919 mode = spsr & (PSR_MODE_MASK | PSR_MODE32_BIT); in kvm_emulate_nested_eret()1993 mode = pstate & (PSR_MODE_MASK | PSR_MODE32_BIT); in kvm_inject_nested()
15 uc->uc_mcontext.pstate &= ~PSR_MODE_MASK; \
187 u64 mode = *vcpu_cpsr(vcpu) & (PSR_MODE_MASK | PSR_MODE32_BIT); in early_exit_filter()198 *vcpu_cpsr(vcpu) &= ~(PSR_MODE_MASK | PSR_MODE32_BIT); in early_exit_filter()
25 #define PSR_MODE_MASK 0x0000000f macro140 switch (regs->psr & PSR_MODE_MASK) { in apple_rtkit_crashlog_dump_regs()
172 u64 mode = ctxt->regs.pstate & (PSR_MODE_MASK | PSR_MODE32_BIT); in to_hw_pstate()183 return (ctxt->regs.pstate & ~(PSR_MODE_MASK | PSR_MODE32_BIT)) | mode; in to_hw_pstate()
244 mode = regs->pstate & (PSR_MODE32_BIT | PSR_MODE_MASK); in do_sdei_event()
152 and x0, x0, #~PSR_MODE_MASK
39 #define PSR_MODE_MASK 0x0000000f macro
97 mode = *vcpu_cpsr(vcpu) & (PSR_MODE_MASK | PSR_MODE32_BIT); in enter_exception64()