Home
last modified time | relevance | path

Searched refs:dom_shifts (Results 1 – 4 of 4) sorted by relevance

/linux/arch/x86/kernel/cpu/
H A Dtopology.h7 unsigned int dom_shifts[TOPO_MAX_DOMAIN]; member
30 return apicid >> x86_topo_system.dom_shifts[dom - 1]; in topo_shift_apicid()
36 apicid >>= x86_topo_system.dom_shifts[dom - 1]; in topo_relative_domain_id()
42 return (1U << x86_topo_system.dom_shifts[dom]) - 1; in topo_domain_mask()
52 tscan->dom_shifts[dom] = shift; in topology_update_dom()
H A Dtopology.c95 return apicid & (UINT_MAX << x86_topo_system.dom_shifts[dom - 1]); in topo_apicid()
213 end = lvlid + (1U << x86_topo_system.dom_shifts[at_level]); in topo_unit_count()
H A Dtopology_ext.c121 if (!tscan->dom_shifts[TOPO_SMT_DOMAIN] && tscan->dom_ncpus[TOPO_SMT_DOMAIN] > 1) { in parse_topology_leaf()
/linux/arch/x86/include/asm/
H A Dtopology.h124 unsigned int dom_shifts[TOPO_MAX_DOMAIN]; member
137 return dom == TOPO_SMT_DOMAIN ? 0 : x86_topo_system.dom_shifts[dom - 1]; in topology_get_domain_shift()
200 return topology_get_logical_id(pkg << x86_topo_system.dom_shifts[TOPO_PKG_DOMAIN], in topology_phys_to_logical_pkg()