Home
last modified time | relevance | path

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

/linux-3.4.99/arch/arm/include/asm/
Dtopology.h16 extern struct cputopo_arm cpu_topology[NR_CPUS];
18 #define topology_physical_package_id(cpu) (cpu_topology[cpu].socket_id)
19 #define topology_core_id(cpu) (cpu_topology[cpu].core_id)
20 #define topology_core_cpumask(cpu) (&cpu_topology[cpu].core_sibling)
21 #define topology_thread_cpumask(cpu) (&cpu_topology[cpu].thread_sibling)
23 #define mc_capable() (cpu_topology[0].socket_id != -1)
24 #define smt_capable() (cpu_topology[0].thread_id != -1)
/linux-3.4.99/arch/arm/kernel/
Dtopology.c45 struct cputopo_arm cpu_topology[NR_CPUS]; variable
46 EXPORT_SYMBOL_GPL(cpu_topology);
50 return &cpu_topology[cpu].core_sibling; in cpu_coregroup_mask()
60 struct cputopo_arm *cpuid_topo = &cpu_topology[cpuid]; in store_cpu_topology()
106 struct cputopo_arm *cpu_topo = &cpu_topology[cpu]; in store_cpu_topology()
126 cpuid, cpu_topology[cpuid].thread_id, in store_cpu_topology()
127 cpu_topology[cpuid].core_id, in store_cpu_topology()
128 cpu_topology[cpuid].socket_id, mpidr); in store_cpu_topology()
141 struct cputopo_arm *cpu_topo = &(cpu_topology[cpu]); in init_cpu_topology()
/linux-3.4.99/tools/perf/util/
Dheader.c1532 FEAT_OPF(HEADER_CPU_TOPOLOGY, cpu_topology),