Home
last modified time | relevance | path

Searched refs:core_id (Results 1 – 17 of 17) sorted by relevance

/arch/arm/kernel/
Dtopology.c63 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/
Dtopology.h10 int core_id; member
19 #define topology_core_id(cpu) (cpu_topology[cpu].core_id)
/arch/sparc/include/asm/
Dcpudata_64.h30 int core_id; member
Dtopology_64.h61 #define topology_core_id(cpu) (cpu_data(cpu).core_id)
/arch/c6x/kernel/
Dsetup.c84 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/
Dsmpboot.c787 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()
Dtopology.c165 && cpu_data(j)->core_id == csi.log1_cid in cache_shared_cpu_map_setup()
Dsetup.c712 c->core_id, c->thread_id); in show_cpuinfo()
/arch/ia64/include/asm/
Dtopology.h102 #define topology_core_id(cpu) (cpu_data(cpu)->core_id)
Dprocessor.h211 unsigned short core_id; /* core id */ member
/arch/sparc/kernel/
Dmdesc.c619 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()
Dprom_64.c503 cpu_data(cpuid).core_id = portid + 1; in fill_in_one_cpu()
525 cpu_data(cpuid).core_id = 0; in fill_in_one_cpu()
Dsmp_64.c1234 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()
Dcpumap.c108 id = cpu_data(cpu).core_id; in cpuinfo_id()
/arch/x86/kernel/cpu/
Dperf_event_intel.c1499 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()
Dperf_event.h98 unsigned core_id; /* per-core: core id */ member
/arch/mips/cavium-octeon/
Docteon-irq.c769 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()