Searched refs:pstate (Results 51 - 75 of 174) sorted by relevance

1234567

/linux-master/arch/sparc/prom/
H A Dcif.S8 #include <asm/pstate.h>
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
H A Dperf.h8 u8 pstate; member in struct:nvbios_perfE
/linux-master/arch/sparc/kernel/
H A Dktlb.S86 661: rdpr %pstate, %g5
87 wrpr %g5, PSTATE_AG | PSTATE_MG, %pstate
244 661: rdpr %pstate, %g5
245 wrpr %g5, PSTATE_AG | PSTATE_MG, %pstate
H A Dtsb.S147 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 Dsmp_64.c396 static void spitfire_xcall_helper(u64 data0, u64 data1, u64 data2, u64 pstate, unsigned long cpu) argument
419 "wrpr %1, %2, %%pstate\n\t"
431 : "r" (pstate), "i" (PSTATE_IE), "i" (ASI_INTR_W),
443 __asm__ __volatile__("wrpr %0, 0x0, %%pstate"
444 : : "r" (pstate));
451 __asm__ __volatile__("wrpr %0, 0x0, %%pstate"
452 : : "r" (pstate));
466 u64 pstate; local
469 __asm__ __volatile__("rdpr %%pstate, %0" : "=r" (pstate));
486 u64 *mondo, pstate, ver, busy_mask; local
1308 unsigned long pstate; local
[all...]
H A Durtt_fill.S53 661: wrpr %g0, RTRAP_PSTATE, %pstate
57 wrpr %g0, RTRAP_PSTATE|PSTATE_MCDE, %pstate
/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 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;
/linux-master/drivers/cpufreq/
H A DMakefile21 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
H A Damd-pstate-trace.h3 * amd-pstate-trace.h - AMD Processor P-state Frequency Driver Tracer
21 #define TRACE_INCLUDE_FILE amd-pstate-trace
/linux-master/drivers/gpu/drm/tidss/
H A Dtidss_crtc.c134 struct drm_plane_state *pstate; local
139 for_each_new_plane_in_state(ostate, plane, pstate, i) {
140 if (pstate->crtc != crtc || !pstate->visible)
143 if (pstate->normalized_zpos == layer) {
154 pstate->crtc_x, pstate->crtc_y,
/linux-master/drivers/thermal/intel/
H A Dtherm_throt.c379 struct thermal_state *pstate = &per_cpu(thermal_state, this_cpu); local
384 state = &pstate->core_throttle;
386 state = &pstate->core_power_limit;
391 state = &pstate->package_throttle;
393 state = &pstate->package_power_limit;
439 struct thermal_state *pstate = &per_cpu(thermal_state, this_cpu); local
443 state = (event == 0) ? &pstate->pkg_thresh0 :
444 &pstate->pkg_thresh1;
446 state = (event == 0) ? &pstate->core_thresh0 :
447 &pstate
[all...]
/linux-master/arch/sparc/mm/
H A Dultra.S60 rdpr %pstate, %g7
62 wrpr %g2, %pstate
77 wrpr %g7, 0x0, %pstate
87 rdpr %pstate, %g7
90 wrpr %g2, %pstate
109 wrpr %g7, 0x0, %pstate
174 rdpr %pstate, %g1
175 wrpr %g1, PSTATE_IE, %pstate
184 wrpr %g1, 0, %pstate
251 rdpr %pstate,
[all...]
/linux-master/net/netlink/
H A Dpolicy.c116 * @pstate: state to add to, may be reallocated, must be %NULL the first time
127 int netlink_policy_dump_add_policy(struct netlink_policy_dump_state **pstate, argument
131 struct netlink_policy_dump_state *state = *pstate;
176 *pstate = state;
183 if (!*pstate)
186 *pstate = state;
/linux-master/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_crtc.c218 struct mdp5_plane_state *pstate, *pstates[STAGE_MAX + 1] = {NULL}; local
249 pstate = to_mdp5_plane_state(plane->state);
250 pstates[pstate->stage] = pstate;
251 stage[pstate->stage][PIPE_LEFT] = mdp5_plane_pipe(plane);
257 r_stage[pstate->stage][PIPE_LEFT] =
266 stage[pstate->stage][PIPE_RIGHT] = right_pipe;
267 r_stage[pstate->stage][PIPE_RIGHT] = right_pipe;
663 struct drm_plane_state *pstate)
665 return (pstate
662 is_fullscreen(struct drm_crtc_state *cstate, struct drm_plane_state *pstate) argument
705 const struct drm_plane_state *pstate; local
[all...]
/linux-master/arch/sparc/power/
H A Dhibernate_asm.S31 rdpr %pstate, %g2
111 wrpr %g2, %pstate
/linux-master/tools/testing/selftests/arm64/bti/
H A Dtest.c85 write(1, &"00011011"[((uc->uc_mcontext.pstate & PSR_BTYPE_MASK)
101 uc->uc_mcontext.pstate &= ~PSR_BTYPE_MASK;
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dvpstate.c85 e->pstate = nvbios_rd08(b, offset);
/linux-master/arch/arm64/kernel/probes/
H A Dkprobes.c189 kcb->saved_irqflag = regs->pstate & DAIF_MASK;
190 regs->pstate |= DAIF_MASK;
196 regs->pstate &= ~DAIF_MASK;
197 regs->pstate |= kcb->saved_irqflag;
/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/gpu/drm/rockchip/
H A Drockchip_drm_vop2.c570 static bool vop2_half_block_enable(struct drm_plane_state *pstate) argument
572 if (pstate->rotation & (DRM_MODE_ROTATE_270 | DRM_MODE_ROTATE_90))
578 static u32 vop2_afbc_transform_offset(struct drm_plane_state *pstate, argument
581 struct drm_rect *src = &pstate->src;
582 struct drm_framebuffer *fb = pstate->fb;
607 switch (pstate->rotation &
663 struct drm_plane_state *pstate)
665 if ((pstate->rotation & DRM_MODE_ROTATE_270) ||
666 (pstate->rotation & DRM_MODE_ROTATE_90))
853 struct drm_plane_state *pstate)
662 vop2_get_cluster_lb_mode(struct vop2_win *win, struct drm_plane_state *pstate) argument
851 vop2_setup_csc_mode(struct vop2_video_port *vp, struct vop2_win *win, struct drm_plane_state *pstate) argument
1055 struct drm_plane_state *pstate = drm_atomic_get_new_plane_state(astate, plane); local
1148 struct drm_plane_state *pstate = plane->state; local
1195 struct drm_plane_state *pstate = plane->state; local
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_xgmi.c665 hive->pstate = AMDGPU_XGMI_PSTATE_UNKNOWN;
669 * hive pstate on boot is high in vega20 so we have to go to low
670 * pstate on after boot.
688 int amdgpu_xgmi_set_pstate(struct amdgpu_device *adev, int pstate) argument
693 bool is_hi_req = pstate == AMDGPU_XGMI_PSTATE_MAX_VEGA20;
701 init_low = hive->pstate == AMDGPU_XGMI_PSTATE_UNKNOWN;
703 /* fw bug so temporarily disable pstate switching */
717 * Vega20 only needs single peer to request pstate high for the hive to
718 * go high but all peers must request pstate low for the hive to go low
720 if (hive->pstate
[all...]
/linux-master/drivers/gpu/drm/pl111/
H A Dpl111_display.c86 struct drm_plane_state *pstate,
91 struct drm_framebuffer *fb = pstate->fb;
97 u32 offset = drm_fb_dma_get_gem_addr(fb, pstate, 0);
397 struct drm_plane_state *pstate = plane->state; local
398 struct drm_framebuffer *fb = pstate->fb;
401 u32 addr = drm_fb_dma_get_gem_addr(fb, pstate, 0);
85 pl111_display_check(struct drm_simple_display_pipe *pipe, struct drm_plane_state *pstate, struct drm_crtc_state *cstate) argument
/linux-master/arch/sparc/include/asm/
H A Dhead_64.h5 #include <asm/pstate.h>
H A Dprocessor_64.h12 #include <asm/pstate.h>

Completed in 294 milliseconds

1234567