Home
last modified time | relevance | path

Searched refs:mpidr (Results 1 – 8 of 8) sorted by relevance

/f-stack/freebsd/arm64/include/
H A Dcpu.h57 #define CPU_AFF0(mpidr) (u_int)(((mpidr) >> 0) & 0xff) argument
58 #define CPU_AFF1(mpidr) (u_int)(((mpidr) >> 8) & 0xff) argument
59 #define CPU_AFF2(mpidr) (u_int)(((mpidr) >> 16) & 0xff) argument
60 #define CPU_AFF3(mpidr) (u_int)(((mpidr) >> 32) & 0xff) argument
H A Dcpufunc.h163 uint64_t mpidr; in get_mpidr() local
165 mpidr = READ_SPECIALREG(mpidr_el1); in get_mpidr()
167 return (mpidr); in get_mpidr()
/f-stack/freebsd/arm/arm/
H A Dpmu_fdt.c91 phandle_t xref, uint32_t mpidr) in pmu_parse_affinity() argument
98 err = OF_getencprop(OF_node_from_xref(xref), "reg", &mpidr, in pmu_parse_affinity()
99 sizeof(mpidr)); in pmu_parse_affinity()
108 if (pcpu != NULL && pcpu->pc_mpidr == mpidr) { in pmu_parse_affinity()
114 device_printf(dev, "Cannot find CPU with MPIDR: 0x%08X\n", mpidr); in pmu_parse_affinity()
H A Didentcpu-v6.c306 val = (cpuinfo.mpidr >> 4)& 0xF; in identify_arm_cpu()
307 if (cpuinfo.mpidr & (1 << 31U)) in identify_arm_cpu()
H A Dcpuinfo.c130 cpuinfo.mpidr = cp15_mpidr_get(); in cpuinfo_init()
179 cpuinfo.mp_ext = (cpuinfo.mpidr >> 31u) & 0x1; in cpuinfo_init()
/f-stack/freebsd/arm64/arm64/
H A Didentcpu.c125 uint64_t mpidr; member
1725 cpu_desc[cpu].mpidr = get_mpidr(); in identify_cpu()
1726 CPU_AFFINITY(cpu) = cpu_desc[cpu].mpidr & CPU_AFF_MASK; in identify_cpu()
1746 if (CPU_AFF0(cpu_desc[cpu].mpidr) != in check_cpu_regs()
1747 CPU_AFF0(cpu_desc[0].mpidr)) in check_cpu_regs()
1751 if (CPU_AFF1(cpu_desc[cpu].mpidr) != in check_cpu_regs()
1752 CPU_AFF1(cpu_desc[0].mpidr)) in check_cpu_regs()
1756 if (CPU_AFF2(cpu_desc[cpu].mpidr) != in check_cpu_regs()
1757 CPU_AFF2(cpu_desc[0].mpidr)) in check_cpu_regs()
1761 if (CPU_AFF3(cpu_desc[cpu].mpidr) != in check_cpu_regs()
[all …]
H A Dmp_machdep.c209 u_int mpidr; in init_secondary() local
216 mpidr = READ_SPECIALREG(mpidr_el1) & CPU_AFF_MASK; in init_secondary()
217 if (cpu >= MAXCPU || __pcpu[cpu].pc_mpidr != mpidr) { in init_secondary()
219 if (__pcpu[cpu].pc_mpidr == mpidr) in init_secondary()
/f-stack/freebsd/arm/include/
H A Dcpuinfo.h67 uint32_t mpidr; member