Searched refs:pstate (Results 26 - 50 of 174) sorted by path

1234567

/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dcstep.c78 info->pstate = (nvbios_rd16(bios, data + 0x00) & 0x01e0) >> 5;
85 nvbios_cstepEm(struct nvkm_bios *bios, u8 pstate, u8 *ver, u8 *hdr, argument
90 if (info->pstate == pstate)
H A Dvpstate.c85 e->pstate = nvbios_rd08(b, offset);
/linux-master/arch/arm64/include/asm/
H A Ddaifflags.h129 unsigned long flags = regs->pstate & DAIF_MASK;
138 * We can't use local_daif_restore(regs->pstate) here as
H A Dkvm_emulate.h145 return (unsigned long *)&vcpu_gp_regs(vcpu)->pstate;
186 switch (ctxt->regs.pstate & (PSR_MODE32_BIT | PSR_MODE_MASK)) {
H A Dperf_event.h24 (regs)->pstate = PSR_MODE_EL1h; \
H A Dprocessor.h302 regs->pstate = PSR_MODE_EL0t;
312 regs->pstate = PSR_AA32_MODE_USR;
314 regs->pstate |= PSR_AA32_T_BIT;
317 regs->pstate |= PSR_AA32_E_BIT;
H A Dptrace.h151 unsigned long pstate; local
153 pstate = psr & ~COMPAT_PSR_DIT_BIT;
156 pstate |= PSR_AA32_DIT_BIT;
158 return pstate;
161 static inline unsigned long pstate_to_compat_psr(const unsigned long pstate) argument
165 psr = pstate & ~PSR_AA32_DIT_BIT;
167 if (pstate & PSR_AA32_DIT_BIT)
185 u64 pstate; member in struct:pt_regs::__anon16::__anon17
216 #define MAX_REG_OFFSET offsetof(struct pt_regs, pstate)
222 (((regs)->pstate
[all...]
H A Dsdei.h27 unsigned long pc, unsigned long pstate);
33 unsigned long pstate);
H A Dtraps.h133 if (regs->pstate & PSR_N_BIT) {
/linux-master/arch/arm64/include/uapi/asm/
H A Dptrace.h92 __u64 pstate; member in struct:user_pt_regs
H A Dsigcontext.h34 __u64 pstate; member in struct:sigcontext
/linux-master/arch/arm64/kernel/
H A Darmv8_deprecated.c174 switch (aarch32_check_condition(instr, regs->pstate)) {
256 switch (aarch32_check_condition(instr, regs->pstate)) {
357 regs->pstate |= PSR_AA32_E_BIT;
360 regs->pstate &= ~PSR_AA32_E_BIT;
H A Dasm-offsets.c79 DEFINE(S_PSTATE, offsetof(struct pt_regs, pstate));
H A Ddebug-monitors.c146 regs->pstate |= DBG_SPSR_SS;
152 regs->pstate &= ~DBG_SPSR_SS;
H A Dentry-common.c381 regs->pstate |= PSR_D_BIT;
H A Dkgdb.c63 { "pstate", 4, offsetof(struct pt_regs, pstate)
H A Dprocess.c160 u64 pstate = regs->pstate; local
163 printk("pstate: %08llx (%c%c%c%c %c %s %s %c%c%c %cDIT %cSSBS)\n",
164 pstate,
165 pstate & PSR_AA32_N_BIT ? 'N' : 'n',
166 pstate & PSR_AA32_Z_BIT ? 'Z' : 'z',
167 pstate & PSR_AA32_C_BIT ? 'C' : 'c',
168 pstate & PSR_AA32_V_BIT ? 'V' : 'v',
169 pstate & PSR_AA32_Q_BIT ? 'Q' : 'q',
170 pstate
[all...]
H A Dproton-pack.c533 regs->pstate |= PSR_SSBS_BIT;
535 regs->pstate &= ~PSR_SSBS_BIT;
649 regs->pstate |= bit;
651 regs->pstate &= ~bit;
H A Dptrace.c92 REG_OFFSET_NAME(pstate),
1651 return pstate_to_compat_psr(regs->pstate);
1713 newregs.pstate = reg;
1936 newregs.pstate = compat_psr_to_pstate(val);
2287 regs->pstate &= ~SPSR_EL1_AARCH32_RES0_BITS;
2291 regs->pstate |= PSR_AA32_E_BIT;
2293 regs->pstate &= ~PSR_AA32_E_BIT;
2296 if (user_mode(regs) && (regs->pstate & PSR_MODE32_BIT) &&
2297 (regs->pstate & PSR_AA32_A_BIT) == 0 &&
2298 (regs->pstate
[all...]
H A Dsdei.c244 mode = regs->pstate & (PSR_MODE32_BIT | PSR_MODE_MASK);
H A Dsignal.c827 __get_user_error(regs->pstate, &sf->uc.uc_mcontext.pstate, err);
1001 __put_user_error(regs->pstate, &sf->uc.uc_mcontext.pstate, err);
1155 regs->pstate &= ~PSR_BTYPE_MASK;
1156 regs->pstate |= PSR_BTYPE_C;
1160 regs->pstate &= ~PSR_TCO_BIT;
H A Dsignal32.c212 regs->pstate = compat_psr_to_pstate(psr);
320 compat_ulong_t spsr = regs->pstate & ~(PSR_f | PSR_AA32_E_BIT);
354 regs->pstate = spsr;
361 unsigned long psr = pstate_to_compat_psr(regs->pstate);
H A Dtraps.c52 static bool __kprobes __check_eq(unsigned long pstate) argument
54 return (pstate & PSR_Z_BIT) != 0;
57 static bool __kprobes __check_ne(unsigned long pstate) argument
59 return (pstate & PSR_Z_BIT) == 0;
62 static bool __kprobes __check_cs(unsigned long pstate) argument
64 return (pstate & PSR_C_BIT) != 0;
67 static bool __kprobes __check_cc(unsigned long pstate) argument
69 return (pstate & PSR_C_BIT) == 0;
72 static bool __kprobes __check_mi(unsigned long pstate) argument
74 return (pstate
77 __check_pl(unsigned long pstate) argument
82 __check_vs(unsigned long pstate) argument
87 __check_vc(unsigned long pstate) argument
92 __check_hi(unsigned long pstate) argument
98 __check_ls(unsigned long pstate) argument
104 __check_ge(unsigned long pstate) argument
110 __check_lt(unsigned long pstate) argument
116 __check_gt(unsigned long pstate) argument
125 __check_le(unsigned long pstate) argument
134 __check_al(unsigned long pstate) argument
313 u32 it, pstate = regs->pstate; local
[all...]
/linux-master/arch/arm64/kernel/probes/
H A Dkprobes.c182 kcb->saved_irqflag = regs->pstate & DAIF_MASK;
183 regs->pstate |= DAIF_MASK;
189 regs->pstate &= ~DAIF_MASK;
190 regs->pstate |= kcb->saved_irqflag;
H A Dsimulate-insn.c122 if (aarch32_opcode_cond_checks[opcode & 0xf](regs->pstate & 0xffffffff))

Completed in 228 milliseconds

1234567