Searched refs:pstates (Results 1 - 12 of 12) sorted by relevance

/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dpriv.h14 struct nvkm_pstate *pstates; member in struct:nvkm_clk_func
H A Dgm20b.c865 base->func->calc(base, &base->func->pstates[0].base);
883 .pstates = gm20b_pstates,
901 .pstates = gm20b_pstates,
980 struct nvkm_pstate *pstates = clk->base.base.func->pstates; local
997 if (pstates[i].base.voltage == id)
999 pstates[i].base.domain[nv_clk_src_gpc]);
H A Dgk20a.c585 base->func->calc(base, &base->func->pstates[0].base);
603 .pstates = gk20a_pstates,
621 /* Finish initializing the pstates */
623 INIT_LIST_HEAD(&func->pstates[i].list);
624 func->pstates[i].pstate = i + 1;
H A Dbase.c629 /* Early return if the pstates have been provided statically */
630 if (clk->func->pstates)
678 /* If no pstates are provided, try and fetch them from the BIOS */
679 if (!func->pstates) {
686 list_add_tail(&func->pstates[idx].head, &clk->states);
/linux-master/drivers/misc/echo/
H A Decho.h130 int32_t pstates; member in struct:oslec_state
H A Decho.c185 ec->pstates = 0;
250 ec->pstates = 0;
336 ec->pstates +=
338 if (ec->pstates < 0)
339 ec->pstates = 0;
408 p = MIN_TX_POWER_FOR_ADAPTION + ec->pstates;
/linux-master/tools/power/cpupower/utils/helpers/
H A Dhelpers.h138 unsigned long *pstates, int *no);
166 unsigned long *pstates, int *no)
165 decode_pstates(unsigned int cpu, int boost_states, unsigned long *pstates, int *no) argument
H A Damd.c85 * pstates -> a pointer to an array of size MAX_HW_PSTATES
87 * All available HW pstates (including boost states)
88 * no -> amount of pstates above array got filled up with
93 unsigned long *pstates, int *no)
112 fprintf(stderr, "HW pstates [%d] exceeding max [%d]\n",
123 pstates[i] = get_cof(pstate);
92 decode_pstates(unsigned int cpu, int boost_states, unsigned long *pstates, int *no) argument
/linux-master/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_crtc.c218 struct mdp5_plane_state *pstate, *pstates[STAGE_MAX + 1] = {NULL}; local
250 pstates[pstate->stage] = pstate;
273 if (!pstates[STAGE_BASE]) {
277 format = to_mdp_format(msm_framebuffer_format(pstates[STAGE_BASE]->base.fb));
285 if (!pstates[i])
289 msm_framebuffer_format(pstates[i]->base.fb));
290 plane = pstates[i]->base.plane;
293 fg_alpha = pstates[i]->base.alpha >> 8;
304 pstates[i]->base.pixel_blend_mode == DRM_MODE_BLEND_PREMULTI) {
316 pstates[
703 struct plane_state pstates[STAGE_MAX + 1]; local
[all...]
/linux-master/tools/power/cpupower/utils/
H A Dcpufreq-info.c130 unsigned long pstates[MAX_HW_PSTATES] = {0,}; local
155 ret = decode_pstates(cpu, b_states, pstates, &pstate_no);
162 if (!pstates[i])
166 "\n"), i, pstates[i]);
169 i - b_states, pstates[i]); local
/linux-master/drivers/platform/x86/intel/telemetry/
H A Ddebugfs.c342 u64 pstates = 0; local
400 pstates = evtlog[index].telem_evtlog;
408 (pstates & TELEM_MASK_BYTE)*100,
409 ((pstates >> 8) & TELEM_MASK_BYTE)*50/3);
412 ((pstates >> 16) & TELEM_MASK_BYTE)*25,
413 ((pstates >> 24) & TELEM_MASK_BYTE)*50/3);
/linux-master/drivers/mtd/nand/raw/
H A Dnandsim.c302 uint32_t pstates[NS_MAX_PREVSTATES]; /* previous states */ member in struct:nandsim
1184 * case the ns->pstates[] array contains previous states.
1188 * ns->pstates[0], ... ns->pstates[ns->npstates], ns->state
1195 * ns->pstates.
1201 * ns->pstates[0], ... ns->pstates[ns->npstates], <address input>
1238 if (NS_STATE(ops[i].states[j]) != NS_STATE(ns->pstates[j])
1296 ns->pstates[ns->npstates++] = ns->state;

Completed in 158 milliseconds