Searched refs:package_id (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/arch/arm64/kernel/ |
D | topology.c | 53 static int __init parse_core(struct device_node *core, int package_id, in parse_core() argument 69 cpu_topology[cpu].package_id = package_id; in parse_core() 91 cpu_topology[cpu].package_id = package_id; in parse_core() 107 static int package_id __initdata; in parse_cluster() 146 ret = parse_core(c, package_id, core_id++); in parse_cluster() 164 package_id++; in parse_cluster() 200 if (cpu_topology[cpu].package_id == -1) in parse_dt_topology() 247 if (cpuid_topo->package_id != cpu_topo->package_id) in update_siblings_masks() 266 if (cpuid_topo->package_id != -1) in store_cpu_topology() 280 cpuid_topo->package_id = MPIDR_AFFINITY_LEVEL(mpidr, 2) | in store_cpu_topology() [all …]
|
/Linux-v4.19/drivers/soc/tegra/fuse/ |
D | speedo-tegra30.c | 124 int package_id = tegra_fuse_read_early(FUSE_PACKAGE_INFO) & 0x0F; in rev_sku_to_speedo_ids() local 142 switch (package_id) { in rev_sku_to_speedo_ids() 154 pr_err("Tegra Unknown pkg %d\n", package_id); in rev_sku_to_speedo_ids() 159 switch (package_id) { in rev_sku_to_speedo_ids() 171 pr_err("Tegra Unknown pkg %d\n", package_id); in rev_sku_to_speedo_ids() 176 switch (package_id) { in rev_sku_to_speedo_ids() 188 pr_err("Tegra Unknown pkg %d\n", package_id); in rev_sku_to_speedo_ids() 213 switch (package_id) { in rev_sku_to_speedo_ids() 225 pr_err("Tegra Unknown pkg %d\n", package_id); in rev_sku_to_speedo_ids()
|
/Linux-v4.19/net/ncsi/ |
D | ncsi-netlink.c | 153 unsigned int package_id; in ncsi_pkg_info_nl() local 184 package_id = nla_get_u32(info->attrs[NCSI_ATTR_PACKAGE_ID]); in ncsi_pkg_info_nl() 191 rc = ncsi_write_package_info(skb, ndp, package_id); in ncsi_pkg_info_nl() 214 unsigned int package_id; in ncsi_pkg_info_all_nl() local 233 package_id = cb->args[0]; in ncsi_pkg_info_all_nl() 236 if (np->id == package_id) in ncsi_pkg_info_all_nl() 259 cb->args[0] = package_id + 1; in ncsi_pkg_info_all_nl() 271 u32 package_id, channel_id; in ncsi_set_interface_nl() local 289 package_id = nla_get_u32(info->attrs[NCSI_ATTR_PACKAGE_ID]); in ncsi_set_interface_nl() 295 if (np->id == package_id) in ncsi_set_interface_nl() [all …]
|
/Linux-v4.19/arch/arm64/include/asm/ |
D | topology.h | 10 int package_id; member 19 #define topology_physical_package_id(cpu) (cpu_topology[cpu].package_id)
|
/Linux-v4.19/arch/mips/loongson64/loongson-3/ |
D | smp.c | 704 uint64_t package_id = cpu_data[cpu].package; in loongson3_disable_clock() local 707 LOONGSON_CHIPCFG(package_id) &= ~(1 << (12 + core_id)); in loongson3_disable_clock() 710 LOONGSON_FREQCTRL(package_id) &= ~(1 << (core_id * 4 + 3)); in loongson3_disable_clock() 718 uint64_t package_id = cpu_data[cpu].package; in loongson3_enable_clock() local 721 LOONGSON_CHIPCFG(package_id) |= 1 << (12 + core_id); in loongson3_enable_clock() 724 LOONGSON_FREQCTRL(package_id) |= 1 << (core_id * 4 + 3); in loongson3_enable_clock()
|
/Linux-v4.19/drivers/input/rmi4/ |
D | rmi_f01.c | 58 u32 package_id; member 235 props->package_id = get_unaligned_le64(queries); in rmi_f01_read_properties() 320 u32 package_id = f01->properties.package_id; in rmi_driver_package_id_show() local 323 package_id & 0xffff, (package_id >> 16) & 0xffff); in rmi_driver_package_id_show() 326 static DEVICE_ATTR(package_id, 0444, rmi_driver_package_id_show, NULL);
|
/Linux-v4.19/tools/power/x86/turbostat/ |
D | turbostat.c | 208 unsigned int package_id; member 818 outp += sprintf(outp, "package: %d\n", p->package_id); in dump_counters() 918 outp += sprintf(outp, "%s%d", (printed++ ? delim : ""), p->package_id); in format_counters() 4902 (*p)[i].package_id = i; in allocate_counters() 4943 p->package_id = pkg_id; in init_counter()
|