Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Dsmuio_v13_0.c83 u32 data, die_id; in smuio_v13_0_get_die_id() local
86 die_id = REG_GET_FIELD(data, SMUIO_MCM_CONFIG, DIE_ID); in smuio_v13_0_get_die_id()
88 return die_id; in smuio_v13_0_get_die_id()
Dgfx_v9_4_2.h30 uint32_t die_id);
Damdgpu_discovery.c951 kobject_set_name(&ip_die_entry->ip_kset.kobj, "%d", le16_to_cpu(dhdr->die_id)); in amdgpu_discovery_sysfs_recurse()
1100 if (le16_to_cpu(dhdr->die_id) != i) { in amdgpu_discovery_reg_base_init()
1102 le16_to_cpu(dhdr->die_id), i); in amdgpu_discovery_reg_base_init()
1107 le16_to_cpu(dhdr->die_id), num_ips); in amdgpu_discovery_reg_base_init()
Dgfx_v9_4_2.c725 uint32_t die_id) in gfx_v9_4_2_init_golden_registers() argument
732 switch (die_id) { in gfx_v9_4_2_init_golden_registers()
746 die_id); in gfx_v9_4_2_init_golden_registers()
/Linux-v6.1/tools/power/x86/intel-speed-select/
Disst-config.c63 unsigned short die_id; member
74 short die_id; member
220 static int get_stored_topology_info(int cpu, int *core_id, int *pkg_id, int *die_id) in get_stored_topology_info() argument
243 *die_id = cpu_top.die_id; in get_stored_topology_info()
286 cpu_top.die_id = parse_int_file(0, in store_cpu_topology()
288 if (cpu_top.die_id < 0) in store_cpu_topology()
289 cpu_top.die_id = -1; in store_cpu_topology()
316 int core_id, pkg_id, die_id; in get_physical_package_id() local
318 ret = get_stored_topology_info(cpu, &core_id, &pkg_id, &die_id); in get_physical_package_id()
340 int core_id, pkg_id, die_id; in get_physical_core_id() local
[all …]
Disst.h129 int die_id; member
Disst-core.c786 ctdp_level->die_id = id->die; in isst_get_process_ctdp()
/Linux-v6.1/drivers/thermal/intel/
Dintel_hfi.c360 u16 die_id; in intel_hfi_online() local
371 die_id = topology_logical_die_id(cpu); in intel_hfi_online()
374 if (die_id < 0 || die_id >= max_hfi_instances) in intel_hfi_online()
377 hfi_instance = &hfi_instances[die_id]; in intel_hfi_online()
/Linux-v6.1/tools/perf/tests/
Dtopology.c148 session->header.env.cpu[perf_cpu_map__cpu(map, i).cpu].die_id == id.die); in check_cpu_topology()
164 session->header.env.cpu[perf_cpu_map__cpu(map, i).cpu].die_id == id.die); in check_cpu_topology()
177 session->header.env.cpu[perf_cpu_map__cpu(map, i).cpu].die_id == id.die); in check_cpu_topology()
/Linux-v6.1/drivers/base/
Dtopology.c49 define_id_show_func(die_id, "%d");
50 static DEVICE_ATTR_RO(die_id);
/Linux-v6.1/drivers/platform/x86/intel/uncore-frequency/
Duncore-frequency-common.h43 int die_id; member
Duncore-frequency.c138 data->die_id = topology_die_id(cpu); in uncore_event_cpu_online()
Duncore-frequency-common.c190 sprintf(data->name, "package_%02d_die_%02d", data->package_id, data->die_id); in uncore_freq_add_entry()
/Linux-v6.1/drivers/gpu/drm/amd/include/
Ddiscovery.h69 uint16_t die_id; member
123 uint16_t die_id; member
/Linux-v6.1/tools/perf/util/
Denv.h14 int die_id; member
Denv.c313 env->cpu[idx].die_id = cpu__get_die_id(cpu); in perf_env__read_cpu_topology_map()
Dheader.c634 ret = do_write(ff, &perf_env.cpu[j].die_id, in write_cpu_topology()
635 sizeof(perf_env.cpu[j].die_id)); in write_cpu_topology()
1704 ph->env.cpu[i].die_id, in print_cpu_topology()
2655 ph->env.cpu[i].die_id = nr; in process_cpu_topology()
/Linux-v6.1/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-v6.1/arch/x86/events/intel/
Duncore_snbep.c1381 int i, bus, nodeid, segment, die_id; in snbep_pci2phy_map_init() local
1426 die_id = i; in snbep_pci2phy_map_init()
1428 die_id = topology_phys_to_logical_pkg(i); in snbep_pci2phy_map_init()
1429 if (die_id < 0) in snbep_pci2phy_map_init()
1430 die_id = -ENODEV; in snbep_pci2phy_map_init()
1431 map->pbus_to_dieid[bus] = die_id; in snbep_pci2phy_map_init()
1449 die_id = -1; in snbep_pci2phy_map_init()
1454 map->pbus_to_dieid[bus] = die_id = c->logical_die_id; in snbep_pci2phy_map_init()
1460 if (WARN_ON_ONCE(die_id == -1)) { in snbep_pci2phy_map_init()
Duncore.c42 int die_id = -1; in uncore_pcibus_to_dieid() local
47 die_id = map->pbus_to_dieid[bus->number]; in uncore_pcibus_to_dieid()
53 return die_id; in uncore_pcibus_to_dieid()
/Linux-v6.1/Documentation/ABI/stable/
Dsysfs-devices-system-cpu33 What: /sys/devices/system/cpu/cpuX/topology/die_id
/Linux-v6.1/arch/x86/kernel/
Dsmpboot.c305 int topology_phys_to_logical_die(unsigned int die_id, unsigned int cur_cpu) in topology_phys_to_logical_die() argument
313 if (c->initialized && c->cpu_die_id == die_id && in topology_phys_to_logical_die()
/Linux-v6.1/tools/power/x86/turbostat/
Dturbostat.c552 int die_id; member
1161 outp += sprintf(outp, "%s%d", (printed++ ? delim : ""), cpus[t->cpu_id].die_id); in format_counters()
5931 cpus[i].die_id = get_die_id(i); in topology_probe()
5932 if (cpus[i].die_id > max_die_id) in topology_probe()
5933 max_die_id = cpus[i].die_id; in topology_probe()
5989 i, cpus[i].physical_package_id, cpus[i].die_id, in topology_probe()
/Linux-v6.1/tools/perf/
Dbuiltin-stat.c1505 id.die = env->cpu[cpu.cpu].die_id; in perf_env__get_die_aggr_by_cpu()
1523 id.die = env->cpu[cpu.cpu].die_id; in perf_env__get_core_aggr_by_cpu()
/Linux-v6.1/tools/perf/Documentation/
Dperf.data-file-format.txt182 uint32_t die_id[nr_cpus_avail]; /* from previously processed HEADER_NR_CPUS, VLA */