Home
last modified time | relevance | path

Searched refs:pstates (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_crtc.c220 struct mdp5_plane_state *pstate, *pstates[STAGE_MAX + 1] = {NULL}; in blend_setup() local
252 pstates[pstate->stage] = pstate; in blend_setup()
275 if (!pstates[STAGE_BASE]) { in blend_setup()
279 format = to_mdp_format(msm_framebuffer_format(pstates[STAGE_BASE]->base.fb)); in blend_setup()
287 if (!pstates[i]) in blend_setup()
291 msm_framebuffer_format(pstates[i]->base.fb)); in blend_setup()
292 plane = pstates[i]->base.plane; in blend_setup()
295 fg_alpha = pstates[i]->base.alpha >> 8; in blend_setup()
306 pstates[i]->base.pixel_blend_mode == DRM_MODE_BLEND_PREMULTI) { in blend_setup()
318 pstates[i]->base.pixel_blend_mode == DRM_MODE_BLEND_COVERAGE) { in blend_setup()
[all …]
/linux-6.1.9/drivers/misc/echo/
Decho.c185 ec->pstates = 0; in oslec_create()
250 ec->pstates = 0; in oslec_flush()
336 ec->pstates += in oslec_update()
338 if (ec->pstates < 0) in oslec_update()
339 ec->pstates = 0; in oslec_update()
408 p = MIN_TX_POWER_FOR_ADAPTION + ec->pstates; in oslec_update()
Decho.h130 int32_t pstates; member
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_crtc.c1137 struct plane_state *pstates; in dpu_crtc_atomic_check() local
1152 pstates = kzalloc(sizeof(*pstates) * DPU_STAGE_MAX * 4, GFP_KERNEL); in dpu_crtc_atomic_check()
1197 pstates[cnt].dpu_pstate = dpu_pstate; in dpu_crtc_atomic_check()
1198 pstates[cnt].drm_pstate = pstate; in dpu_crtc_atomic_check()
1199 pstates[cnt].stage = pstate->normalized_zpos; in dpu_crtc_atomic_check()
1200 pstates[cnt].pipe_id = dpu_plane_pipe(plane); in dpu_crtc_atomic_check()
1204 if (pipe_staged[pstates[cnt].pipe_id]) { in dpu_crtc_atomic_check()
1206 pipe_staged[pstates[cnt].pipe_id]; in dpu_crtc_atomic_check()
1210 pipe_staged[pstates[cnt].pipe_id] = NULL; in dpu_crtc_atomic_check()
1212 pipe_staged[pstates[cnt].pipe_id] = pstate; in dpu_crtc_atomic_check()
[all …]
/linux-6.1.9/tools/power/cpupower/utils/
Dcpufreq-info.c130 unsigned long pstates[MAX_HW_PSTATES] = {0,}; in get_boost_mode_x86() local
155 ret = decode_pstates(cpu, b_states, pstates, &pstate_no); in get_boost_mode_x86()
162 if (!pstates[i]) in get_boost_mode_x86()
166 "\n"), i, pstates[i]); in get_boost_mode_x86()
169 i - b_states, pstates[i]); in get_boost_mode_x86()
/linux-6.1.9/tools/power/cpupower/utils/helpers/
Dhelpers.h134 unsigned long *pstates, int *no);
162 unsigned long *pstates, int *no) in decode_pstates() argument
Damd.c93 unsigned long *pstates, int *no) in decode_pstates() argument
123 pstates[i] = get_cof(pstate); in decode_pstates()
/linux-6.1.9/drivers/platform/x86/intel/telemetry/
Ddebugfs.c342 u64 pstates = 0; in telem_pss_states_show() local
400 pstates = evtlog[index].telem_evtlog; in telem_pss_states_show()
408 (pstates & TELEM_MASK_BYTE)*100, in telem_pss_states_show()
409 ((pstates >> 8) & TELEM_MASK_BYTE)*50/3); in telem_pss_states_show()
412 ((pstates >> 16) & TELEM_MASK_BYTE)*25, in telem_pss_states_show()
413 ((pstates >> 24) & TELEM_MASK_BYTE)*50/3); in telem_pss_states_show()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dgm20b.c865 base->func->calc(base, &base->func->pstates[0].base); in gm20b_clk_init()
883 .pstates = gm20b_pstates,
901 .pstates = gm20b_pstates,
980 struct nvkm_pstate *pstates = clk->base.base.func->pstates; in gm20b_clk_init_safe_fmax() local
997 if (pstates[i].base.voltage == id) in gm20b_clk_init_safe_fmax()
999 pstates[i].base.domain[nv_clk_src_gpc]); in gm20b_clk_init_safe_fmax()
Dpriv.h14 struct nvkm_pstate *pstates; member
Dgk20a.c585 base->func->calc(base, &base->func->pstates[0].base); in gk20a_clk_init()
603 .pstates = gk20a_pstates,
623 INIT_LIST_HEAD(&func->pstates[i].list); in gk20a_clk_ctor()
624 func->pstates[i].pstate = i + 1; in gk20a_clk_ctor()
Dbase.c630 if (clk->func->pstates) in nvkm_clk_dtor()
679 if (!func->pstates) { in nvkm_clk_ctor()
686 list_add_tail(&func->pstates[idx].head, &clk->states); in nvkm_clk_ctor()
/linux-6.1.9/drivers/mtd/nand/raw/
Dnandsim.c302 uint32_t pstates[NS_MAX_PREVSTATES]; /* previous states */ member
1238 if (NS_STATE(ops[i].states[j]) != NS_STATE(ns->pstates[j]) in ns_find_operation()
1296 ns->pstates[ns->npstates++] = ns->state; in ns_find_operation()