Home
last modified time | relevance | path

Searched refs:pxpt (Results 1 – 5 of 5) sorted by relevance

/xen/xen/drivers/cpufreq/
A Dutility.c65 struct pm_px *pxpt; in cpufreq_statistic_update() local
79 pxpt->u.cur = to; in cpufreq_statistic_update()
105 if ( pxpt ) { in cpufreq_statistic_init()
113 if ( !pxpt ) { in cpufreq_statistic_init()
121 xfree(pxpt); in cpufreq_statistic_init()
127 if (!pxpt->u.pt) { in cpufreq_statistic_init()
129 xfree(pxpt); in cpufreq_statistic_init()
157 if (!pxpt) { in cpufreq_statistic_exit()
163 xfree(pxpt->u.pt); in cpufreq_statistic_exit()
164 xfree(pxpt); in cpufreq_statistic_exit()
[all …]
A Dcpufreq.c426 struct processor_performance *pxpt; in set_px_pminfo() local
449 pxpt = &pmpt->perf; in set_px_pminfo()
466 memcpy ((void *)&pxpt->status_register, in set_px_pminfo()
472 print_PCT(&pxpt->control_register); in set_px_pminfo()
473 print_PCT(&pxpt->status_register); in set_px_pminfo()
501 print_PSS(pxpt->states,pxpt->state_count); in set_px_pminfo()
516 memcpy ((void *)&pxpt->domain_info, in set_px_pminfo()
521 print_PSD(&pxpt->domain_info); in set_px_pminfo()
529 print_PPC(pxpt->platform_limit); in set_px_pminfo()
531 if ( pxpt->init == XEN_PX_INIT ) in set_px_pminfo()
[all …]
/xen/xen/drivers/acpi/
A Dpmstat.c87 struct pm_px *pxpt; in do_get_pm_info() local
93 pxpt = per_cpu(cpufreq_statistic_data, op->cpuid); in do_get_pm_info()
94 if ( !pxpt || !pxpt->u.pt || !pxpt->u.trans_pt ) in do_get_pm_info()
100 pxpt->u.usable = pmpt->perf.state_count - pmpt->perf.platform_limit; in do_get_pm_info()
102 cpufreq_residency_update(op->cpuid, pxpt->u.cur); in do_get_pm_info()
105 if ( copy_to_guest(op->u.getpx.trans_pt, pxpt->u.trans_pt, ct*ct) ) in do_get_pm_info()
112 if ( copy_to_guest(op->u.getpx.pt, pxpt->u.pt, ct) ) in do_get_pm_info()
119 op->u.getpx.total = pxpt->u.total; in do_get_pm_info()
120 op->u.getpx.usable = pxpt->u.usable; in do_get_pm_info()
121 op->u.getpx.last = pxpt->u.last; in do_get_pm_info()
[all …]
/xen/tools/libxc/
A Dxc_pm.c45 int xc_pm_get_pxstat(xc_interface *xch, int cpuid, struct xc_px_stat *pxpt) in xc_pm_get_pxstat() argument
49 DECLARE_NAMED_HYPERCALL_BOUNCE(trans, pxpt->trans_pt, 0, XC_HYPERCALL_BUFFER_BOUNCE_BOTH); in xc_pm_get_pxstat()
50 DECLARE_NAMED_HYPERCALL_BOUNCE(pt, pxpt->pt, 0, XC_HYPERCALL_BUFFER_BOUNCE_BOTH); in xc_pm_get_pxstat()
54 if ( !pxpt->trans_pt || !pxpt->pt ) in xc_pm_get_pxstat()
89 pxpt->total = sysctl.u.get_pmstat.u.getpx.total; in xc_pm_get_pxstat()
90 pxpt->usable = sysctl.u.get_pmstat.u.getpx.usable; in xc_pm_get_pxstat()
91 pxpt->last = sysctl.u.get_pmstat.u.getpx.last; in xc_pm_get_pxstat()
92 pxpt->cur = sysctl.u.get_pmstat.u.getpx.cur; in xc_pm_get_pxstat()
/xen/tools/libxc/include/
A Dxenctrl.h1861 int xc_pm_get_pxstat(xc_interface *xch, int cpuid, struct xc_px_stat *pxpt);

Completed in 11 milliseconds