Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_crtc.c226 struct mdp5_plane_state *pstate, *pstates[STAGE_MAX + 1] = {NULL}; in blend_setup() local
260 pstates[pstate->stage] = pstate; in blend_setup()
283 if (!pstates[STAGE_BASE]) { in blend_setup()
287 format = to_mdp_format(msm_framebuffer_format(pstates[STAGE_BASE]->base.fb)); in blend_setup()
295 if (!pstates[i]) in blend_setup()
299 msm_framebuffer_format(pstates[i]->base.fb)); in blend_setup()
300 plane = pstates[i]->base.plane; in blend_setup()
303 fg_alpha = pstates[i]->alpha; in blend_setup()
304 bg_alpha = 0xFF - pstates[i]->alpha; in blend_setup()
313 if (format->alpha_enable && pstates[i]->premultiplied) { in blend_setup()
[all …]
/Linux-v4.19/drivers/misc/echo/
Decho.c197 ec->pstates = 0; in oslec_create()
262 ec->pstates = 0; in oslec_flush()
348 ec->pstates += in oslec_update()
350 if (ec->pstates < 0) in oslec_update()
351 ec->pstates = 0; in oslec_update()
420 p = MIN_TX_POWER_FOR_ADAPTION + ec->pstates; in oslec_update()
Decho.h142 int32_t pstates; member
/Linux-v4.19/tools/power/cpupower/utils/helpers/
Damd.c89 int boost_states, unsigned long *pstates, int *no) in decode_pstates() argument
122 pstates[i] = get_cof(cpu_family, pstate); in decode_pstates()
Dhelpers.h127 int boost_states, unsigned long *pstates, int *no);
145 int boost_states, unsigned long *pstates, in decode_pstates() argument
/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_crtc.c1459 struct plane_state *pstates; in dpu_crtc_atomic_check() local
1479 pstates = kzalloc(sizeof(*pstates) * DPU_STAGE_MAX * 4, GFP_KERNEL); in dpu_crtc_atomic_check()
1519 pstates[cnt].dpu_pstate = to_dpu_plane_state(pstate); in dpu_crtc_atomic_check()
1520 pstates[cnt].drm_pstate = pstate; in dpu_crtc_atomic_check()
1521 pstates[cnt].stage = pstate->normalized_zpos; in dpu_crtc_atomic_check()
1522 pstates[cnt].pipe_id = dpu_plane_pipe(plane); in dpu_crtc_atomic_check()
1524 if (pipe_staged[pstates[cnt].pipe_id]) { in dpu_crtc_atomic_check()
1526 pipe_staged[pstates[cnt].pipe_id]; in dpu_crtc_atomic_check()
1530 pipe_staged[pstates[cnt].pipe_id] = NULL; in dpu_crtc_atomic_check()
1532 pipe_staged[pstates[cnt].pipe_id] = pstate; in dpu_crtc_atomic_check()
[all …]
/Linux-v4.19/tools/power/cpupower/utils/
Dcpufreq-info.c170 unsigned long pstates[MAX_HW_PSTATES] = {0,}; in get_boost_mode() local
196 pstates, &pstate_no); in get_boost_mode()
205 "\n"), i, pstates[i]); in get_boost_mode()
208 i - b_states, pstates[i]); in get_boost_mode()
/Linux-v4.19/drivers/platform/x86/
Dintel_telemetry_debugfs.c354 u64 pstates = 0; in telem_pss_states_show() local
412 pstates = evtlog[index].telem_evtlog; in telem_pss_states_show()
420 (pstates & TELEM_MASK_BYTE)*100, in telem_pss_states_show()
421 ((pstates >> 8) & TELEM_MASK_BYTE)*50/3); in telem_pss_states_show()
424 ((pstates >> 16) & TELEM_MASK_BYTE)*25, in telem_pss_states_show()
425 ((pstates >> 24) & TELEM_MASK_BYTE)*50/3); in telem_pss_states_show()
/Linux-v4.19/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()
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,
624 INIT_LIST_HEAD(&func->pstates[i].list); in gk20a_clk_ctor()
625 func->pstates[i].pstate = i + 1; in gk20a_clk_ctor()
Dbase.c632 if (clk->func->pstates) in nvkm_clk_dtor()
681 if (!func->pstates) { in nvkm_clk_ctor()
688 list_add_tail(&func->pstates[idx].head, &clk->states); in nvkm_clk_ctor()
/Linux-v4.19/drivers/mtd/nand/raw/
Dnandsim.c311 uint32_t pstates[NS_MAX_PREVSTATES]; /* previous states */ member
1253 if (NS_STATE(ops[i].states[j]) != NS_STATE(ns->pstates[j]) in find_operation()
1310 ns->pstates[ns->npstates++] = ns->state; in find_operation()