Searched refs:apicid (Results 1 – 2 of 2) sorted by relevance
179 static inline void x86_topo_ids_from_apicid(apic_id_t apicid, in x86_topo_ids_from_apicid() argument183 topo_ids->smt_id = apicid & in x86_topo_ids_from_apicid()186 (apicid >> apicid_core_offset(topo_info)) & in x86_topo_ids_from_apicid()189 (apicid >> apicid_module_offset(topo_info)) & in x86_topo_ids_from_apicid()192 (apicid >> apicid_die_offset(topo_info)) & in x86_topo_ids_from_apicid()194 topo_ids->pkg_id = apicid >> apicid_pkg_offset(topo_info); in x86_topo_ids_from_apicid()
134 apicid = procid_apicid.get(procid, None)135 if apicid is not None:136 return apicid140 apicid = uid_x2apicid.get(uid, None)141 if apicid is not None:142 return apicid156 apicid = cpupath_apicid(cpupath)157 if apicid is None:158 print 'Failed to find apicid for cpupath {}'.format(cpupath)160 bits.wrmsr(apicid, IA32_PERF_CTL, pstate.control)