Searched refs:apicid_smt_width (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/tests/unit/ |
H A D | test-x86-topo.c | 38 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()
|
/openbmc/qemu/include/hw/i386/ |
H A D | topology.h | 76 static inline unsigned apicid_smt_width(X86CPUTopoInfo *topo_info) in apicid_smt_width() function 102 return apicid_smt_width(topo_info); in apicid_core_offset() 170 ~(0xFFFFFFFFUL << apicid_smt_width(topo_info)); in x86_topo_ids_from_apicid()
|