Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_crtc.c819 struct plane_state *pstates; in dpu_crtc_atomic_check() local
833 pstates = kzalloc(sizeof(*pstates) * DPU_STAGE_MAX * 4, GFP_KERNEL); in dpu_crtc_atomic_check()
834 if (!pstates) in dpu_crtc_atomic_check()
874 pstates[cnt].dpu_pstate = to_dpu_plane_state(pstate); in dpu_crtc_atomic_check()
875 pstates[cnt].drm_pstate = pstate; in dpu_crtc_atomic_check()
876 pstates[cnt].stage = pstate->normalized_zpos; in dpu_crtc_atomic_check()
877 pstates[cnt].pipe_id = dpu_plane_pipe(plane); in dpu_crtc_atomic_check()
879 if (pipe_staged[pstates[cnt].pipe_id]) { in dpu_crtc_atomic_check()
881 pipe_staged[pstates[cnt].pipe_id]; in dpu_crtc_atomic_check()
885 pipe_staged[pstates[cnt].pipe_id] = NULL; in dpu_crtc_atomic_check()
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/tools/power/cpupower/utils/helpers/
Damd.c89 int boost_states, unsigned long *pstates, int *no) in decode_pstates() argument
127 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
/kernel/linux/linux-5.10/tools/power/cpupower/utils/
Dcpufreq-info.c167 unsigned long pstates[MAX_HW_PSTATES] = {0,}; in get_boost_mode_x86() local
190 pstates, &pstate_no); in get_boost_mode_x86()
197 if (!pstates[i]) in get_boost_mode_x86()
201 "\n"), i, pstates[i]); in get_boost_mode_x86()
204 i - b_states, pstates[i]); in get_boost_mode_x86()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.c633 if (clk->func->pstates) in nvkm_clk_dtor()
682 if (!func->pstates) { in nvkm_clk_ctor()
689 list_add_tail(&func->pstates[idx].head, &clk->states); in nvkm_clk_ctor()
/kernel/linux/linux-5.10/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()