Searched refs:core_id (Results 1 – 17 of 17) sorted by relevance
/arch/arm/kernel/ |
D | topology.c | 63 if (cpuid_topo->core_id != -1) in store_cpu_topology() 79 cpuid_topo->core_id = (mpidr >> MPIDR_LEVEL1_SHIFT) in store_cpu_topology() 86 cpuid_topo->core_id = (mpidr >> MPIDR_LEVEL0_SHIFT) in store_cpu_topology() 98 cpuid_topo->core_id = 0; in store_cpu_topology() 112 if (cpuid_topo->core_id == cpu_topo->core_id) { in store_cpu_topology() 125 cpu_topology[cpuid].core_id, in store_cpu_topology() 142 cpu_topo->core_id = -1; in init_cpu_topology()
|
/arch/arm/include/asm/ |
D | topology.h | 10 int core_id; member 19 #define topology_core_id(cpu) (cpu_topology[cpu].core_id)
|
/arch/sparc/include/asm/ |
D | cpudata_64.h | 30 int core_id; member
|
D | topology_64.h | 61 #define topology_core_id(cpu) (cpu_data(cpu).core_id)
|
/arch/c6x/kernel/ |
D | setup.c | 84 unsigned int core_id; member 190 p->core_id = get_coreid(); in get_cpuinfo() 209 p->core_id, p->cpu_name, p->cpu_rev, in get_cpuinfo() 471 p->core_id, p->mmu, p->fpu, in show_cpuinfo()
|
/arch/ia64/kernel/ |
D | smpboot.c | 787 if (cpu_data(cpu)->core_id == cpu_data(i)->core_id) { in set_cpu_sibling_map() 897 c->core_id = info.log1_cid; in identify_siblings() 916 if (cpu_data(j)->core_id == cpu_data(i)->core_id) in is_multithreading_enabled()
|
D | topology.c | 165 && cpu_data(j)->core_id == csi.log1_cid in cache_shared_cpu_map_setup()
|
D | setup.c | 712 c->core_id, c->thread_id); in show_cpuinfo()
|
/arch/ia64/include/asm/ |
D | topology.h | 102 #define topology_core_id(cpu) (cpu_data(cpu)->core_id)
|
D | processor.h | 211 unsigned short core_id; /* core id */ member
|
/arch/sparc/kernel/ |
D | mdesc.c | 619 static void __cpuinit mark_core_ids(struct mdesc_handle *hp, u64 mp, int core_id) in mark_core_ids() argument 632 cpu_data(*id).core_id = core_id; in mark_core_ids() 646 cpu_data(*id).core_id = core_id; in mark_core_ids() 863 c->core_id = 0; in fill_in_one_cpu()
|
D | prom_64.c | 503 cpu_data(cpuid).core_id = portid + 1; in fill_in_one_cpu() 525 cpu_data(cpuid).core_id = 0; in fill_in_one_cpu()
|
D | smp_64.c | 1234 if (cpu_data(i).core_id == 0) { in smp_fill_in_sib_core_maps() 1240 if (cpu_data(i).core_id == in smp_fill_in_sib_core_maps() 1241 cpu_data(j).core_id) in smp_fill_in_sib_core_maps() 1336 c->core_id = 0; in __cpu_disable()
|
D | cpumap.c | 108 id = cpu_data(cpu).core_id; in cpuinfo_id()
|
/arch/x86/kernel/cpu/ |
D | perf_event_intel.c | 1499 regs->core_id = -1; in allocate_shared_regs() 1521 int core_id = topology_core_id(cpu); in intel_pmu_cpu_starting() local 1540 if (pc && pc->core_id == core_id) { in intel_pmu_cpu_starting() 1546 cpuc->shared_regs->core_id = core_id; in intel_pmu_cpu_starting() 1561 if (pc->core_id == -1 || --pc->refcnt == 0) in intel_pmu_cpu_dying()
|
D | perf_event.h | 98 unsigned core_id; /* per-core: core id */ member
|
/arch/mips/cavium-octeon/ |
D | octeon-irq.c | 769 const unsigned long core_id = cvmx_get_core_num(); in octeon_irq_ip2_v1() local 770 u64 ciu_sum = cvmx_read_csr(CVMX_CIU_INTX_SUM0(core_id * 2)); in octeon_irq_ip2_v1() 789 const unsigned long core_id = cvmx_get_core_num(); in octeon_irq_ip2_v2() local 790 u64 ciu_sum = cvmx_read_csr(CVMX_CIU_INTX_SUM0(core_id * 2)); in octeon_irq_ip2_v2()
|