Home
last modified time | relevance | path

Searched refs:apicid_smt_width (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dtest-x86-topo.c35 g_assert_cmpuint(apicid_smt_width(&topo_info), ==, 0); in test_topo_bits()
49 g_assert_cmpuint(apicid_smt_width(&topo_info), ==, 1); in test_topo_bits()
51 g_assert_cmpuint(apicid_smt_width(&topo_info), ==, 2); in test_topo_bits()
53 g_assert_cmpuint(apicid_smt_width(&topo_info), ==, 2); in test_topo_bits()
56 g_assert_cmpuint(apicid_smt_width(&topo_info), ==, 4); in test_topo_bits()
58 g_assert_cmpuint(apicid_smt_width(&topo_info), ==, 4); in test_topo_bits()
60 g_assert_cmpuint(apicid_smt_width(&topo_info), ==, 4); in test_topo_bits()
62 g_assert_cmpuint(apicid_smt_width(&topo_info), ==, 5); in test_topo_bits()
89 g_assert_cmpuint(apicid_smt_width(&topo_info), ==, 2); in test_topo_bits()
/openbmc/qemu/include/hw/i386/
H A Dtopology.h72 static inline unsigned apicid_smt_width(X86CPUTopoInfo *topo_info) in apicid_smt_width() function
92 return apicid_smt_width(topo_info); in apicid_core_offset()
148 ~(0xFFFFFFFFUL << apicid_smt_width(topo_info)); in x86_topo_ids_from_apicid()