Searched refs:pkg_id (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/drivers/soc/samsung/ |
D | exynos5422-asv.c | 438 static unsigned int exynos5422_asv_parse_table(unsigned int pkg_id) in exynos5422_asv_parse_table() argument 440 return (pkg_id >> EXYNOS5422_TABLE_OFFSET) & EXYNOS5422_TABLE_MASK; in exynos5422_asv_parse_table() 443 static bool exynos5422_asv_parse_bin2(unsigned int pkg_id) in exynos5422_asv_parse_bin2() argument 445 return (pkg_id >> EXYNOS5422_BIN2_OFFSET) & EXYNOS5422_BIN2_MASK; in exynos5422_asv_parse_bin2() 448 static bool exynos5422_asv_parse_sg(unsigned int pkg_id) in exynos5422_asv_parse_sg() argument 450 return (pkg_id >> EXYNOS5422_USESG_OFFSET) & EXYNOS5422_USESG_MASK; in exynos5422_asv_parse_sg() 457 unsigned int pkg_id; in exynos5422_asv_init() local 460 regmap_read(asv->chipid_regmap, EXYNOS_CHIPID_REG_PKG_ID, &pkg_id); in exynos5422_asv_init() 466 asv->use_sg = exynos5422_asv_parse_sg(pkg_id); in exynos5422_asv_init() 467 bin2 = exynos5422_asv_parse_bin2(pkg_id); in exynos5422_asv_init() [all …]
|
/linux-6.6.21/tools/power/x86/intel-speed-select/ |
D | isst-config.c | 61 unsigned short pkg_id; member 73 short pkg_id; member 239 static int get_stored_topology_info(int cpu, int *core_id, int *pkg_id, int *die_id) in get_stored_topology_info() argument 260 *pkg_id = cpu_top.pkg_id; in get_stored_topology_info() 300 cpu_top.pkg_id = parse_int_file(0, in store_cpu_topology() 302 if (cpu_top.pkg_id < 0) in store_cpu_topology() 303 cpu_top.pkg_id = -1; in store_cpu_topology() 329 return cpu_map[cpu].pkg_id; in get_physical_package_id() 335 int core_id, pkg_id, die_id; in get_physical_package_id() local 337 ret = get_stored_topology_info(cpu, &core_id, &pkg_id, &die_id); in get_physical_package_id() [all …]
|
D | isst.h | 129 int pkg_id; member
|
D | isst-core.c | 396 ctdp_level->pkg_id = id->pkg; in isst_get_process_ctdp()
|
/linux-6.6.21/drivers/platform/x86/intel/speed_select_if/ |
D | isst_tpmi_core.c | 387 static struct tpmi_per_power_domain_info *get_instance(int pkg_id, int power_domain_id) in get_instance() argument 392 if (pkg_id < 0 || pkg_id > isst_common.max_index || in get_instance() 393 pkg_id >= topology_max_packages()) in get_instance() 396 sst_inst = isst_common.sst_inst[pkg_id]; in get_instance() 568 int punit_id, punit_cpu_no, pkg_id; in isst_if_clos_assoc() local 591 pkg_id = clos_assoc.socket_id; in isst_if_clos_assoc() 593 sst_inst = isst_common.sst_inst[pkg_id]; in isst_if_clos_assoc()
|
D | isst_if_common.c | 312 int no_matches = 0, pkg_id; in _isst_if_get_pci_dev() local 319 pkg_id = topology_physical_package_id(cpu); in _isst_if_get_pci_dev() 344 isst_pkg_info[pkg_id].pci_dev[bus_no] = _pci_dev; in _isst_if_get_pci_dev() 366 pci_dev = isst_pkg_info[pkg_id].pci_dev[bus_no]; in _isst_if_get_pci_dev()
|
/linux-6.6.21/drivers/hwmon/ |
D | coretemp.c | 90 u16 pkg_id; member 340 return sprintf(buf, "Package id %u\n", pdata->pkg_id); in show_label() 602 pdata->pkg_id = zoneid; in coretemp_device_add()
|
/linux-6.6.21/drivers/powercap/ |
D | intel_rapl_tpmi.c | 87 static struct tpmi_rapl_package *trp_alloc(int pkg_id) in trp_alloc() argument
|
/linux-6.6.21/tools/power/x86/turbostat/ |
D | turbostat.c | 6035 int pkg_id = cpus[cpu_id].physical_package_id; in init_counter() local 6049 t = GET_THREAD(thread_base, thread_id, core_id, node_id, pkg_id); in init_counter() 6050 c = GET_CORE(core_base, core_id, node_id, pkg_id); in init_counter() 6051 p = GET_PKG(pkg_base, pkg_id); in init_counter() 6061 p->package_id = pkg_id; in init_counter()
|