Home
last modified time | relevance | path

Searched refs:num_dies (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dtest-smp-parse.c1103 unsigned int num_dies = 2; in test_with_dies() local
1118 data.config.dies = num_dies; in test_with_dies()
1120 data.config.cpus *= num_dies; in test_with_dies()
1123 data.config.maxcpus *= num_dies; in test_with_dies()
1126 data.expect_prefer_sockets.dies = num_dies; in test_with_dies()
1127 data.expect_prefer_sockets.cpus *= num_dies; in test_with_dies()
1128 data.expect_prefer_sockets.max_cpus *= num_dies; in test_with_dies()
1129 data.expect_prefer_cores.dies = num_dies; in test_with_dies()
1130 data.expect_prefer_cores.cpus *= num_dies; in test_with_dies()
1131 data.expect_prefer_cores.max_cpus *= num_dies; in test_with_dies()
[all …]
/openbmc/linux/tools/perf/tests/
H A Dexpr.c74 double val, num_cpus_online, num_cpus, num_cores, num_dies, num_packages; in test__expr() local
240 TEST_ASSERT_VAL("#num_dies", expr__parse(&num_dies, ctx, "#num_dies") == 0); in test__expr()
241 TEST_ASSERT_VAL("#num_cores >= #num_dies", num_cores >= num_dies); in test__expr()
244 if (num_dies) // Some platforms do not have CPU die support, for example s390 in test__expr()
245 TEST_ASSERT_VAL("#num_dies >= #num_packages", num_dies >= num_packages); in test__expr()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_discovery.c549 uint16_t die_offset, ip_offset, num_dies, num_ips; in amdgpu_discovery_read_harvest_bit_per_ip() local
555 num_dies = le16_to_cpu(ihdr->num_dies); in amdgpu_discovery_read_harvest_bit_per_ip()
558 for (i = 0; i < num_dies; i++) { in amdgpu_discovery_read_harvest_bit_per_ip()
1055 u16 num_dies, die_offset, num_ips; in amdgpu_discovery_sysfs_recurse() local
1062 num_dies = le16_to_cpu(ihdr->num_dies); in amdgpu_discovery_sysfs_recurse()
1064 DRM_DEBUG("number of dies: %d\n", num_dies); in amdgpu_discovery_sysfs_recurse()
1066 for (ii = 0; ii < num_dies; ii++) { in amdgpu_discovery_sysfs_recurse()
1212 uint16_t num_dies; in amdgpu_discovery_reg_base_init() local
1232 num_dies = le16_to_cpu(ihdr->num_dies); in amdgpu_discovery_reg_base_init()
1234 DRM_DEBUG("number of dies: %d\n", num_dies); in amdgpu_discovery_reg_base_init()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/include/
H A Ddiscovery.h80 uint16_t num_dies; /* Number of Dies */ member