Home
last modified time | relevance | path

Searched refs:die_id (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.4/tools/power/x86/intel-speed-select/
Disst-config.c55 unsigned short die_id; member
201 int j, online, pkg_id, die_id = 0, skip = 0; in for_each_online_package_in_set() local
212 die_id = get_physical_die_id(i); in for_each_online_package_in_set()
213 if (die_id < 0) in for_each_online_package_in_set()
214 die_id = 0; in for_each_online_package_in_set()
217 pkg_id = (MAX_PACKAGE_COUNT * pkg_id + die_id); in for_each_online_package_in_set()
309 int pkg_id, die_id; in set_cpu_present_cpu_mask() local
312 die_id = get_physical_die_id(i); in set_cpu_present_cpu_mask()
313 if (die_id < 0) in set_cpu_present_cpu_mask()
314 die_id = 0; in set_cpu_present_cpu_mask()
[all …]
Disst.h74 int die_id; member
114 int die_id; member
163 extern int get_cpu_count(int pkg_id, int die_id);
172 extern int find_logical_cpu(int pkg_id, int die_id, int phy_cpu);
Disst-core.c560 ctdp_level->die_id = get_physical_die_id(cpu); in isst_get_process_ctdp()
693 clos_config->die_id = get_physical_die_id(cpu); in isst_pm_get_clos()
/Linux-v5.4/tools/perf/util/
Dcpumap.c172 int cpu, die_id, s; in cpu_map__get_die() local
179 die_id = cpu_map__get_die_id(cpu); in cpu_map__get_die()
181 if (die_id == -1) in cpu_map__get_die()
182 die_id = 0; in cpu_map__get_die()
194 if (WARN_ONCE(die_id >> 8, "The die id number is too big.\n")) in cpu_map__get_die()
200 return (s << 8) | (die_id & 0xff); in cpu_map__get_die()
Denv.h13 int die_id; member
Denv.c252 env->cpu[cpu].die_id = cpu_map__get_die_id(cpu); in perf_env__read_cpu_topology_map()
Dheader.c629 ret = do_write(ff, &perf_env.cpu[j].die_id, in write_cpu_topology()
630 sizeof(perf_env.cpu[j].die_id)); in write_cpu_topology()
1506 ph->env.cpu[i].die_id, in print_cpu_topology()
2326 ph->env.cpu[i].die_id = nr; in process_cpu_topology()
/Linux-v5.4/drivers/gpu/drm/amd/include/
Ddiscovery.h66 uint16_t die_id; member
102 uint16_t die_id; member
/Linux-v5.4/drivers/base/
Dtopology.c46 define_id_show_func(die_id);
47 static DEVICE_ATTR_RO(die_id);
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_discovery.c289 if (le16_to_cpu(dhdr->die_id) != i) { in amdgpu_discovery_reg_base_init()
291 le16_to_cpu(dhdr->die_id), i); in amdgpu_discovery_reg_base_init()
296 le16_to_cpu(dhdr->die_id), num_ips); in amdgpu_discovery_reg_base_init()
/Linux-v5.4/tools/perf/
Dbuiltin-stat.c960 int die_id = -1, cpu = perf_env__get_cpu(env, map, idx); in perf_env__get_die() local
972 if (WARN_ONCE(env->cpu[cpu].die_id >> 8, "The die id number is too big.\n")) in perf_env__get_die()
975 die_id = (env->cpu[cpu].socket_id << 8) | (env->cpu[cpu].die_id & 0xff); in perf_env__get_die()
978 return die_id; in perf_env__get_die()
997 if (WARN_ONCE(env->cpu[cpu].die_id >> 8, "The die id number is too big.\n")) in perf_env__get_core()
1004 (env->cpu[cpu].die_id << 16) | in perf_env__get_core()
/Linux-v5.4/drivers/usb/musb/
Dtusb6010.c47 u32 die_id; in tusb_get_revision() local
52 die_id = TUSB_DIDR1_HI_CHIP_REV(musb_readl(tbase, in tusb_get_revision()
54 if (die_id >= TUSB_DIDR1_HI_REV_31) in tusb_get_revision()
/Linux-v5.4/arch/x86/kernel/
Dsmpboot.c307 int topology_phys_to_logical_die(unsigned int die_id, unsigned int cur_cpu) in topology_phys_to_logical_die() argument
315 if (c->initialized && c->cpu_die_id == die_id && in topology_phys_to_logical_die()
/Linux-v5.4/Documentation/admin-guide/
Dcputopology.rst15 die_id:
/Linux-v5.4/tools/power/x86/turbostat/
Dturbostat.c279 int die_id; member
945 outp += sprintf(outp, "%s%d", (printed++ ? delim : ""), cpus[t->cpu_id].die_id); in format_counters()
5011 cpus[i].die_id = get_die_id(i); in topology_probe()
5012 if (cpus[i].die_id > max_die_id) in topology_probe()
5013 max_die_id = cpus[i].die_id; in topology_probe()
5072 i, cpus[i].physical_package_id, cpus[i].die_id, in topology_probe()
/Linux-v5.4/tools/perf/Documentation/
Dperf.data-file-format.txt182 uint32_t die_id[nr_cpus_avail]; /* from previously processed HEADER_NR_CPUS, VLA */