/linux-6.1.9/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.1.9/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.1.9/drivers/base/ |
D | arch_topology.c | 499 static int __init parse_core(struct device_node *core, int package_id, in parse_core() argument 515 cpu_topology[cpu].package_id = package_id; in parse_core() 537 cpu_topology[cpu].package_id = package_id; in parse_core() 548 static int __init parse_cluster(struct device_node *cluster, int package_id, in parse_cluster() argument 569 ret = parse_cluster(c, package_id, i, depth + 1); in parse_cluster() 595 ret = parse_core(c, package_id, cluster_id, in parse_cluster() 621 int package_id = 0, ret; in parse_socket() local 624 snprintf(name, sizeof(name), "socket%d", package_id); in parse_socket() 628 ret = parse_cluster(c, package_id, -1, 0); in parse_socket() 633 package_id++; in parse_socket() [all …]
|
/linux-6.1.9/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.1.9/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.1.9/include/linux/ |
D | arch_topology.h | 70 int package_id; member 80 #define topology_physical_package_id(cpu) (cpu_topology[cpu].package_id)
|
/linux-6.1.9/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() 319 u32 package_id = f01->properties.package_id; in rmi_driver_package_id_show() local 322 package_id & 0xffff, (package_id >> 16) & 0xffff); in rmi_driver_package_id_show() 325 static DEVICE_ATTR(package_id, 0444, rmi_driver_package_id_show, NULL);
|
/linux-6.1.9/arch/mips/loongson64/ |
D | smp.c | 830 uint64_t package_id = cpu_data[cpu].package; in loongson3_disable_clock() local 833 LOONGSON_CHIPCFG(package_id) &= ~(1 << (12 + core_id)); in loongson3_disable_clock() 836 LOONGSON_FREQCTRL(package_id) &= ~(1 << (core_id * 4 + 3)); in loongson3_disable_clock() 844 uint64_t package_id = cpu_data[cpu].package; in loongson3_enable_clock() local 847 LOONGSON_CHIPCFG(package_id) |= 1 << (12 + core_id); in loongson3_enable_clock() 850 LOONGSON_FREQCTRL(package_id) |= 1 << (core_id * 4 + 3); in loongson3_enable_clock()
|
/linux-6.1.9/drivers/platform/x86/intel/uncore-frequency/ |
D | uncore-frequency-common.h | 42 int package_id; member
|
D | uncore-frequency.c | 137 data->package_id = topology_physical_package_id(cpu); in uncore_event_cpu_online()
|
D | uncore-frequency-common.c | 190 sprintf(data->name, "package_%02d_die_%02d", data->package_id, data->die_id); in uncore_freq_add_entry()
|
/linux-6.1.9/arch/arm64/kernel/ |
D | topology.c | 67 cpu_topology[cpu].package_id = topology_id; in parse_acpi_topology()
|
/linux-6.1.9/tools/power/x86/turbostat/ |
D | turbostat.c | 392 unsigned int package_id; member 1059 outp += sprintf(outp, "package: %d\n", p->package_id); in dump_counters() 1155 outp += sprintf(outp, "%s%d", (printed++ ? delim : ""), p->package_id); in format_counters() 2326 p->uncore_mhz = get_uncore_mhz(p->package_id, 0); in get_counters() 6020 (*p)[i].package_id = i; in allocate_counters() 6060 p->package_id = pkg_id; in init_counter()
|