/linux-6.12.1/arch/parisc/kernel/ |
D | topology.c | 60 cpuid_topo->package_id = cpu_topology[cpu].package_id; in store_cpu_topology() 65 if (cpuid_topo->package_id == -1) in store_cpu_topology() 66 max_socket = max(max_socket, cpu_topology[cpu].package_id); in store_cpu_topology() 69 if (cpuid_topo->package_id == -1) in store_cpu_topology() 70 cpuid_topo->package_id = max_socket + 1; in store_cpu_topology() 77 cpu_topology[cpuid].package_id); in store_cpu_topology()
|
/linux-6.12.1/drivers/soc/tegra/fuse/ |
D | speedo-tegra30.c | 113 int package_id = tegra_fuse_read_early(FUSE_PACKAGE_INFO) & 0x0F; in rev_sku_to_speedo_ids() local 131 switch (package_id) { in rev_sku_to_speedo_ids() 143 pr_err("Tegra Unknown pkg %d\n", package_id); in rev_sku_to_speedo_ids() 148 switch (package_id) { in rev_sku_to_speedo_ids() 160 pr_err("Tegra Unknown pkg %d\n", package_id); in rev_sku_to_speedo_ids() 165 switch (package_id) { in rev_sku_to_speedo_ids() 177 pr_err("Tegra Unknown pkg %d\n", package_id); in rev_sku_to_speedo_ids() 202 switch (package_id) { in rev_sku_to_speedo_ids() 214 pr_err("Tegra Unknown pkg %d\n", package_id); in rev_sku_to_speedo_ids()
|
/linux-6.12.1/drivers/base/ |
D | arch_topology.c | 538 static int __init parse_core(struct device_node *core, int package_id, in parse_core() argument 557 cpu_topology[cpu].package_id = package_id; in parse_core() 576 cpu_topology[cpu].package_id = package_id; in parse_core() 587 static int __init parse_cluster(struct device_node *cluster, int package_id, in parse_cluster() argument 611 ret = parse_cluster(c, package_id, i, depth + 1); in parse_cluster() 637 ret = parse_core(c, package_id, cluster_id, core_id++); in parse_cluster() 659 int package_id = 0, ret; in parse_socket() local 662 snprintf(name, sizeof(name), "socket%d", package_id); in parse_socket() 670 ret = parse_cluster(c, package_id, -1, 0); in parse_socket() 674 package_id++; in parse_socket() [all …]
|
/linux-6.12.1/net/ncsi/ |
D | ncsi-netlink.c | 157 unsigned int package_id; in ncsi_pkg_info_nl() local 188 package_id = nla_get_u32(info->attrs[NCSI_ATTR_PACKAGE_ID]); in ncsi_pkg_info_nl() 195 rc = ncsi_write_package_info(skb, ndp, package_id); in ncsi_pkg_info_nl() 218 unsigned int package_id; in ncsi_pkg_info_all_nl() local 237 package_id = cb->args[0]; in ncsi_pkg_info_all_nl() 240 if (np->id == package_id) in ncsi_pkg_info_all_nl() 267 cb->args[0] = package_id + 1; in ncsi_pkg_info_all_nl() 279 u32 package_id, channel_id; in ncsi_set_interface_nl() local 297 package_id = nla_get_u32(info->attrs[NCSI_ATTR_PACKAGE_ID]); in ncsi_set_interface_nl() 301 if (np->id == package_id) in ncsi_set_interface_nl() [all …]
|
/linux-6.12.1/arch/arm/kernel/ |
D | topology.c | 190 if (cpuid_topo->package_id != -1) in store_cpu_topology() 206 cpuid_topo->package_id = MPIDR_AFFINITY_LEVEL(mpidr, 2); in store_cpu_topology() 211 cpuid_topo->package_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); in store_cpu_topology() 221 cpuid_topo->package_id = -1; in store_cpu_topology() 229 cpu_topology[cpuid].package_id, mpidr); in store_cpu_topology()
|
/linux-6.12.1/arch/mips/loongson64/ |
D | smp.c | 801 uint64_t package_id = cpu_data[cpu].package; in loongson3_disable_clock() local 803 if (!loongson_chipcfg[package_id] || !loongson_freqctrl[package_id]) in loongson3_disable_clock() 807 LOONGSON_CHIPCFG(package_id) &= ~(1 << (12 + core_id)); in loongson3_disable_clock() 810 LOONGSON_FREQCTRL(package_id) &= ~(1 << (core_id * 4 + 3)); in loongson3_disable_clock() 818 uint64_t package_id = cpu_data[cpu].package; in loongson3_enable_clock() local 820 if (!loongson_chipcfg[package_id] || !loongson_freqctrl[package_id]) in loongson3_enable_clock() 824 LOONGSON_CHIPCFG(package_id) |= 1 << (12 + core_id); in loongson3_enable_clock() 827 LOONGSON_FREQCTRL(package_id) |= 1 << (core_id * 4 + 3); in loongson3_enable_clock()
|
/linux-6.12.1/drivers/platform/x86/intel/ |
D | intel_plr_tpmi.c | 52 int package_id; member 207 if (plr_die->package_id != topology_physical_package_id(cpu)) in plr_status_show() 247 if (plr_die->package_id != topology_physical_package_id(cpu)) in plr_status_write() 307 plr->die_info[i].package_id = plat_info->package_id; in intel_plr_probe()
|
D | tpmi_power_domains.h | 13 int tpmi_get_linux_cpu_number(int package_id, int die_id, int punit_core_id);
|
D | tpmi_power_domains.c | 98 int tpmi_get_linux_cpu_number(int package_id, int domain_id, int punit_core_id) in tpmi_get_linux_cpu_number() argument 105 if (info->punit_domain_id == domain_id && info->pkg_id == package_id) { in tpmi_get_linux_cpu_number()
|
D | tpmi.c | 708 tpmi_info->plat_info.package_id = header.pkg; in tpmi_process_info()
|
/linux-6.12.1/drivers/powercap/ |
D | intel_rapl_tpmi.c | 265 trp = trp_alloc(info->package_id); in intel_rapl_tpmi_probe() 301 trp->rp = rapl_find_package_domain(info->package_id, &trp->priv, false); in intel_rapl_tpmi_probe() 303 dev_err(&auxdev->dev, "Domain for Package%d already exists\n", info->package_id); in intel_rapl_tpmi_probe() 308 trp->rp = rapl_add_package(info->package_id, &trp->priv, false); in intel_rapl_tpmi_probe() 311 info->package_id, PTR_ERR(trp->rp)); in intel_rapl_tpmi_probe()
|
/linux-6.12.1/drivers/input/rmi4/ |
D | rmi_f01.c | 55 u32 package_id; member 234 props->package_id = get_unaligned_le64(queries); in rmi_f01_read_properties() 318 u32 package_id = f01->properties.package_id; in rmi_driver_package_id_show() local 321 package_id & 0xffff, (package_id >> 16) & 0xffff); in rmi_driver_package_id_show() 324 static DEVICE_ATTR(package_id, 0444, rmi_driver_package_id_show, NULL);
|
/linux-6.12.1/include/linux/ |
D | arch_topology.h | 73 int package_id; member 83 #define topology_physical_package_id(cpu) (cpu_topology[cpu].package_id)
|
D | intel_tpmi.h | 44 u8 package_id; member
|
/linux-6.12.1/drivers/platform/x86/intel/uncore-frequency/ |
D | uncore-frequency-common.c | 43 return sprintf(buf, "%u\n", data->package_id); in show_package_id() 180 init_attribute_root_ro(package_id); in create_attr_group() 240 sprintf(data->name, "package_%02d_die_%02d", data->package_id, data->die_id); in uncore_freq_add_entry()
|
D | uncore-frequency-common.h | 55 int package_id; member
|
D | uncore-frequency-tpmi.c | 471 pkg = plat_info->package_id; in uncore_probe() 555 cluster_info->uncore_data.package_id = pkg; in uncore_probe() 590 tpmi_uncore->root_cluster.uncore_data.package_id = pkg; in uncore_probe()
|
D | uncore-frequency.c | 162 data->package_id = topology_physical_package_id(cpu); in uncore_event_cpu_online()
|
/linux-6.12.1/drivers/platform/x86/intel/speed_select_if/ |
D | isst_tpmi_core.c | 247 int package_id; member 289 int package_id; member 1473 pkg = plat_info->package_id; in tpmi_sst_dev_add() 1542 pd_info[i].package_id = pkg; in tpmi_sst_dev_add() 1573 tpmi_sst->package_id = pkg; in tpmi_sst_dev_add() 1612 isst_common.sst_inst[tpmi_sst->package_id] = NULL; in tpmi_sst_dev_remove()
|
/linux-6.12.1/arch/arm64/kernel/ |
D | topology.c | 67 cpu_topology[cpu].package_id = topology_id; in parse_acpi_topology()
|
/linux-6.12.1/Documentation/admin-guide/pm/ |
D | intel_uncore_frequency_scaling.rst | 86 The scope of control is specified by attributes "package_id", "domain_id" 97 ``package_id``
|
/linux-6.12.1/tools/power/x86/turbostat/ |
D | turbostat.c | 1631 unsigned int package_id; member 2561 outp += sprintf(outp, "package: %d\n", p->package_id); in dump_counters() 2678 outp += sprintf(outp, "%s%d", (printed++ ? delim : ""), p->package_id); in format_counters() 4604 status = get_rapl_counters(cpu, p->package_id, c, p); in get_counters() 4616 p->uncore_mhz = get_legacy_uncore_mhz(p->package_id); in get_counters() 4640 path = find_sysfs_path_by_id(mp->sp, p->package_id); in get_counters() 4642 warnx("%s: package_id %d not found", __func__, p->package_id); in get_counters() 4654 p->pmt_counter[i] = pmt_read_counter(pp, p->package_id); in get_counters() 6390 int package_id, domain_id, cluster_id; in probe_intel_uncore_frequency_cluster() local 6399 package_id = read_sysfs_int(path); in probe_intel_uncore_frequency_cluster() [all …]
|