Home
last modified time | relevance | path

Searched refs:package_id (Results 1 – 22 of 22) sorted by relevance

/linux-6.12.1/arch/parisc/kernel/
Dtopology.c60 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/
Dspeedo-tegra30.c113 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/
Darch_topology.c538 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/
Dncsi-netlink.c157 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/
Dtopology.c190 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/
Dsmp.c801 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/
Dintel_plr_tpmi.c52 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()
Dtpmi_power_domains.h13 int tpmi_get_linux_cpu_number(int package_id, int die_id, int punit_core_id);
Dtpmi_power_domains.c98 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()
Dtpmi.c708 tpmi_info->plat_info.package_id = header.pkg; in tpmi_process_info()
/linux-6.12.1/drivers/powercap/
Dintel_rapl_tpmi.c265 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/
Drmi_f01.c55 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/
Darch_topology.h73 int package_id; member
83 #define topology_physical_package_id(cpu) (cpu_topology[cpu].package_id)
Dintel_tpmi.h44 u8 package_id; member
/linux-6.12.1/drivers/platform/x86/intel/uncore-frequency/
Duncore-frequency-common.c43 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()
Duncore-frequency-common.h55 int package_id; member
Duncore-frequency-tpmi.c471 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()
Duncore-frequency.c162 data->package_id = topology_physical_package_id(cpu); in uncore_event_cpu_online()
/linux-6.12.1/drivers/platform/x86/intel/speed_select_if/
Disst_tpmi_core.c247 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/
Dtopology.c67 cpu_topology[cpu].package_id = topology_id; in parse_acpi_topology()
/linux-6.12.1/Documentation/admin-guide/pm/
Dintel_uncore_frequency_scaling.rst86 The scope of control is specified by attributes "package_id", "domain_id"
97 ``package_id``
/linux-6.12.1/tools/power/x86/turbostat/
Dturbostat.c1631 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 …]