Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/base/
Darch_topology.c329 static int __init parse_core(struct device_node *core, int package_id, in parse_core() argument
345 cpu_topology[cpu].package_id = package_id; in parse_core()
366 cpu_topology[cpu].package_id = package_id; in parse_core()
382 static int package_id __initdata; in parse_cluster()
421 ret = parse_core(c, package_id, core_id++); in parse_cluster()
439 package_id++; in parse_cluster()
475 if (cpu_topology[cpu].package_id == -1) in parse_dt_topology()
523 if (cpuid_topo->package_id != cpu_topo->package_id) in update_siblings_masks()
559 cpu_topo->package_id = -1; in reset_cpu_topology()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dtopology.c30 if (cpuid_topo->package_id != -1) in store_cpu_topology()
55 cpuid_topo->package_id = cpu_to_node(cpuid); in store_cpu_topology()
58 cpuid, cpuid_topo->package_id, cpuid_topo->core_id, in store_cpu_topology()
107 cpu_topology[cpu].package_id = topology_id; in parse_acpi_topology()
/kernel/linux/linux-5.10/include/linux/
Darch_topology.h52 int package_id; member
62 #define topology_physical_package_id(cpu) (cpu_topology[cpu].package_id)
/kernel/linux/linux-5.10/drivers/input/rmi4/
Drmi_f01.c55 u32 package_id; member
232 props->package_id = get_unaligned_le64(queries); in rmi_f01_read_properties()
317 u32 package_id = f01->properties.package_id; in rmi_driver_package_id_show() local
320 package_id & 0xffff, (package_id >> 16) & 0xffff); in rmi_driver_package_id_show()
323 static DEVICE_ATTR(package_id, 0444, rmi_driver_package_id_show, NULL);
/kernel/linux/linux-5.10/arch/mips/loongson64/
Dsmp.c755 uint64_t package_id = cpu_data[cpu].package; in loongson3_disable_clock() local
758 LOONGSON_CHIPCFG(package_id) &= ~(1 << (12 + core_id)); in loongson3_disable_clock()
761 LOONGSON_FREQCTRL(package_id) &= ~(1 << (core_id * 4 + 3)); in loongson3_disable_clock()
769 uint64_t package_id = cpu_data[cpu].package; in loongson3_enable_clock() local
772 LOONGSON_CHIPCFG(package_id) |= 1 << (12 + core_id); in loongson3_enable_clock()
775 LOONGSON_FREQCTRL(package_id) |= 1 << (core_id * 4 + 3); in loongson3_enable_clock()
/kernel/linux/linux-5.10/tools/power/x86/turbostat/
Dturbostat.c215 unsigned int package_id; member
960 outp += sprintf(outp, "package: %d\n", p->package_id); in dump_counters()
1061 outp += sprintf(outp, "%s%d", (printed++ ? delim : ""), p->package_id); in format_counters()
5524 (*p)[i].package_id = i; in allocate_counters()
5565 p->package_id = pkg_id; in init_counter()