Searched refs:MODE_MASK (Results 1 - 30 of 30) sorted by relevance

/linux-4.4.14/arch/unicore32/include/asm/
H A Dptrace.h23 ((regs)->UCreg_asr & MODE_MASK)
36 unsigned long mode = regs->UCreg_asr & MODE_MASK; valid_user_regs()
/linux-4.4.14/arch/avr32/include/asm/
H A Dptrace.h21 #define user_mode(regs) (((regs)->sr & MODE_MASK) == MODE_USER)
/linux-4.4.14/arch/unicore32/include/uapi/asm/
H A Dptrace.h27 #define MODE_MASK 0x0000001f macro
/linux-4.4.14/arch/arm/plat-iop/
H A Dcp6.c43 .cpsr_mask = MODE_MASK,
/linux-4.4.14/arch/arm/probes/uprobes/
H A Dcore.c210 .cpsr_mask = MODE_MASK,
218 .cpsr_mask = MODE_MASK,
/linux-4.4.14/arch/arm/include/asm/
H A Dptrace.h39 ((regs)->ARM_cpsr & MODE_MASK)
53 unsigned long mode = regs->ARM_cpsr & MODE_MASK; valid_user_regs()
H A Dvirt.h68 return ((__boot_cpu_mode & MODE_MASK) == HYP_MODE && is_hyp_mode_available()
H A Dkvm_emulate.h86 unsigned long cpsr_mode = vcpu->arch.regs.usr_regs.ARM_cpsr & MODE_MASK; mode_has_spsr()
92 unsigned long cpsr_mode = vcpu->arch.regs.usr_regs.ARM_cpsr & MODE_MASK; vcpu_mode_priv()
H A Dassembler.h342 tst \reg, #MODE_MASK
343 bic \reg , \reg , #MODE_MASK
/linux-4.4.14/arch/avr32/include/uapi/asm/
H A Dptrace.h29 #define MODE_MASK 0x01c00000 macro
/linux-4.4.14/arch/arm/kvm/
H A Demulate.c116 unsigned long mode = *vcpu_cpsr(vcpu) & MODE_MASK; vcpu_reg()
147 unsigned long mode = *vcpu_cpsr(vcpu) & MODE_MASK; vcpu_spsr()
300 *vcpu_cpsr(vcpu) = (cpsr & ~MODE_MASK) | UND_MODE; kvm_inject_undefined()
335 *vcpu_cpsr(vcpu) = (cpsr & ~MODE_MASK) | ABT_MODE; inject_abt()
H A Dguest.c84 unsigned long mode = val & MODE_MASK; set_core_reg()
H A Dinterrupts.S305 bic r2, r2, #MODE_MASK
/linux-4.4.14/arch/avr32/kernel/
H A Dptrace.c303 if ((regs->sr & MODE_MASK) == MODE_EXCEPTION) { do_debug()
313 BUG_ON(ti->rsr_saved & MODE_MASK); do_debug()
323 if ((regs->sr & MODE_MASK) == MODE_SUPERVISOR) { do_debug()
H A Dprocess.c216 unsigned long mode = (regs->sr & MODE_MASK) >> MODE_SHIFT; show_regs_log_lvl()
H A Dsignal.c278 if ((sysreg_read(SR) & MODE_MASK) == MODE_SUPERVISOR) do_notify_resume()
H A Dentry-avr32b.S311 andh r8, (MODE_MASK >> 16), COH
530 andh r4, (MODE_MASK >> 16), COH
/linux-4.4.14/arch/arm/include/uapi/asm/
H A Dptrace.h61 #define MODE_MASK 0x0000001f macro
/linux-4.4.14/arch/arm/kernel/
H A Dhyp-stub.S42 and \reg1, \reg1, #MODE_MASK
95 and r4, r4, #MODE_MASK
H A Dkgdb.c159 .cpsr_mask = MODE_MASK,
167 .cpsr_mask = MODE_MASK,
H A Dswp_emulate.c247 .cpsr_mask = MODE_MASK | PSR_T_BIT | PSR_J_BIT,
H A Dtcm.c247 .cpsr_mask = MODE_MASK,
H A Dsignal.c336 cpsr = (cpsr & ~MODE_MASK) | USR_MODE; setup_return()
H A Dsetup.c928 __boot_cpu_mode & MODE_MASK); hyp_mode_check()
/linux-4.4.14/arch/arm/probes/kprobes/
H A Dcore.c618 .cpsr_mask = MODE_MASK,
626 .cpsr_mask = MODE_MASK,
636 .cpsr_mask = MODE_MASK,
/linux-4.4.14/arch/arm/mach-omap2/
H A Domap-smp.c235 if ((__boot_cpu_mode & MODE_MASK) == HYP_MODE) omap4_smp_prepare_cpus()
/linux-4.4.14/arch/arm/vfp/
H A Dvfphw.S85 and r3, r3, #MODE_MASK @ are supported in kernel mode
/linux-4.4.14/drivers/gpu/drm/i915/
H A Dintel_bios.h297 #define MODE_MASK 0x3 macro
H A Dintel_bios.c197 >> (panel_type * 2)) & MODE_MASK; parse_lfp_panel_data()
/linux-4.4.14/arch/arm/boot/compressed/
H A Dhead.S418 and r0, r0, #MODE_MASK
551 and r0, r0, #MODE_MASK

Completed in 1002 milliseconds