/kernel/linux/linux-6.6/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_vop2.c | 481 static u32 vop2_afbc_transform_offset(struct drm_plane_state *pstate, in vop2_afbc_transform_offset() argument 484 struct drm_rect *src = &pstate->src; in vop2_afbc_transform_offset() 485 struct drm_framebuffer *fb = pstate->fb; in vop2_afbc_transform_offset() 510 switch (pstate->rotation & in vop2_afbc_transform_offset() 566 struct drm_plane_state *pstate) in vop2_get_cluster_lb_mode() 568 if ((pstate->rotation & DRM_MODE_ROTATE_270) || in vop2_get_cluster_lb_mode() 569 (pstate->rotation & DRM_MODE_ROTATE_90)) in vop2_get_cluster_lb_mode() 756 struct drm_plane_state *pstate) in vop2_setup_csc_mode() 759 int is_input_yuv = pstate->fb->format->is_yuv; in vop2_setup_csc_mode() 937 struct drm_plane_state *pstate in vop2_plane_atomic_check() local 565 vop2_get_cluster_lb_mode(struct vop2_win *win, struct drm_plane_state *pstate) vop2_get_cluster_lb_mode() argument 754 vop2_setup_csc_mode(struct vop2_video_port *vp, struct vop2_win *win, struct drm_plane_state *pstate) vop2_setup_csc_mode() argument 1030 struct drm_plane_state *pstate = plane->state; vop2_plane_setup_color_key() local 1077 struct drm_plane_state *pstate = plane->state; vop2_plane_atomic_update() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_crtc.c | 220 struct mdp5_plane_state *pstate, *pstates[STAGE_MAX + 1] = {NULL}; in blend_setup() local 251 pstate = to_mdp5_plane_state(plane->state); in blend_setup() 252 pstates[pstate->stage] = pstate; in blend_setup() 253 stage[pstate->stage][PIPE_LEFT] = mdp5_plane_pipe(plane); in blend_setup() 259 r_stage[pstate->stage][PIPE_LEFT] = in blend_setup() 268 stage[pstate->stage][PIPE_RIGHT] = right_pipe; in blend_setup() 269 r_stage[pstate->stage][PIPE_RIGHT] = right_pipe; in blend_setup() 665 struct drm_plane_state *pstate) in is_fullscreen() 667 return (pstate in is_fullscreen() 664 is_fullscreen(struct drm_crtc_state *cstate, struct drm_plane_state *pstate) is_fullscreen() argument 707 const struct drm_plane_state *pstate; mdp5_crtc_atomic_check() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | boost.c | 81 info->pstate = (nvbios_rd16(bios, data + 0x00) & 0x01e0) >> 5; in nvbios_boostEp() 89 nvbios_boostEm(struct nvkm_bios *bios, u8 pstate, in nvbios_boostEm() argument 94 if (info->pstate == pstate) in nvbios_boostEm()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | boost.c | 81 info->pstate = (nvbios_rd16(bios, data + 0x00) & 0x01e0) >> 5; in nvbios_boostEp() 89 nvbios_boostEm(struct nvkm_bios *bios, u8 pstate, in nvbios_boostEm() argument 94 if (info->pstate == pstate) in nvbios_boostEm()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_crtc.c | 217 struct mdp5_plane_state *pstate, *pstates[STAGE_MAX + 1] = {NULL}; in blend_setup() local 248 pstate = to_mdp5_plane_state(plane->state); in blend_setup() 249 pstates[pstate->stage] = pstate; in blend_setup() 250 stage[pstate->stage][PIPE_LEFT] = mdp5_plane_pipe(plane); in blend_setup() 256 r_stage[pstate->stage][PIPE_LEFT] = in blend_setup() 265 stage[pstate->stage][PIPE_RIGHT] = right_pipe; in blend_setup() 266 r_stage[pstate->stage][PIPE_RIGHT] = right_pipe; in blend_setup() 660 struct drm_plane_state *pstate) in is_fullscreen() 662 return (pstate in is_fullscreen() 659 is_fullscreen(struct drm_crtc_state *cstate, struct drm_plane_state *pstate) is_fullscreen() argument 698 const struct drm_plane_state *pstate; mdp5_crtc_atomic_check() local [all...] |
/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-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-6.6/drivers/pmdomain/apple/ |
H A D | pmgr-pwrstate.c | 52 static int apple_pmgr_ps_set(struct generic_pm_domain *genpd, u32 pstate, bool auto_enable) in apple_pmgr_ps_set() argument 63 if (reg & APPLE_PMGR_RESET && pstate != APPLE_PMGR_PS_ACTIVE) in apple_pmgr_ps_set() 68 reg |= FIELD_PREP(APPLE_PMGR_PS_TARGET, pstate); in apple_pmgr_ps_set() 70 dev_dbg(ps->dev, "PS %s: pwrstate = 0x%x: 0x%x\n", genpd->name, pstate, reg); in apple_pmgr_ps_set() 76 (FIELD_GET(APPLE_PMGR_PS_ACTUAL, reg) == pstate), 1, in apple_pmgr_ps_set() 80 genpd->name, pstate, reg); in apple_pmgr_ps_set()
|
/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-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
|
/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
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_xgmi.c | 554 hive->pstate = AMDGPU_XGMI_PSTATE_UNKNOWN; in amdgpu_get_xgmi_hive() 558 * hive pstate on boot is high in vega20 so we have to go to low in amdgpu_get_xgmi_hive() 559 * pstate on after boot. in amdgpu_get_xgmi_hive() 577 int amdgpu_xgmi_set_pstate(struct amdgpu_device *adev, int pstate) in amdgpu_xgmi_set_pstate() argument 582 bool is_hi_req = pstate == AMDGPU_XGMI_PSTATE_MAX_VEGA20; in amdgpu_xgmi_set_pstate() 590 init_low = hive->pstate == AMDGPU_XGMI_PSTATE_UNKNOWN; in amdgpu_xgmi_set_pstate() 592 /* fw bug so temporarily disable pstate switching */ in amdgpu_xgmi_set_pstate() 606 * Vega20 only needs single peer to request pstate high for the hive to in amdgpu_xgmi_set_pstate() 607 * go high but all peers must request pstate low for the hive to go low in amdgpu_xgmi_set_pstate() 609 if (hive->pstate in amdgpu_xgmi_set_pstate() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_core_perf.c | 43 struct dpu_plane_state *pstate; in _dpu_core_perf_calc_bw() local 48 pstate = to_dpu_plane_state(plane->state); in _dpu_core_perf_calc_bw() 49 if (!pstate) in _dpu_core_perf_calc_bw() 52 crtc_plane_bw += pstate->plane_fetch_bw; in _dpu_core_perf_calc_bw() 75 struct dpu_plane_state *pstate; in _dpu_core_perf_calc_clk() local 85 pstate = to_dpu_plane_state(plane->state); in _dpu_core_perf_calc_clk() 86 if (!pstate) in _dpu_core_perf_calc_clk() 89 crtc_clk = max(pstate->plane_clk, crtc_clk); in _dpu_core_perf_calc_clk()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_core_perf.c | 44 struct dpu_plane_state *pstate; in _dpu_core_perf_calc_bw() local 49 pstate = to_dpu_plane_state(plane->state); in _dpu_core_perf_calc_bw() 50 if (!pstate) in _dpu_core_perf_calc_bw() 53 crtc_plane_bw += pstate->plane_fetch_bw; in _dpu_core_perf_calc_bw() 76 struct dpu_plane_state *pstate; in _dpu_core_perf_calc_clk() local 86 pstate = to_dpu_plane_state(plane->state); in _dpu_core_perf_calc_clk() 87 if (!pstate) in _dpu_core_perf_calc_clk() 90 crtc_clk = max(pstate->plane_clk, crtc_clk); in _dpu_core_perf_calc_clk()
|
/kernel/linux/linux-6.6/arch/arm64/include/asm/ |
H A D | sdei.h | 27 unsigned long pc, unsigned long pstate); 33 unsigned long 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()
|
/third_party/libsnd/src/G72x/ |
H A D | g72x.h | 75 int g72x_decode_block (struct g72x_state *pstate, const unsigned char *block, short *samples) ; 83 int g72x_encode_block (struct g72x_state *pstate, short *samples, unsigned char *block) ;
|
/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/drivers/clk/tegra/ |
H A D | clk-device.c | 35 unsigned int pstate; in tegra_clock_set_pd_state() local 56 pstate = dev_pm_opp_get_required_pstate(opp, 0); in tegra_clock_set_pd_state() 59 return dev_pm_genpd_set_performance_state(dev, pstate); in tegra_clock_set_pd_state()
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
H A D | sdei.h | 27 unsigned long pc, unsigned long pstate); 33 unsigned long pstate);
|
/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,
|