Home
last modified time | relevance | path

Searched refs:pstate (Results 1 – 83 of 83) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dbase.c41 u8 pstate, u8 domain, u32 input) in nvkm_clk_adjust() argument
48 data = nvbios_boostEm(bios, pstate, &ver, &hdr, &cnt, &len, &boostE); in nvkm_clk_adjust()
78 nvkm_cstate_prog(struct nvkm_clk *clk, struct nvkm_pstate *pstate, int cstatei) in nvkm_cstate_prog() argument
87 if (!list_empty(&pstate->list)) { in nvkm_cstate_prog()
88 cstate = list_entry(pstate->list.prev, typeof(*cstate), head); in nvkm_cstate_prog()
90 cstate = &pstate->base; in nvkm_cstate_prog()
94 ret = nvkm_therm_cstate(therm, pstate->fanspeed, +1); in nvkm_cstate_prog()
122 ret = nvkm_therm_cstate(therm, pstate->fanspeed, -1); in nvkm_cstate_prog()
138 nvkm_cstate_new(struct nvkm_clk *clk, int idx, struct nvkm_pstate *pstate) in nvkm_cstate_new() argument
155 *cstate = pstate->base; in nvkm_cstate_new()
[all …]
Dgk20a.c660 gk20a_pstates[i].pstate = i + 1; in gk20a_clk_new()
/linux-4.4.14/arch/arm64/include/asm/
Dptrace.h114 u64 pstate; member
125 (((regs)->pstate & COMPAT_PSR_T_BIT))
131 (((regs)->pstate & PSR_MODE_MASK) == PSR_MODE_EL0t)
134 (((regs)->pstate & (PSR_MODE32_BIT | PSR_MODE_MASK)) == \
138 ((regs)->pstate & PSR_MODE_MASK)
141 (!((regs)->pstate & PSR_I_BIT))
144 (!((regs)->pstate & PSR_F_BIT))
160 if (user_mode(regs) && (regs->pstate & PSR_I_BIT) == 0) { in valid_user_regs()
161 regs->pstate &= ~(PSR_F_BIT | PSR_A_BIT); in valid_user_regs()
164 if (!(regs->pstate & PSR_MODE32_BIT)) in valid_user_regs()
[all …]
Dprocessor.h118 regs->pstate = PSR_MODE_EL0t; in start_thread()
127 regs->pstate = COMPAT_PSR_MODE_USR; in compat_start_thread()
129 regs->pstate |= COMPAT_PSR_T_BIT; in compat_start_thread()
132 regs->pstate |= COMPAT_PSR_E_BIT; in compat_start_thread()
Dperf_event.h31 (regs)->pstate = PSR_MODE_EL1h; \
Dkvm_emulate.h73 return (unsigned long *)&vcpu_gp_regs(vcpu)->regs.pstate; in vcpu_cpsr()
/linux-4.4.14/tools/power/cpupower/utils/helpers/
Damd.c32 static int get_did(int family, union msr_pstate pstate) in get_did() argument
37 t = pstate.val & 0xf; in get_did()
39 t = pstate.bits.did; in get_did()
44 static int get_cof(int family, union msr_pstate pstate) in get_cof() argument
49 did = get_did(family, pstate); in get_cof()
52 fid = pstate.bits.fid; in get_cof()
76 union msr_pstate pstate; in decode_pstates() local
104 if (read_msr(cpu, MSR_AMD_PSTATE + i, &pstate.val)) in decode_pstates()
106 pstates[i] = get_cof(cpu_family, pstate); in decode_pstates()
/linux-4.4.14/drivers/cpufreq/
Dintel_pstate.c107 struct pstate_data pstate; member
134 void (*set)(struct cpudata*, int pstate);
280 cpu->pstate.max_pstate == cpu->pstate.turbo_pstate); in update_turbo_state()
385 total = cpu->pstate.turbo_pstate - cpu->pstate.min_pstate + 1; in show_turbo_pct()
386 no_turbo = cpu->pstate.max_pstate - cpu->pstate.min_pstate + 1; in show_turbo_pct()
399 total = cpu->pstate.turbo_pstate - cpu->pstate.min_pstate + 1; in show_num_pstates()
555 static void atom_set_pstate(struct cpudata *cpudata, int pstate) in atom_set_pstate() argument
561 val = (u64)pstate << 8; in atom_set_pstate()
566 int_tofp(pstate - cpudata->pstate.min_pstate), in atom_set_pstate()
572 if (pstate > cpudata->pstate.max_pstate) in atom_set_pstate()
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dctrl.c54 args->v0.pstate = clk->pstate; in nvkm_control_mthd_pstate_info()
60 args->v0.pstate = NVIF_CONTROL_PSTATE_INFO_V0_PSTATE_UNKNOWN; in nvkm_control_mthd_pstate_info()
74 struct nvkm_pstate *pstate; in nvkm_control_mthd_pstate_attr() local
105 list_for_each_entry(pstate, &clk->states, head) { in nvkm_control_mthd_pstate_attr()
110 lo = pstate->base.domain[domain->name]; in nvkm_control_mthd_pstate_attr()
112 list_for_each_entry(cstate, &pstate->list, head) { in nvkm_control_mthd_pstate_attr()
117 args->v0.state = pstate->pstate; in nvkm_control_mthd_pstate_attr()
/linux-4.4.14/arch/x86/kernel/cpu/mcheck/
Dtherm_throt.c157 struct thermal_state *pstate = &per_cpu(thermal_state, this_cpu); in therm_throt_process() local
162 state = &pstate->core_throttle; in therm_throt_process()
164 state = &pstate->core_power_limit; in therm_throt_process()
169 state = &pstate->package_throttle; in therm_throt_process()
171 state = &pstate->package_power_limit; in therm_throt_process()
214 struct thermal_state *pstate = &per_cpu(thermal_state, this_cpu); in thresh_event_valid() local
218 state = (event == 0) ? &pstate->pkg_thresh0 : in thresh_event_valid()
219 &pstate->pkg_thresh1; in thresh_event_valid()
221 state = (event == 0) ? &pstate->core_thresh0 : in thresh_event_valid()
222 &pstate->core_thresh1; in thresh_event_valid()
/linux-4.4.14/arch/sparc/kernel/
Dspiterrs.S157 rdpr %pstate, %g4
158 wrpr %g4, PSTATE_MG|PSTATE_AG, %pstate
185 rdpr %pstate, %g4
186 wrpr %g4, PSTATE_MG|PSTATE_AG, %pstate
205 rdpr %pstate, %g4
206 wrpr %g4, PSTATE_MG|PSTATE_AG, %pstate
224 rdpr %pstate, %g4
225 wrpr %g4, PSTATE_MG|PSTATE_AG, %pstate
Drtrap_64.S27 wrpr %g0, RTRAP_PSTATE, %pstate
29 wrpr %g0, RTRAP_PSTATE_IRQOFF, %pstate
33 wrpr %g0, RTRAP_PSTATE, %pstate
35 wrpr %g0, RTRAP_PSTATE_IRQOFF, %pstate
50 wrpr %g0, RTRAP_PSTATE, %pstate
51 wrpr %g0, RTRAP_PSTATE_IRQOFF, %pstate
129 to_user: wrpr %g0, RTRAP_PSTATE_IRQOFF, %pstate
171 661: wrpr %g0, RTRAP_PSTATE_AG_IRQOFF, %pstate
175 wrpr %g0, RTRAP_PSTATE_IRQOFF, %pstate
Dhelpers.S27 rdpr %pstate, %o0
28 wrpr %o0, PSTATE_IE, %pstate
43 wrpr %o0, %pstate
Dtsb.S157 661: rdpr %pstate, %g5
158 wrpr %g5, PSTATE_AG | PSTATE_MG, %pstate
264 661: rdpr %pstate, %g5
265 wrpr %g5, PSTATE_AG | PSTATE_MG, %pstate
326 rdpr %pstate, %o5
327 wrpr %o5, PSTATE_IE, %pstate
330 wrpr %o5, %pstate
379 rdpr %pstate, %g1
380 wrpr %g1, PSTATE_IE, %pstate
451 wrpr %g1, %pstate
Dsmp_64.c390 static void spitfire_xcall_helper(u64 data0, u64 data1, u64 data2, u64 pstate, unsigned long cpu) in spitfire_xcall_helper() argument
425 : "r" (pstate), "i" (PSTATE_IE), "i" (ASI_INTR_W), in spitfire_xcall_helper()
438 : : "r" (pstate)); in spitfire_xcall_helper()
446 : : "r" (pstate)); in spitfire_xcall_helper()
460 u64 pstate; in spitfire_xcall_deliver() local
463 __asm__ __volatile__("rdpr %%pstate, %0" : "=r" (pstate)); in spitfire_xcall_deliver()
470 spitfire_xcall_helper(data0, data1, data2, pstate, cpu_list[i]); in spitfire_xcall_deliver()
480 u64 *mondo, pstate, ver, busy_mask; in cheetah_xcall_deliver() local
494 __asm__ __volatile__("rdpr %%pstate, %0" : "=r" (pstate)); in cheetah_xcall_deliver()
499 : : "r" (pstate), "i" (PSTATE_IE)); in cheetah_xcall_deliver()
[all …]
Ddtlb_prot.S20 rdpr %pstate, %g5 ! Move into alt-globals
21 wrpr %g5, PSTATE_AG|PSTATE_MG, %pstate
Dktlb.S81 661: rdpr %pstate, %g5
82 wrpr %g5, PSTATE_AG | PSTATE_MG, %pstate
235 661: rdpr %pstate, %g5
236 wrpr %g5, PSTATE_AG | PSTATE_MG, %pstate
Dhvtramp.S81 wrpr %g0, (PSTATE_PRIV | PSTATE_PEF), %pstate
124 wrpr %g0, (PSTATE_PRIV | PSTATE_PEF | PSTATE_IE), %pstate
Dasm-offsets.c36 OFFSET(SC_REG_PSTATE, saved_context, pstate); in sparc64_foo()
Dtime_64.c721 unsigned long pstate; in setup_sparc64_timer() local
728 : "=r" (pstate) in setup_sparc64_timer()
736 : "r" (pstate)); in setup_sparc64_timer()
Dsyscalls.S139 1: rdpr %pstate, %g2
140 wrpr %g2, PSTATE_IE, %pstate
146 wrpr %g2, 0x0, %pstate
Dhead_64.S94 rdpr %pstate, %g1
96 wrpr %g1, 0x0, %pstate
530 wrpr %g0, (PSTATE_PRIV|PSTATE_PEF|PSTATE_IE), %pstate
738 rdpr %pstate, %l0
740 wrpr %o1, 0x0, %pstate
833 wrpr %l0, 0, %pstate
Dtrampoline_64.S250 wrpr %g0, (PSTATE_PRIV | PSTATE_PEF), %pstate
401 rdpr %pstate, %o1
403 wrpr %o1, 0, %pstate
Dsignal32.c369 unsigned long pstate, paddr; in flush_signal_insns() local
384 __asm__ __volatile__("rdpr %%pstate, %0" : "=r" (pstate)); in flush_signal_insns()
386 : : "r" (pstate), "i" (PSTATE_IE)); in flush_signal_insns()
414 __asm__ __volatile__("wrpr %0, 0x0, %%pstate" : : "r" (pstate)); in flush_signal_insns()
Durtt_fill.S52 wrpr %g0, RTRAP_PSTATE, %pstate
Dprocess_64.c63 unsigned long pstate; in arch_cpu_idle() local
74 : "=&r" (pstate) in arch_cpu_idle()
85 : "=&r" (pstate) in arch_cpu_idle()
Dirq_64.c816 unsigned long pstate, bucket_pa; in handler_irq() local
831 : "=&r" (pstate), "=&r" (bucket_pa) in handler_irq()
Detrap_64.S119 661: wrpr %g0, ETRAP_PSTATE1, %pstate
Dcherrs.S122 wrpr PSTATE_IG | PSTATE_PEF | PSTATE_PRIV, %pstate
164 wrpr PSTATE_IG | PSTATE_PEF | PSTATE_PRIV, %pstate
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dcstep.c78 info->pstate = (nvbios_rd16(bios, data + 0x00) & 0x01e0) >> 5; in nvbios_cstepEp()
85 nvbios_cstepEm(struct nvkm_bios *bios, u8 pstate, u8 *ver, u8 *hdr, in nvbios_cstepEm() argument
90 if (info->pstate == pstate) in nvbios_cstepEm()
Dboost.c81 info->pstate = (nvbios_rd16(bios, data + 0x00) & 0x01e0) >> 5; in nvbios_boostEp()
89 nvbios_boostEm(struct nvkm_bios *bios, u8 pstate, in nvbios_boostEm() argument
94 if (info->pstate == pstate) in nvbios_boostEm()
Dperf.c99 info->pstate = nvbios_rd08(bios, perf + 0x00); in nvbios_perfEp()
/linux-4.4.14/arch/sparc/mm/
Dultra.S59 rdpr %pstate, %g7
61 wrpr %g2, %pstate
76 wrpr %g7, 0x0, %pstate
86 rdpr %pstate, %g7
89 wrpr %g2, %pstate
108 wrpr %g7, 0x0, %pstate
136 rdpr %pstate, %g1
137 wrpr %g1, PSTATE_IE, %pstate
146 wrpr %g1, 0, %pstate
213 rdpr %pstate, %g7
[all …]
Dinit_64.c2645 unsigned long pstate; in __flush_tlb_all() local
2651 : "=r" (pstate) in __flush_tlb_all()
2698 : : "r" (pstate)); in __flush_tlb_all()
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_sysfs.c31 MODULE_PARM_DESC(pstate, "enable sysfs pstate file, which will be moved in the future");
33 module_param_named(pstate, nouveau_pstate, int, 0400);
101 if (info.pstate == state) in nouveau_sysfs_pstate_get()
157 static DEVICE_ATTR(pstate, S_IRUGO | S_IWUSR,
/linux-4.4.14/arch/sparc/lib/
Dclear_page.S62 rdpr %pstate, %o4
63 wrpr %o4, PSTATE_IE, %pstate
68 wrpr %o4, 0x0, %pstate
Dcopy_page.S77 rdpr %pstate, %o2
78 wrpr %o2, PSTATE_IE, %pstate
85 wrpr %o2, 0x0, %pstate
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Dcstep.h7 u8 pstate; member
14 u16 nvbios_cstepEm(struct nvkm_bios *, u8 pstate, u8 *ver, u8 *hdr,
Dboost.h6 u8 pstate; member
Dperf.h7 u8 pstate; member
/linux-4.4.14/arch/arm64/kvm/
Dreset.c38 .regs.pstate = (PSR_MODE_EL1h | PSR_A_BIT | PSR_I_BIT |
43 .regs.pstate = (COMPAT_PSR_MODE_SVC | COMPAT_PSR_A_BIT |
Dguest.c100 if (off == KVM_REG_ARM_CORE_REG(regs.pstate)) { in set_core_reg()
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_crtc.c208 struct mdp5_plane_state *pstate, *pstates[STAGE_MAX + 1] = {NULL}; in blend_setup() local
227 pstate = to_mdp5_plane_state(plane->state); in blend_setup()
228 pstates[pstate->stage] = pstate; in blend_setup()
229 stage[pstate->stage] = mdp5_plane_pipe(plane); in blend_setup()
393 struct drm_plane_state *pstate; in mdp5_crtc_atomic_check() local
399 pstate = state->state->plane_states[drm_plane_index(plane)]; in mdp5_crtc_atomic_check()
404 if (!pstate) in mdp5_crtc_atomic_check()
405 pstate = plane->state; in mdp5_crtc_atomic_check()
407 pstates[cnt].state = to_mdp5_plane_state(pstate); in mdp5_crtc_atomic_check()
Dmdp5_plane.c136 struct mdp5_plane_state *pstate; in mdp5_plane_atomic_set_property() local
140 pstate = to_mdp5_plane_state(state); in mdp5_plane_atomic_set_property()
144 pstate->name = (type)val; \ in mdp5_plane_atomic_set_property()
164 struct mdp5_plane_state *pstate; in mdp5_plane_atomic_get_property() local
168 pstate = to_mdp5_plane_state(state); in mdp5_plane_atomic_get_property()
172 *val = pstate->name; \ in mdp5_plane_atomic_get_property()
673 struct drm_plane_state *pstate = plane->state; in mdp5_plane_mode_set() local
746 hflip = !!(pstate->rotation & BIT(DRM_REFLECT_X)); in mdp5_plane_mode_set()
747 vflip = !!(pstate->rotation & BIT(DRM_REFLECT_Y)); in mdp5_plane_mode_set()
/linux-4.4.14/arch/arm64/kernel/
Ddebug-monitors.c172 spsr = regs->pstate; in set_regs_spsr_ss()
175 regs->pstate = spsr; in set_regs_spsr_ss()
182 spsr = regs->pstate; in clear_regs_spsr_ss()
184 regs->pstate = spsr; in clear_regs_spsr_ss()
Dsignal.c111 __get_user_error(regs->pstate, &sf->uc.uc_mcontext.pstate, err); in restore_sigframe()
181 __put_user_error(regs->pstate, &sf->uc.uc_mcontext.pstate, err); in setup_sigframe()
Darmv8_deprecated.c386 switch (arm_check_condition(instr, regs->pstate)) { in swp_handler()
467 switch (arm_check_condition(instr, regs->pstate)) { in cp15barrier_handler()
570 regs->pstate |= COMPAT_PSR_E_BIT; in compat_setend_handler()
573 regs->pstate &= ~COMPAT_PSR_E_BIT; in compat_setend_handler()
Dprocess.c186 regs->pc, lr, regs->pstate); in __show_regs()
282 childregs->pstate = PSR_MODE_EL1h; in copy_thread()
Dsignal32.c352 __get_user_error(regs->pstate, &sf->uc.uc_mcontext.arm_cpsr, err); in compat_restore_sigframe()
466 compat_ulong_t spsr = regs->pstate & ~(PSR_f | COMPAT_PSR_E_BIT); in compat_setup_return()
501 regs->pstate = spsr; in compat_setup_return()
526 __put_user_error(regs->pstate, &sf->uc.uc_mcontext.arm_cpsr, err); in compat_setup_sigframe()
Dkgdb.c61 { "pstate", 8, offsetof(struct pt_regs, pstate)},
Dasm-offsets.c57 DEFINE(S_PSTATE, offsetof(struct pt_regs, pstate)); in main()
Dtraps.c333 (regs->pstate & hook->pstate_mask) == hook->pstate_val) in call_undef_hook()
Dptrace.c694 reg = task_pt_regs(target)->pstate; in compat_gpr_get()
762 newregs.pstate = reg; in compat_gpr_set()
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dclk.h60 u8 pstate; member
89 int pstate; /* current */ member
/linux-4.4.14/arch/sparc/include/asm/
Dhibernate.h16 unsigned long pstate; member
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sp.h89 unsigned long *pstate; /* pointer to state buffer */ member
475 unsigned long *pstate; member
1406 unsigned long *pstate, bnx2x_obj_type type,
1413 unsigned long *pstate, bnx2x_obj_type type,
1420 unsigned long *pstate, bnx2x_obj_type type,
1460 int state, unsigned long *pstate,
1502 int state, unsigned long *pstate,
Dbnx2x_sp.c258 return !!test_bit(o->state, o->pstate); in bnx2x_raw_check_pending()
264 clear_bit(o->state, o->pstate); in bnx2x_raw_clear_pending()
271 set_bit(o->state, o->pstate); in bnx2x_raw_set_pending()
284 unsigned long *pstate) in bnx2x_state_wait() argument
296 if (!test_bit(state, pstate)) { in bnx2x_state_wait()
320 return bnx2x_state_wait(bp, raw->state, raw->pstate); in bnx2x_raw_wait()
2096 unsigned long *pstate, bnx2x_obj_type type) in bnx2x_init_raw_obj() argument
2104 raw->pstate = pstate; in bnx2x_init_raw_obj()
2114 int state, unsigned long *pstate, bnx2x_obj_type type, in bnx2x_init_vlan_mac_common() argument
2132 state, pstate, type); in bnx2x_init_vlan_mac_common()
[all …]
Dbnx2x_sriov.c620 ramrod->pstate = &vf->filter_state; in bnx2x_vf_prep_rx_mode()
Dbnx2x_main.c6156 ramrod_param.pstate = &bp->sp_state; in bnx2x_set_q_rx_mode()
/linux-4.4.14/arch/sparc/power/
Dhibernate_asm.S30 rdpr %pstate, %g2
110 wrpr %g2, %pstate
/linux-4.4.14/arch/arm64/include/asm/xen/
Devents.h16 return raw_irqs_disabled_flags((unsigned long) regs->pstate); in xen_irqs_disabled()
/linux-4.4.14/arch/arm64/include/uapi/asm/
Dsigcontext.h31 __u64 pstate; member
Dptrace.h72 __u64 pstate; member
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
Dgk20a.c64 *state = clk->pstate; in gk20a_pmu_dvfs_get_cur_state()
77 level = cur_level = clk->pstate; in gk20a_pmu_dvfs_get_target_state()
/linux-4.4.14/drivers/media/platform/blackfin/
Dppi.c212 struct pinctrl_state *pstate; in ppi_set_params() local
217 pstate = pinctrl_lookup_state(pctrl, in ppi_set_params()
219 if (pinctrl_select_state(pctrl, pstate)) in ppi_set_params()
/linux-4.4.14/arch/s390/kernel/
Druntime_instr.c38 cb->pstate = 1; in init_runtime_instr_cb()
/linux-4.4.14/arch/s390/include/asm/
Druntime_instr.h13 __u32 pstate : 1; member
/linux-4.4.14/arch/sparc/include/uapi/asm/
DKbuild30 header-y += pstate.h
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_pm.c1737 const struct intel_plane_state *pstate, in ilk_compute_pri_wm() argument
1741 int bpp = pstate->base.fb ? pstate->base.fb->bits_per_pixel / 8 : 0; in ilk_compute_pri_wm()
1744 if (!cstate->base.active || !pstate->visible) in ilk_compute_pri_wm()
1754 drm_rect_width(&pstate->dst), in ilk_compute_pri_wm()
1766 const struct intel_plane_state *pstate, in ilk_compute_spr_wm() argument
1769 int bpp = pstate->base.fb ? pstate->base.fb->bits_per_pixel / 8 : 0; in ilk_compute_spr_wm()
1772 if (!cstate->base.active || !pstate->visible) in ilk_compute_spr_wm()
1778 drm_rect_width(&pstate->dst), in ilk_compute_spr_wm()
1789 const struct intel_plane_state *pstate, in ilk_compute_cur_wm() argument
1792 int bpp = pstate->base.fb ? pstate->base.fb->bits_per_pixel / 8 : 0; in ilk_compute_cur_wm()
[all …]
/linux-4.4.14/drivers/media/platform/sti/c8sectpfe/
Dc8sectpfe-core.c533 tsin->pstate = pinctrl_lookup_state(fei->pinctrl, tsin_pin_name); in configure_memdma_and_inputblock()
534 if (IS_ERR(tsin->pstate)) { in configure_memdma_and_inputblock()
537 ret = PTR_ERR(tsin->pstate); in configure_memdma_and_inputblock()
541 ret = pinctrl_select_state(fei->pinctrl, tsin->pstate); in configure_memdma_and_inputblock()
Dc8sectpfe-core.h39 struct pinctrl_state *pstate; member
/linux-4.4.14/drivers/net/ethernet/dec/tulip/
Dtulip_core.c1837 pci_power_t pstate; in tulip_suspend() local
1856 pstate = pci_choose_state(pdev, state); in tulip_suspend()
1857 if (state.event == PM_EVENT_SUSPEND && pstate != PCI_D0) { in tulip_suspend()
1861 rc = pci_enable_wake(pdev, pstate, tp->wolinfo.wolopts); in tulip_suspend()
1865 pci_set_power_state(pdev, pstate); in tulip_suspend()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dcl_object.c432 static const char *pstate[] = { in cl_site_stats_print() local
458 seq_printf(m, "%s: %u ", pstate[i], in cl_site_stats_print()
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvif/
Dclass.h359 __s8 pstate; /* out: current pstate index */ member
/linux-4.4.14/arch/arm64/mm/
Dfault.c282 if (IS_ENABLED(CONFIG_ARM64_PAN) && (regs->pstate & PSR_PAN_BIT)) in do_page_fault()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dchip.h673 const char *opa_pstate_name(u32 pstate);
Dchip.c6262 u32 pstate, previous_state; in goto_offline() local
6271 pstate = read_physical_state(dd); in goto_offline()
6272 if (pstate == PLS_OFFLINE) { in goto_offline()
6275 } else if ((pstate & 0xff) == PLS_OFFLINE) { in goto_offline()
8494 const char *opa_pstate_name(u32 pstate) in opa_pstate_name() argument
8510 if (pstate < ARRAY_SIZE(port_physical_names)) in opa_pstate_name()
8511 return port_physical_names[pstate]; in opa_pstate_name()
8586 u32 pstate; in hfi1_ibphys_portstate() local
8589 pstate = read_physical_state(ppd->dd); in hfi1_ibphys_portstate()
8590 ib_pstate = chip_to_opa_pstate(ppd->dd, pstate); in hfi1_ibphys_portstate()
[all …]
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_attr.c1445 uint32_t pstate; in qla2x00_fw_state_show() local
1448 pstate = qlafx00_fw_state_show(dev, attr, buf); in qla2x00_fw_state_show()
1449 return scnprintf(buf, PAGE_SIZE, "0x%x\n", pstate); in qla2x00_fw_state_show()
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-devices-system-cpu226 More details can be found in Documentation/cpu-freq/intel-pstate.txt
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_dpm.c566 adev->pm.dpm.vce_states[i].pstate = in amdgpu_parse_extended_power_table()
Damdgpu.h1569 u8 pstate; member
/linux-4.4.14/drivers/gpu/drm/radeon/
Dr600_dpm.c1125 rdev->pm.dpm.vce_states[i].pstate = in r600_parse_extended_power_table()
Dradeon.h1545 u8 pstate; member