Home
last modified time | relevance | path

Searched full:pstate (Results 76 - 100 of 639) sorted by relevance

12345678910>>...26

/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dcstep.c78 info->pstate = (nvbios_rd16(bios, data + 0x00) & 0x01e0) >> 5; in nvbios_cstepEp()
85 nvbios_cstepEm(struct nvkm_bios *bios, u8 pstate, u8 *ver, u8 *hdr, in nvbios_cstepEm() argument
90 if (info->pstate == pstate) in nvbios_cstepEm()
/third_party/skia/tools/skpbench/
H A D_hardware_pixel_c.py10 # If you run adb cat /sys/devices/57000000.gpu/pstate it shows all
45 chown root:root /sys/devices/57000000.gpu/pstate
46 echo %s > /sys/devices/57000000.gpu/pstate''' % GPU_EMC_PROFILE_ID]))
73 cat /sys/devices/57000000.gpu/pstate | grep \*$''')
/kernel/linux/linux-5.10/drivers/cpufreq/
H A Dbrcmstb-avs-cpufreq.c388 static int brcm_avs_get_pstate(struct private_data *priv, unsigned int *pstate) in brcm_avs_get_pstate() argument
396 *pstate = args[0]; in brcm_avs_get_pstate()
401 static int brcm_avs_set_pstate(struct private_data *priv, unsigned int pstate) in brcm_avs_set_pstate() argument
405 args[0] = pstate; in brcm_avs_set_pstate()
429 unsigned int pstate; in brcm_avs_get_freq_table() local
433 ret = brcm_avs_get_pstate(priv, &pstate); in brcm_avs_get_freq_table()
456 ret = brcm_avs_set_pstate(priv, pstate); in brcm_avs_get_freq_table()
641 unsigned int pstate; in brcm_avs_cpufreq_init() local
643 ret = brcm_avs_get_pstate(priv, &pstate); in brcm_avs_cpufreq_init()
645 policy->cur = freq_table[pstate] in brcm_avs_cpufreq_init()
659 unsigned int pstate; show_brcm_avs_pstate() local
[all...]
/kernel/linux/linux-6.6/drivers/cpufreq/
H A Dbrcmstb-avs-cpufreq.c388 static int brcm_avs_get_pstate(struct private_data *priv, unsigned int *pstate) in brcm_avs_get_pstate() argument
396 *pstate = args[0]; in brcm_avs_get_pstate()
401 static int brcm_avs_set_pstate(struct private_data *priv, unsigned int pstate) in brcm_avs_set_pstate() argument
405 args[0] = pstate; in brcm_avs_set_pstate()
429 unsigned int pstate; in brcm_avs_get_freq_table() local
433 ret = brcm_avs_get_pstate(priv, &pstate); in brcm_avs_get_freq_table()
456 ret = brcm_avs_set_pstate(priv, pstate); in brcm_avs_get_freq_table()
643 unsigned int pstate; in brcm_avs_cpufreq_init() local
645 ret = brcm_avs_get_pstate(priv, &pstate); in brcm_avs_cpufreq_init()
647 policy->cur = freq_table[pstate] in brcm_avs_cpufreq_init()
661 unsigned int pstate; show_brcm_avs_pstate() local
[all...]
H A DKconfig.x8650 <file:Documentation/admin-guide/pm/amd-pstate.rst>.
60 Select the default mode the amd-pstate driver will use on
69 <file:Documentation/admin-guide/pm/amd-pstate.rst>.
79 Currently, only tests for amd-pstate are supported. If X86_AMD_PSTATE
80 is set disabled, it can tell the users test can only run on amd-pstate
82 In the future, comparison tests will be added. It can set amd-pstate
/kernel/linux/linux-5.10/drivers/gpu/drm/tidss/
H A Dtidss_crtc.c135 struct drm_plane_state *pstate; in tidss_crtc_position_planes() local
140 for_each_new_plane_in_state(ostate, plane, pstate, i) { in tidss_crtc_position_planes()
141 if (pstate->crtc != crtc || !pstate->visible) in tidss_crtc_position_planes()
144 if (pstate->normalized_zpos == layer) { in tidss_crtc_position_planes()
155 pstate->crtc_x, pstate->crtc_y, in tidss_crtc_position_planes()
/kernel/linux/linux-6.6/drivers/gpu/drm/tidss/
H A Dtidss_crtc.c134 struct drm_plane_state *pstate; in tidss_crtc_position_planes() local
139 for_each_new_plane_in_state(ostate, plane, pstate, i) { in tidss_crtc_position_planes()
140 if (pstate->crtc != crtc || !pstate->visible) in tidss_crtc_position_planes()
143 if (pstate->normalized_zpos == layer) { in tidss_crtc_position_planes()
154 pstate->crtc_x, pstate->crtc_y, in tidss_crtc_position_planes()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop.c880 struct drm_plane_state *pstate; in vop_hdr_atomic_check() local
897 pstate = drm_atomic_get_plane_state(state, plane); in vop_hdr_atomic_check()
898 if (IS_ERR(pstate)) { in vop_hdr_atomic_check()
899 return PTR_ERR(pstate); in vop_hdr_atomic_check()
901 vop_plane_state = to_vop_plane_state(pstate); in vop_hdr_atomic_check()
902 if (!pstate->fb) { in vop_hdr_atomic_check()
941 pstate = drm_atomic_get_plane_state(state, plane); in vop_hdr_atomic_check()
942 if (IS_ERR(pstate)) { in vop_hdr_atomic_check()
943 return PTR_ERR(pstate); in vop_hdr_atomic_check()
945 vop_plane_state = to_vop_plane_state(pstate); in vop_hdr_atomic_check()
1158 struct drm_plane_state *pstate; vop_csc_atomic_check() local
2367 struct vop_plane_state *pstate = to_vop_plane_state(state); vop_plane_info_dump() local
2585 vop_plane_line_bandwidth(struct drm_plane_state *pstate) vop_plane_line_bandwidth() argument
2650 struct drm_plane_state *pstate; vop_crtc_bandwidth() local
3160 struct drm_plane_state *pstate; vop_afbdc_atomic_check() local
3326 struct drm_plane_state *pstate; vop_crtc_atomic_check() local
[all...]
H A Drockchip_drm_vop2.c845 static inline bool vop2_plane_active(struct drm_plane_state *pstate) in vop2_plane_active() argument
847 if (!pstate || !pstate->fb) { in vop2_plane_active()
2339 struct drm_plane_state *pstate = &vpstate->base; in vop2_setup_csc_mode() local
2341 int is_input_yuv = is_yuv_support(pstate->fb->format->format); in vop2_setup_csc_mode()
3444 static int vop2_cluster_two_win_mode_check(struct drm_plane_state *pstate) in vop2_cluster_two_win_mode_check() argument
3446 struct drm_atomic_state *state = pstate->state; in vop2_cluster_two_win_mode_check()
3447 struct drm_plane *plane = pstate->plane; in vop2_cluster_two_win_mode_check()
3452 int actual_w = drm_rect_width(&pstate->src) >> 0x10; in vop2_cluster_two_win_mode_check()
3455 if (pstate in vop2_cluster_two_win_mode_check()
3487 vop2_cluter_splice_scale_check(struct vop2_win *win, struct drm_plane_state *pstate, u16 hdisplay) vop2_cluter_splice_scale_check() argument
3518 vop2_plane_splice_check(struct drm_plane *plane, struct drm_plane_state *pstate, struct drm_display_mode *mode) vop2_plane_splice_check() argument
3779 struct drm_plane_state *pstate = plane->state; vop2_plane_setup_color_key() local
3893 vop2_win_atomic_update(struct vop2_win *win, struct drm_rect *src, struct drm_rect *dst, struct drm_plane_state *pstate) vop2_win_atomic_update() argument
4121 struct drm_plane_state *pstate = plane->state; vop2_plane_atomic_update() local
4270 struct drm_plane_state *pstate; rockchip_atomic_helper_update_plane() local
4328 struct drm_plane_state *pstate; rockchip_atomic_helper_disable_plane() local
4645 struct drm_plane_state *pstate = plane->state; vop2_plane_info_dump() local
4926 vop2_plane_line_bandwidth(struct drm_plane_state *pstate) vop2_plane_line_bandwidth() argument
4990 struct drm_plane_state *pstate; vop2_crtc_bandwidth() local
6257 struct drm_plane_state *pstate; vop2_setup_hdr10() local
6572 struct drm_plane_state *pstate; vop2_setup_alpha() local
[all...]
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dhelpers.S29 rdpr %pstate, %o0
30 wrpr %o0, PSTATE_IE, %pstate
45 wrpr %o0, %pstate
H A Durtt_fill.S53 661: wrpr %g0, RTRAP_PSTATE, %pstate
56 /* Re-enable PSTATE.mcde to maintain ADI security */
57 wrpr %g0, RTRAP_PSTATE|PSTATE_MCDE, %pstate
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A Dhelpers.S29 rdpr %pstate, %o0
30 wrpr %o0, PSTATE_IE, %pstate
45 wrpr %o0, %pstate
H A Durtt_fill.S53 661: wrpr %g0, RTRAP_PSTATE, %pstate
56 /* Re-enable PSTATE.mcde to maintain ADI security */
57 wrpr %g0, RTRAP_PSTATE|PSTATE_MCDE, %pstate
/kernel/linux/linux-5.10/arch/arm64/kernel/
H A Dptrace.c92 REG_OFFSET_NAME(pstate),
1215 return pstate_to_compat_psr(regs->pstate); in compat_get_user_reg()
1277 newregs.pstate = reg; in compat_gpr_set()
1499 newregs.pstate = compat_psr_to_pstate(val); in compat_ptrace_write_user()
1852 regs->pstate &= ~SPSR_EL1_AARCH32_RES0_BITS; in valid_compat_regs()
1856 regs->pstate |= PSR_AA32_E_BIT; in valid_compat_regs()
1858 regs->pstate &= ~PSR_AA32_E_BIT; in valid_compat_regs()
1861 if (user_mode(regs) && (regs->pstate & PSR_MODE32_BIT) && in valid_compat_regs()
1862 (regs->pstate & PSR_AA32_A_BIT) == 0 && in valid_compat_regs()
1863 (regs->pstate in valid_compat_regs()
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop2.c870 static inline bool vop2_plane_active(struct drm_plane_state *pstate) in vop2_plane_active() argument
872 if (!pstate || !pstate->fb) in vop2_plane_active()
2334 struct drm_plane_state *pstate = &vpstate->base; in vop2_setup_csc_mode() local
2336 int is_input_yuv = is_yuv_support(pstate->fb->format->format); in vop2_setup_csc_mode()
3445 static int vop2_cluster_two_win_mode_check(struct drm_plane_state *pstate) in vop2_cluster_two_win_mode_check() argument
3447 struct drm_atomic_state *state = pstate->state; in vop2_cluster_two_win_mode_check()
3448 struct drm_plane *plane = pstate->plane; in vop2_cluster_two_win_mode_check()
3453 int actual_w = drm_rect_width(&pstate->src) >> 16; in vop2_cluster_two_win_mode_check()
3456 if (pstate in vop2_cluster_two_win_mode_check()
3490 vop2_cluter_splice_scale_check(struct vop2_win *win, struct drm_plane_state *pstate, u16 hdisplay) vop2_cluter_splice_scale_check() argument
3525 vop2_plane_splice_check(struct drm_plane *plane, struct drm_plane_state *pstate, struct drm_display_mode *mode) vop2_plane_splice_check() argument
3786 struct drm_plane_state *pstate = plane->state; vop2_plane_setup_color_key() local
3896 vop2_win_atomic_update(struct vop2_win *win, struct drm_rect *src, struct drm_rect *dst, struct drm_plane_state *pstate) vop2_win_atomic_update() argument
4119 struct drm_plane_state *pstate = plane->state; vop2_plane_atomic_update() local
4272 struct drm_plane_state *pstate; rockchip_atomic_helper_update_plane() local
4328 struct drm_plane_state *pstate; rockchip_atomic_helper_disable_plane() local
4647 struct drm_plane_state *pstate = plane->state; vop2_plane_info_dump() local
4937 vop2_plane_line_bandwidth(struct drm_plane_state *pstate) vop2_plane_line_bandwidth() argument
4999 struct drm_plane_state *pstate; vop2_crtc_bandwidth() local
6310 struct drm_plane_state *pstate; vop2_setup_hdr10() local
6611 struct drm_plane_state *pstate; vop2_setup_alpha() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/mte/
H A Dmte_helper.S94 * mte_enable_pstate_tco: Enable PSTATE.TCO (tag check override) field
106 * mte_disable_pstate_tco: Disable PSTATE.TCO (tag check override) field
118 * mte_get_pstate_tco: Get PSTATE.TCO (tag check override) field
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dclk.h11 #define NVKM_CLK_CSTATE_BASE -2 /* pstate base */
67 u8 pstate; member
99 int pstate; /* current */ member
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dclk.h10 #define NVKM_CLK_CSTATE_BASE -2 /* pstate base */
66 u8 pstate; member
97 int pstate; /* current */ member
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/mte/
H A Dmte_helper.S96 * mte_enable_pstate_tco: Enable PSTATE.TCO (tag check override) field
108 * mte_disable_pstate_tco: Disable PSTATE.TCO (tag check override) field
120 * mte_get_pstate_tco: Get PSTATE.TCO (tag check override) field
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_core_perf.c43 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()
/device/soc/rockchip/common/vendor/drivers/staging/android/fiq_debugger/
H A Dfiq_debugger_arm64.c45 output->printf(output, " pc %016lx cpsr %08lx mode %s\n", regs->pc, regs->pstate, mode_name(regs)); in fiq_debugger_dump_pc()
60 output->printf(output, " cpsr %08x (%s)\n", regs->pstate, mode_name(regs)); in fiq_debugger_dump_regs_aarch32()
85 output->printf(output, " pc %016lx cpsr %08x (%s)\n", regs->pc, regs->pstate, mode_name(regs)); in fiq_debugger_dump_regs_aarch64()
106 u32 pstate = READ_SPECIAL_REG(CurrentEl); in fiq_debugger_dump_allregs() local
107 bool in_el2 = (pstate & PSR_MODE_MASK) >= PSR_MODE_EL2t; in fiq_debugger_dump_allregs()
/device/soc/rockchip/rk3588/kernel/drivers/staging/android/fiq_debugger/
H A Dfiq_debugger_arm64.c41 regs->pc, regs->pstate, mode_name(regs)); in fiq_debugger_dump_pc()
60 regs->pstate, mode_name(regs)); in fiq_debugger_dump_regs_aarch32()
100 regs->pc, regs->pstate, mode_name(regs)); in fiq_debugger_dump_regs_aarch64()
121 u32 pstate = READ_SPECIAL_REG(CurrentEl); in fiq_debugger_dump_allregs() local
122 bool in_el2 = (pstate & PSR_MODE_MASK) >= PSR_MODE_EL2t; in fiq_debugger_dump_allregs()
/kernel/linux/linux-6.6/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop2.c481 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-5.10/net/netlink/
H A Dpolicy.c115 * @pstate: state to add to, may be reallocated, must be %NULL the first time
126 int netlink_policy_dump_add_policy(struct netlink_policy_dump_state **pstate, in netlink_policy_dump_add_policy() argument
130 struct netlink_policy_dump_state *state = *pstate; in netlink_policy_dump_add_policy()
175 *pstate = state; in netlink_policy_dump_add_policy()
182 if (!*pstate) in netlink_policy_dump_add_policy()
185 *pstate = state; in netlink_policy_dump_add_policy()
/kernel/linux/linux-6.6/net/netlink/
H A Dpolicy.c115 * @pstate: state to add to, may be reallocated, must be %NULL the first time
126 int netlink_policy_dump_add_policy(struct netlink_policy_dump_state **pstate, in netlink_policy_dump_add_policy() argument
130 struct netlink_policy_dump_state *state = *pstate; in netlink_policy_dump_add_policy()
175 *pstate = state; in netlink_policy_dump_add_policy()
182 if (!*pstate) in netlink_policy_dump_add_policy()
185 *pstate = state; in netlink_policy_dump_add_policy()

Completed in 40 milliseconds

12345678910>>...26