Home
last modified time | relevance | path

Searched refs:apicid_pkg_offset (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/include/hw/i386/
H A Dtopology.h102 static inline unsigned apicid_pkg_offset(X86CPUTopoInfo *topo_info) in apicid_pkg_offset() function
115 return (topo_ids->pkg_id << apicid_pkg_offset(topo_info)) | in x86_apicid_from_topo_ids()
155 topo_ids->pkg_id = apicid >> apicid_pkg_offset(topo_info); in x86_topo_ids_from_apicid()
/openbmc/qemu/tests/unit/
H A Dtest-x86-topo.c92 g_assert_cmpuint(apicid_pkg_offset(&topo_info), ==, 5); in test_topo_bits()
/openbmc/qemu/target/i386/
H A Dcpu.c6240 *eax = apicid_pkg_offset(&topo_info); in cpu_x86_cpuid()
6280 *eax = apicid_pkg_offset(&topo_info); in cpu_x86_cpuid()
6578 *ecx = (apicid_pkg_offset(&topo_info) << 12) | in cpu_x86_cpuid()