Home
last modified time | relevance | path

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

/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_crtc.c217 struct mdp5_plane_state *pstate, *pstates[STAGE_MAX + 1] = {NULL}; in blend_setup() local
249 pstates[pstate->stage] = pstate; in blend_setup()
272 if (!pstates[STAGE_BASE]) { in blend_setup()
276 format = to_mdp_format(msm_framebuffer_format(pstates[STAGE_BASE]->base.fb)); in blend_setup()
284 if (!pstates[i]) in blend_setup()
288 msm_framebuffer_format(pstates[i]->base.fb)); in blend_setup()
289 plane = pstates[i]->base.plane; in blend_setup()
292 fg_alpha = pstates[i]->alpha; in blend_setup()
293 bg_alpha = 0xFF - pstates[i]->alpha; in blend_setup()
302 if (format->alpha_enable && pstates[i]->premultiplied) { in blend_setup()
[all …]
/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_crtc.c822 struct plane_state *pstates; in dpu_crtc_atomic_check() local
836 pstates = kzalloc(sizeof(*pstates) * DPU_STAGE_MAX * 4, GFP_KERNEL); in dpu_crtc_atomic_check()
837 if (!pstates) in dpu_crtc_atomic_check()
877 pstates[cnt].dpu_pstate = to_dpu_plane_state(pstate); in dpu_crtc_atomic_check()
878 pstates[cnt].drm_pstate = pstate; in dpu_crtc_atomic_check()
879 pstates[cnt].stage = pstate->normalized_zpos; in dpu_crtc_atomic_check()
880 pstates[cnt].pipe_id = dpu_plane_pipe(plane); in dpu_crtc_atomic_check()
882 if (pipe_staged[pstates[cnt].pipe_id]) { in dpu_crtc_atomic_check()
884 pipe_staged[pstates[cnt].pipe_id]; in dpu_crtc_atomic_check()
888 pipe_staged[pstates[cnt].pipe_id] = NULL; in dpu_crtc_atomic_check()
[all …]
/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
/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,
983 struct nvkm_pstate *pstates = clk->base.base.func->pstates; in gm20b_clk_init_safe_fmax() local
1000 if (pstates[i].base.voltage == id) in gm20b_clk_init_safe_fmax()
1002 pstates[i].base.domain[nv_clk_src_gpc]); in gm20b_clk_init_safe_fmax()
Dgk20a.c585 base->func->calc(base, &base->func->pstates[0].base); in gk20a_clk_init()
603 .pstates = gk20a_pstates,
624 INIT_LIST_HEAD(&func->pstates[i].list); in gk20a_clk_ctor()
625 func->pstates[i].pstate = i + 1; in gk20a_clk_ctor()
Dpriv.h14 struct nvkm_pstate *pstates; member
Dbase.c635 if (clk->func->pstates) in nvkm_clk_dtor()
684 if (!func->pstates) { in nvkm_clk_ctor()
691 list_add_tail(&func->pstates[idx].head, &clk->states); in nvkm_clk_ctor()
/drivers/platform/x86/
Dintel_telemetry_debugfs.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()
/drivers/mtd/nand/raw/
Dnandsim.c300 uint32_t pstates[NS_MAX_PREVSTATES]; /* previous states */ member
1243 if (NS_STATE(ops[i].states[j]) != NS_STATE(ns->pstates[j]) in ns_find_operation()
1301 ns->pstates[ns->npstates++] = ns->state; in ns_find_operation()