Lines Matching defs:cpu
56 static inline int early_cpu_to_node(int cpu) in early_cpu_to_node()
94 static inline int early_cpu_to_node(int cpu) in early_cpu_to_node()
137 #define topology_logical_package_id(cpu) (cpu_data(cpu).topo.logical_pkg_id) argument
138 #define topology_physical_package_id(cpu) (cpu_data(cpu).topo.pkg_id) argument
139 #define topology_logical_die_id(cpu) (cpu_data(cpu).topo.logical_die_id) argument
140 #define topology_die_id(cpu) (cpu_data(cpu).topo.die_id) argument
141 #define topology_core_id(cpu) (cpu_data(cpu).topo.core_id) argument
142 #define topology_ppin(cpu) (cpu_data(cpu).ppin) argument
144 #define topology_amd_node_id(cpu) (cpu_data(cpu).topo.amd_node_id) argument
182 #define topology_cluster_id(cpu) (cpu_data(cpu).topo.l2c_id) argument
183 #define topology_die_cpumask(cpu) (per_cpu(cpu_die_map, cpu)) argument
184 #define topology_cluster_cpumask(cpu) (cpu_clustergroup_mask(cpu)) argument
185 #define topology_core_cpumask(cpu) (per_cpu(cpu_core_map, cpu)) argument
186 #define topology_sibling_cpumask(cpu) (per_cpu(cpu_sibling_map, cpu)) argument
218 static inline bool topology_is_primary_thread(unsigned int cpu) in topology_is_primary_thread()
226 static inline bool topology_is_primary_thread(unsigned int cpu) { return true; } in topology_is_primary_thread()
279 static inline long arch_scale_freq_capacity(int cpu) in arch_scale_freq_capacity()
296 static inline void arch_set_cpu_capacity(int cpu, unsigned long cap, in arch_set_cpu_capacity()