| /kernel/linux/linux-5.10/arch/arm64/kernel/ |
| H A D | traps.c | 221 u32 it, pstate = regs->pstate; in compat_get_it_state() local 223 it = (pstate & PSTATE_IT_1_0_MASK) >> PSTATE_IT_1_0_SHIFT; in compat_get_it_state() 224 it |= ((pstate & PSTATE_IT_7_2_MASK) >> PSTATE_IT_7_2_SHIFT) << 2; in compat_get_it_state() 236 regs->pstate &= ~PSR_AA32_IT_MASK; in compat_set_it_state() 237 regs->pstate |= pstate_it; in compat_set_it_state() 245 if (!(regs->pstate & PSR_AA32_T_BIT) || in advance_itstate() 246 !(regs->pstate & PSR_AA32_IT_MASK)) in advance_itstate() 282 regs->pstate &= ~PSR_BTYPE_MASK; in arm64_skip_faulting_instruction() 594 return aarch32_opcode_cond_checks[cond](regs->pstate); in cp15_cond_valid() [all...] |
| /kernel/linux/linux-6.6/arch/arm64/kvm/ |
| H A D | fpsimd.c | 101 * If PSTATE.SM is enabled then save any pending FP in kvm_arch_vcpu_load_fp() 102 * state and disable PSTATE.SM. If we leave PSTATE.SM in kvm_arch_vcpu_load_fp() 108 * Do the same for PSTATE.ZA in the case where there in kvm_arch_vcpu_load_fp()
|
| /kernel/linux/linux-5.10/samples/kprobes/ |
| H A D | kprobe_example.c | 44 " pstate = 0x%lx\n", in handler_pre() 45 p->symbol_name, p->addr, (long)regs->pc, (long)regs->pstate); in handler_pre() 73 pr_info("<%s> post_handler: p->addr = 0x%p, pstate = 0x%lx\n", in handler_post() 74 p->symbol_name, p->addr, (long)regs->pstate); in handler_post()
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/ |
| H A D | dm_pp_smu.h | 30 * interface to PPLIB/SMU to setup clocks and pstate requirements on SoC 232 * to perform pstate handshaking in its current state. Typically this handshake 233 * is used to perform uCLK switching, so disabling pstate disables uCLK switching. 236 * DC will make the call BEFORE setting up the display state which would cause pstate
|
| /kernel/linux/linux-6.6/drivers/cpufreq/ |
| H A D | Makefile | 21 CFLAGS_amd-pstate-trace.o := -I$(src) 22 amd_pstate-y := amd-pstate.o amd-pstate-trace.o 33 obj-$(CONFIG_X86_AMD_PSTATE_UT) += amd-pstate-ut.o
|
| /kernel/linux/linux-6.6/samples/kprobes/ |
| H A D | kprobe_example.c | 43 pr_info("<%s> p->addr = 0x%p, pc = 0x%lx, pstate = 0x%lx\n", in handler_pre() 44 p->symbol_name, p->addr, (long)regs->pc, (long)regs->pstate); in handler_pre() 84 pr_info("<%s> p->addr = 0x%p, pstate = 0x%lx\n", in handler_post() 85 p->symbol_name, p->addr, (long)regs->pstate); in handler_post()
|
| /kernel/linux/linux-5.10/tools/testing/selftests/arm64/signal/testcases/ |
| H A D | mangle_pstate_invalid_mode_template.h | 15 uc->uc_mcontext.pstate &= ~PSR_MODE_MASK; \ 16 uc->uc_mcontext.pstate |= PSR_MODE_EL ## _mode; \
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
| H A D | cstep.h | 8 u8 pstate; member 15 u32 nvbios_cstepEm(struct nvkm_bios *, u8 pstate, u8 *ver, u8 *hdr,
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
| H A D | cstep.h | 8 u8 pstate; member 15 u32 nvbios_cstepEm(struct nvkm_bios *, u8 pstate, u8 *ver, u8 *hdr,
|
| /kernel/linux/linux-6.6/tools/testing/selftests/arm64/signal/testcases/ |
| H A D | mangle_pstate_invalid_mode_template.h | 15 uc->uc_mcontext.pstate &= ~PSR_MODE_MASK; \ 16 uc->uc_mcontext.pstate |= PSR_MODE_EL ## _mode; \
|
| /kernel/linux/linux-5.10/arch/sparc/kernel/ |
| H A D | tsb.S | 147 661: rdpr %pstate, %g5 148 wrpr %g5, PSTATE_AG | PSTATE_MG, %pstate 254 661: rdpr %pstate, %g5 255 wrpr %g5, PSTATE_AG | PSTATE_MG, %pstate 320 rdpr %pstate, %o5 321 wrpr %o5, PSTATE_IE, %pstate 324 wrpr %o5, %pstate 374 rdpr %pstate, %g1 375 wrpr %g1, PSTATE_IE, %pstate 457 wrpr %g1, %pstate [all...] |
| H A D | hvtramp.S | 13 #include <asm/pstate.h> 82 wrpr %g0, (PSTATE_PRIV | PSTATE_PEF), %pstate 125 wrpr %g0, (PSTATE_PRIV | PSTATE_PEF | PSTATE_IE), %pstate
|
| H A D | etrap_64.S | 11 #include <asm/pstate.h> 138 661: wrpr %g0, ETRAP_PSTATE1, %pstate 157 * the ADI security, we must enable PSTATE.mcde. Userspace 160 * dereferenced. Setting PSTATE.mcde would ensure any 163 * using system calls. Setting PSTATE.mcde only affects
|
| /kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/ |
| H A D | therm_throt.c | 318 struct thermal_state *pstate = &per_cpu(thermal_state, this_cpu); in therm_throt_process() local 323 state = &pstate->core_throttle; in therm_throt_process() 325 state = &pstate->core_power_limit; in therm_throt_process() 330 state = &pstate->package_throttle; in therm_throt_process() 332 state = &pstate->package_power_limit; in therm_throt_process() 378 struct thermal_state *pstate = &per_cpu(thermal_state, this_cpu); in thresh_event_valid() local 382 state = (event == 0) ? &pstate->pkg_thresh0 : in thresh_event_valid() 383 &pstate->pkg_thresh1; in thresh_event_valid() 385 state = (event == 0) ? &pstate->core_thresh0 : in thresh_event_valid() 386 &pstate in thresh_event_valid() [all...] |
| /kernel/linux/linux-6.6/arch/sparc/kernel/ |
| H A D | tsb.S | 147 661: rdpr %pstate, %g5 148 wrpr %g5, PSTATE_AG | PSTATE_MG, %pstate 254 661: rdpr %pstate, %g5 255 wrpr %g5, PSTATE_AG | PSTATE_MG, %pstate 320 rdpr %pstate, %o5 321 wrpr %o5, PSTATE_IE, %pstate 324 wrpr %o5, %pstate 374 rdpr %pstate, %g1 375 wrpr %g1, PSTATE_IE, %pstate 457 wrpr %g1, %pstate [all...] |
| H A D | hvtramp.S | 13 #include <asm/pstate.h> 82 wrpr %g0, (PSTATE_PRIV | PSTATE_PEF), %pstate 125 wrpr %g0, (PSTATE_PRIV | PSTATE_PEF | PSTATE_IE), %pstate
|
| H A D | etrap_64.S | 11 #include <asm/pstate.h> 138 661: wrpr %g0, ETRAP_PSTATE1, %pstate 157 * the ADI security, we must enable PSTATE.mcde. Userspace 160 * dereferenced. Setting PSTATE.mcde would ensure any 163 * using system calls. Setting PSTATE.mcde only affects
|
| /kernel/linux/linux-6.6/drivers/thermal/intel/ |
| H A D | therm_throt.c | 379 struct thermal_state *pstate = &per_cpu(thermal_state, this_cpu); in therm_throt_process() local 384 state = &pstate->core_throttle; in therm_throt_process() 386 state = &pstate->core_power_limit; in therm_throt_process() 391 state = &pstate->package_throttle; in therm_throt_process() 393 state = &pstate->package_power_limit; in therm_throt_process() 439 struct thermal_state *pstate = &per_cpu(thermal_state, this_cpu); in thresh_event_valid() local 443 state = (event == 0) ? &pstate->pkg_thresh0 : in thresh_event_valid() 444 &pstate->pkg_thresh1; in thresh_event_valid() 446 state = (event == 0) ? &pstate->core_thresh0 : in thresh_event_valid() 447 &pstate in thresh_event_valid() [all...] |
| /kernel/linux/linux-5.10/arch/sparc/lib/ |
| H A D | clear_page.S | 66 rdpr %pstate, %o4 67 wrpr %o4, PSTATE_IE, %pstate 72 wrpr %o4, 0x0, %pstate
|
| /kernel/linux/linux-6.6/arch/sparc/lib/ |
| H A D | clear_page.S | 66 rdpr %pstate, %o4 67 wrpr %o4, PSTATE_IE, %pstate 72 wrpr %o4, 0x0, %pstate
|
| /kernel/linux/linux-6.6/arch/arm64/kvm/hyp/include/hyp/ |
| H A D | adjust_pc.h | 36 vcpu_gp_regs(vcpu)->pstate = read_sysreg_el2(SYS_SPSR); in __kvm_skip_instr() 40 write_sysreg_el2(vcpu_gp_regs(vcpu)->pstate, SYS_SPSR); in __kvm_skip_instr()
|
| /kernel/linux/linux-6.6/arch/arm64/kernel/ |
| H A D | ptrace.c | 91 REG_OFFSET_NAME(pstate), 1111 * Only flush the storage if PSTATE.ZA was not already set, in za_set() 1160 * If PSTATE.ZA is not set then ZT will be zeroed when it is in zt_get() 1613 return pstate_to_compat_psr(regs->pstate); in compat_get_user_reg() 1675 newregs.pstate = reg; in compat_gpr_set() 1897 newregs.pstate = compat_psr_to_pstate(val); in compat_ptrace_write_user() 2249 regs->pstate &= ~SPSR_EL1_AARCH32_RES0_BITS; in valid_compat_regs() 2253 regs->pstate |= PSR_AA32_E_BIT; in valid_compat_regs() 2255 regs->pstate &= ~PSR_AA32_E_BIT; in valid_compat_regs() 2258 if (user_mode(regs) && (regs->pstate in valid_compat_regs() [all...] |
| /third_party/backends/backend/ |
| H A D | u12-hw.c | 357 u_short *pState = (u_short*)dev->scanStates; local 360 pState[i] = 0x89ac; 364 u_long *pState = (u_long*)dev->scanStates; local 367 pState[i] = 0x888889ac; 479 SANE_Byte *pState; local 630 for( channel = _NUMBER_OF_SCANSTEPS, pState = dev->bufs.b1.pReadBuf; 632 *pState = state; 633 pState += dev->scan.dwInterval; 635 for( channel = 0, pState = dev->bufs.b1.pReadBuf; 637 dev->scanStates[channel] = pState[ [all...] |
| /kernel/linux/linux-5.10/arch/arm64/kvm/ |
| H A D | reset.c | 269 u32 pstate; in kvm_reset_vcpu() local 310 pstate = VCPU_RESET_PSTATE_SVC; in kvm_reset_vcpu() 312 pstate = VCPU_RESET_PSTATE_EL1; in kvm_reset_vcpu() 325 vcpu_gp_regs(vcpu)->pstate = pstate; in kvm_reset_vcpu()
|
| /kernel/linux/linux-6.6/tools/testing/selftests/amd-pstate/ |
| H A D | run.sh | 15 # amd-pstate-ut only run on x86/x86_64 AMD systems. 34 CURRENT_TEST=amd-pstate 39 all_scaling_names=("acpi-cpufreq" "amd-pstate") 116 # All amd-pstate tests 131 # unit test for amd-pstate kernel driver
|