Home
last modified time | relevance | path

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

/qemu/tests/unit/
H A Dtest-x86-topo.c38 g_assert_cmpuint(apicid_smt_width(&topo_info), ==, 0); in test_topo_bits()
53 g_assert_cmpuint(apicid_smt_width(&topo_info), ==, 1); in test_topo_bits()
55 g_assert_cmpuint(apicid_smt_width(&topo_info), ==, 2); in test_topo_bits()
57 g_assert_cmpuint(apicid_smt_width(&topo_info), ==, 2); 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), ==, 4); in test_topo_bits()
64 g_assert_cmpuint(apicid_smt_width(&topo_info), ==, 4); in test_topo_bits()
66 g_assert_cmpuint(apicid_smt_width(&topo_info), ==, 5); in test_topo_bits()
102 g_assert_cmpuint(apicid_smt_width(&topo_info), ==, 2); in test_topo_bits()
/qemu/include/hw/i386/
H A Dtopology.h90 static inline unsigned apicid_smt_width(X86CPUTopoInfo *topo_info) in apicid_smt_width() function
116 return apicid_smt_width(topo_info); in apicid_core_offset()
184 ~(0xFFFFFFFFUL << apicid_smt_width(topo_info)); in x86_topo_ids_from_apicid()