Home
last modified time | relevance | path

Searched refs:pkg (Results 1 – 6 of 6) sorted by relevance

/arch/x86/events/amd/
Dpower.c167 EVENT_ATTR_STR(power-pkg, power_pkg, "event=0x01");
169 EVENT_ATTR_STR(power-pkg.unit, power_pkg_unit, "mWatts");
172 EVENT_ATTR_STR(power-pkg.scale, power_pkg_scale, "1.000000e-3");
/arch/x86/include/asm/
Dtopology.h137 int topology_phys_to_logical_pkg(unsigned int pkg);
147 static inline int topology_phys_to_logical_pkg(unsigned int pkg) { return 0; } in topology_phys_to_logical_pkg() argument
/arch/powerpc/platforms/pseries/
Dpapr_scm.c672 struct nd_cmd_pkg *pkg) in papr_scm_service_pdsm() argument
675 struct nd_pkg_pdsm *pdsm_pkg = (struct nd_pkg_pdsm *)pkg->nd_payload; in papr_scm_service_pdsm()
676 enum papr_pdsm pdsm = (enum papr_pdsm)pkg->nd_command; in papr_scm_service_pdsm()
693 pkg->nd_size_in != (pdsc->size_in + ND_PDSM_HDR_SIZE)) { in papr_scm_service_pdsm()
695 pdsm, pkg->nd_size_in); in papr_scm_service_pdsm()
701 pkg->nd_size_out != (pdsc->size_out + ND_PDSM_HDR_SIZE)) { in papr_scm_service_pdsm()
703 pdsm, pkg->nd_size_out); in papr_scm_service_pdsm()
716 pkg->nd_fw_size = ND_PDSM_HDR_SIZE; in papr_scm_service_pdsm()
720 pkg->nd_fw_size = ND_PDSM_HDR_SIZE + rc; in papr_scm_service_pdsm()
726 pkg->nd_fw_size = ND_PDSM_HDR_SIZE; in papr_scm_service_pdsm()
/arch/x86/events/
Drapl.c398 RAPL_EVENT_ATTR_STR(energy-pkg , rapl_pkg, "event=0x02");
404 RAPL_EVENT_ATTR_STR(energy-pkg.unit , rapl_pkg_unit, "Joules");
413 RAPL_EVENT_ATTR_STR(energy-pkg.scale, rapl_pkg_scale, "2.3283064365386962890625e-10");
/arch/x86/kernel/
Dsmpboot.c340 int topology_update_package_map(unsigned int pkg, unsigned int cpu) in topology_update_package_map() argument
345 new = topology_phys_to_logical_pkg(pkg); in topology_update_package_map()
350 if (new != pkg) { in topology_update_package_map()
352 cpu, pkg, new); in topology_update_package_map()
/arch/x86/events/intel/
Duncore_snbep.c4676 int phys_id, pkg; in snr_uncore_get_mc_dev() local
4685 pkg = topology_phys_to_logical_pkg(phys_id); in snr_uncore_get_mc_dev()
4686 if (pkg < 0) in snr_uncore_get_mc_dev()
4688 else if (pkg == id) in snr_uncore_get_mc_dev()