Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/cpu/
H A Dtopology.c204 static unsigned int topo_unit_count(u32 lvlid, enum x86_topology_domains at_level, in topo_unit_count() argument
210 end = lvlid + (1U << x86_topo_system.dom_shifts[at_level]); in topo_unit_count()
308 int topology_get_logical_id(u32 apicid, enum x86_topology_domains at_level) in topology_get_logical_id() argument
311 unsigned int lvlid = topo_apicid(apicid, at_level); in topology_get_logical_id()
315 if (!test_bit(lvlid, apic_maps[at_level].map)) in topology_get_logical_id()
318 return bitmap_weight(apic_maps[at_level].map, lvlid); in topology_get_logical_id()
341 enum x86_topology_domains at_level) in topology_unit_count() argument
344 unsigned int lvlid = topo_apicid(apicid, at_level); in topology_unit_count()
348 if (!test_bit(lvlid, apic_maps[at_level].map)) in topology_unit_count()
350 if (which_units > at_level) in topology_unit_count()
[all …]
H A Dtopology.h58 enum x86_topology_domains at_level);
61 enum x86_topology_domains at_level) in topology_unit_count() argument
/linux/arch/x86/include/asm/
H A Dtopology.h189 int topology_get_logical_id(u32 apicid, enum x86_topology_domains at_level);
191 static inline int topology_get_logical_id(u32 apicid, enum x86_topology_domains at_level) in topology_get_logical_id() argument