Searched refs:pstate (Results 1 - 25 of 174) sorted by last modified time

1234567

/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_core_perf.c44 struct dpu_plane_state *pstate; local
49 pstate = to_dpu_plane_state(plane->state);
50 if (!pstate)
53 crtc_plane_bw += pstate->plane_fetch_bw;
76 struct dpu_plane_state *pstate; local
86 pstate = to_dpu_plane_state(plane->state);
87 if (!pstate)
90 crtc_clk = max(pstate->plane_clk, crtc_clk);
/linux-master/drivers/gpu/drm/amd/pm/swsmu/inc/
H A Damdgpu_smu.h1119 * @set_xgmi_pstate: Set inter-chip global memory interconnect pstate.
1120 * &pstate: Pstate to set. D0 if Nonzero, D3 otherwise.
1122 int (*set_xgmi_pstate)(struct smu_context *smu, uint32_t pstate);
/linux-master/drivers/gpu/drm/amd/pm/swsmu/
H A Damdgpu_smu.c2163 /* enter umd pstate, save current level, disable gfx cg*/
2172 /* exit umd pstate, restore level, enable gfx cg*/
3209 uint32_t pstate)
3218 ret = smu->ppt_funcs->set_xgmi_pstate(smu, pstate);
3221 dev_err(smu->adev->dev, "Failed to set XGMI pstate!\n");
3208 smu_set_xgmi_pstate(void *handle, uint32_t pstate) argument
/linux-master/arch/arm64/kernel/
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...]
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_attr.c1649 uint32_t pstate; local
1652 pstate = qlafx00_fw_state_show(dev, attr, buf);
1653 return scnprintf(buf, PAGE_SIZE, "0x%x\n", pstate);
/linux-master/tools/testing/selftests/
H A DMakefile3 TARGETS += amd-pstate
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c6178 ramrod_param.pstate = &bp->sp_state;
/linux-master/arch/s390/include/asm/
H A Dptrace.h69 unsigned long pstate : 1; /* Problem State */ member in struct:psw_bits
/linux-master/tools/testing/selftests/kvm/lib/aarch64/
H A Dprocessor.c359 uint64_t pstate, pc; local
361 vcpu_get_reg(vcpu, ARM64_CORE_REG(regs.pstate), &pstate);
365 indent, "", pstate, pc);
/linux-master/tools/testing/selftests/kvm/include/aarch64/
H A Dprocessor.h71 u64 pstate; member in struct:ex_regs
/linux-master/tools/testing/selftests/kvm/aarch64/
H A Ddebug-exceptions.c356 regs->pstate |= SPSR_D;
363 regs->pstate |= SPSR_D;
370 regs->pstate |= SPSR_SS;
/linux-master/arch/sparc/kernel/
H A Dpci_schizo.c22 #include <asm/pstate.h>
H A Dirq_64.c817 unsigned long pstate, bucket_pa; local
827 __asm__ __volatile__("rdpr %%pstate, %0\n\t"
828 "wrpr %0, %3, %%pstate\n\t"
831 "wrpr %0, 0x0, %%pstate\n\t"
832 : "=&r" (pstate), "=&r" (bucket_pa)
1151 __asm__ __volatile__("rdpr %%pstate, %%g1\n\t"
1153 "wrpr %%g1, 0x0, %%pstate"
/linux-master/arch/s390/kvm/
H A Dpriv.c442 if (psw_bits(vcpu->arch.sie_block->gpsw).pstate)
/linux-master/arch/arm64/kvm/hyp/include/hyp/
H A Dsysreg-sr.h101 ctxt->regs.pstate = read_sysreg_el2(SYS_SPSR);
190 u64 mode = ctxt->regs.pstate & (PSR_MODE_MASK | PSR_MODE32_BIT);
201 return (ctxt->regs.pstate & ~(PSR_MODE_MASK | PSR_MODE32_BIT)) | mode;
206 u64 pstate = to_hw_pstate(ctxt); local
207 u64 mode = pstate & PSR_AA32_MODE_MASK;
221 pstate = PSR_MODE_EL2h | PSR_IL_BIT;
224 write_sysreg_el2(pstate, SYS_SPSR);
H A Dswitch.h681 * unchanged from the value in vcpu_gp_regs(vcpu)->pstate.
691 vcpu->arch.ctxt.regs.pstate = read_sysreg_el2(SYS_SPSR);
/linux-master/arch/arm64/kvm/
H A Dguest.c85 case KVM_REG_ARM_CORE_REG(regs.pstate):
145 case KVM_REG_ARM_CORE_REG(regs.pstate):
146 return &vcpu->arch.ctxt.regs.pstate;
242 if (off == KVM_REG_ARM_CORE_REG(regs.pstate)) {
H A Demulate-nested.c2225 u64 pstate, mode; local
2241 pstate = *vcpu_cpsr(vcpu);
2242 mode = pstate & (PSR_MODE_MASK | PSR_MODE32_BIT);
/linux-master/arch/arm64/include/asm/
H A Dkvm_emulate.h155 return (unsigned long *)&vcpu_gp_regs(vcpu)->pstate;
196 switch (ctxt->regs.pstate & (PSR_MODE32_BIT | PSR_MODE_MASK)) {
/linux-master/include/uapi/drm/
H A Damdgpu_drm.h276 /* select a stable profiling pstate for perfmon tools */
312 } pstate; member in union:drm_amdgpu_ctx_out
860 /* Subquery id: Query GPU stable pstate shader clock */
862 /* Subquery id: Query GPU stable pstate memory clock */
864 /* Subquery id: Query GPU peak pstate shader clock */
866 /* Subquery id: Query GPU peak pstate memory clock */
/linux-master/include/linux/
H A Dpm_opp.h191 int dev_pm_opp_xlate_performance_state(struct opp_table *src_table, struct opp_table *dst_table, unsigned int pstate);
410 static inline int dev_pm_opp_xlate_performance_state(struct opp_table *src_table, struct opp_table *dst_table, unsigned int pstate) argument
/linux-master/drivers/regulator/
H A Dpwm-regulator.c86 struct pwm_state pstate; local
89 pwm_init_state(drvdata->pwm, &pstate);
90 pwm_set_relative_duty_cycle(&pstate,
93 ret = pwm_apply_might_sleep(drvdata->pwm, &pstate);
154 struct pwm_state pstate; local
158 pwm_get_state(drvdata->pwm, &pstate);
160 if (!pstate.enabled) {
161 if (pstate.polarity == PWM_POLARITY_INVERSED)
162 pstate.duty_cycle = pstate
201 struct pwm_state pstate; local
328 struct pwm_state pstate; local
[all...]
/linux-master/drivers/pmdomain/
H A Dcore.c303 unsigned int pstate)
306 return pstate;
310 pstate);
2771 int pstate; local
2801 pstate = of_get_required_opp_performance_state(dev->of_node, index);
2802 if (pstate < 0 && pstate != -ENODEV && pstate != -EOPNOTSUPP) {
2803 ret = pstate;
2805 } else if (pstate >
301 genpd_xlate_performance_state(struct generic_pm_domain *genpd, struct generic_pm_domain *parent, unsigned int pstate) argument
[all...]
/linux-master/drivers/opp/
H A Dcore.c2761 * dev_pm_opp_xlate_performance_state() - Find required OPP's pstate for src_table.
2764 * @pstate: Current performance state of the src_table.
2766 * This Returns pstate of the OPP (present in @dst_table) pointed out by the
2768 * performance state set to @pstate.
2775 unsigned int pstate)
2786 * pstate of the src_table as it is in such cases.
2789 return pstate;
2815 if (opp->level == pstate) {
2773 dev_pm_opp_xlate_performance_state(struct opp_table *src_table, struct opp_table *dst_table, unsigned int pstate) argument
/linux-master/drivers/gpu/drm/vc4/
H A Dvc4_plane.c391 static int vc4_plane_margins_adj(struct drm_plane_state *pstate) argument
393 struct vc4_plane_state *vc4_pstate = to_vc4_plane_state(pstate);
397 crtc_state = drm_atomic_get_new_crtc_state(pstate->state,
398 pstate->crtc);

Completed in 489 milliseconds

1234567