/openbmc/linux/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_crtc.c | 252 pstates[pstate->stage] = pstate; in blend_setup() 275 if (!pstates[STAGE_BASE]) { in blend_setup() 287 if (!pstates[i]) in blend_setup() 292 plane = pstates[i]->base.plane; in blend_setup() 295 fg_alpha = pstates[i]->base.alpha >> 8; in blend_setup() 724 pstates[cnt].plane = plane; in mdp5_crtc_atomic_check() 734 if (pstates[cnt].state->r_hwpipe) in mdp5_crtc_atomic_check() 762 sort(pstates, cnt, sizeof(pstates[0]), pstate_cmp, NULL); in mdp5_crtc_atomic_check() 783 pstates[i].state->stage = start + i; in mdp5_crtc_atomic_check() 785 pstates[i].plane->name, in mdp5_crtc_atomic_check() [all …]
|
/openbmc/linux/drivers/misc/echo/ |
H A D | echo.c | 185 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()
|
H A D | echo.h | 130 int32_t pstates; member
|
/openbmc/qemu/tests/avocado/acpi-bits/bits-tests/ |
H A D | testacpi.py2 | 101 if not testsuite.test("_PSS must not be empty", pss.pstates): 107 for index, pstate in enumerate(pss.pstates): 110 testsuite.test("_PSS must contain at most 16 Pstates", len(pss.pstates) <= 16) 111 … testsuite.test("_PSS must have no duplicate Pstates", len(pss.pstates) == len(set(pss.pstates))) 113 frequencies = [p.core_frequency for p in pss.pstates] 118 dissipations = [p.power for p in pss.pstates] 154 for n, pstate in enumerate(pss.pstates): 162 # Detecting Turbo frequency requires at least 2 pstates 165 if len(pss.pstates) >= 2: 166 … turbo = (n == 0 and pstate.core_frequency == (pss.pstates[1].core_frequency + 1))
|
/openbmc/linux/tools/power/cpupower/utils/ |
H A D | cpufreq-info.c | 130 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()
|
/openbmc/linux/tools/power/cpupower/utils/helpers/ |
H A D | helpers.h | 138 unsigned long *pstates, int *no); 166 unsigned long *pstates, int *no) in decode_pstates() argument
|
H A D | amd.c | 113 unsigned long *pstates, int *no) in decode_pstates() argument 143 pstates[i] = get_cof(pstate); in decode_pstates()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | priv.h | 14 struct nvkm_pstate *pstates; member
|
H A D | gm20b.c | 865 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()
|
H A D | gk20a.c | 585 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()
|
H A D | base.c | 630 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()
|
/openbmc/linux/drivers/platform/x86/intel/telemetry/ |
H A D | debugfs.c | 342 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()
|
/openbmc/pldm/pldmtool/ |
H A D | pldm_platform_cmd.cpp | 790 std::stringstream pstates; in printPossibleStates() local 795 pstates << (possibleStatesPos * CHAR_BIT + i); in printPossibleStates() 797 static_cast<uint8_t>(std::stoi(pstates.str()))); in printPossibleStates() 798 pstates.str(""); in printPossibleStates()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | nandsim.c | 302 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()
|