Searched refs:mpidr (Results 1 – 9 of 9) sorted by relevance
/freebsd/sys/arm64/include/ |
H A D | cpu.h | 60 #define CPU_AFF0(mpidr) (u_int)(((mpidr) >> 0) & 0xff) argument 61 #define CPU_AFF1(mpidr) (u_int)(((mpidr) >> 8) & 0xff) argument 62 #define CPU_AFF2(mpidr) (u_int)(((mpidr) >> 16) & 0xff) argument 63 #define CPU_AFF3(mpidr) (u_int)(((mpidr) >> 32) & 0xff) argument
|
H A D | cpufunc.h | 112 uint64_t mpidr; in get_mpidr() local 114 mpidr = READ_SPECIALREG(mpidr_el1); in get_mpidr() 116 return (mpidr); in get_mpidr()
|
/freebsd/sys/arm/arm/ |
H A D | pmu_fdt.c | 88 phandle_t xref, uint32_t mpidr) in pmu_parse_affinity() argument 95 err = OF_getencprop(OF_node_from_xref(xref), "reg", &mpidr, in pmu_parse_affinity() 96 sizeof(mpidr)); in pmu_parse_affinity() 105 if (pcpu != NULL && PCPU_GET_MPIDR(pcpu) == mpidr) { in pmu_parse_affinity() 111 device_printf(dev, "Cannot find CPU with MPIDR: 0x%08X\n", mpidr); in pmu_parse_affinity()
|
H A D | identcpu-v6.c | 304 val = (cpuinfo.mpidr >> 4)& 0xF; in identify_arm_cpu() 305 if (cpuinfo.mpidr & (1 << 31U)) in identify_arm_cpu()
|
H A D | cpuinfo.c | 140 cpuinfo.mpidr = cp15_mpidr_get(); in cpuinfo_init() 189 cpuinfo.mp_ext = (cpuinfo.mpidr >> 31u) & 0x1; in cpuinfo_init()
|
/freebsd/sys/arm64/arm64/ |
H A D | mp_machdep.c | 193 uint64_t mpidr; in init_secondary() local 202 mpidr = READ_SPECIALREG(mpidr_el1) & CPU_AFF_MASK; in init_secondary() 204 PCPU_GET_MPIDR(cpuid_to_pcpu[cpu]) != mpidr) { in init_secondary() 207 PCPU_GET_MPIDR(cpuid_to_pcpu[cpu]) == mpidr) in init_secondary() 696 uint64_t mpidr; in cpu_mp_start() local 702 mpidr = READ_SPECIALREG(mpidr_el1) & CPU_AFF_MASK; in cpu_mp_start() 703 cpuid_to_pcpu[0]->pc_mpidr = mpidr; in cpu_mp_start()
|
H A D | identcpu.c | 135 uint64_t mpidr; member 3049 sbuf_printf(sb, " %2d", CPU_AFF3(desc->mpidr)); in print_cpu_features() 3052 sbuf_printf(sb, " %2d", CPU_AFF2(desc->mpidr)); in print_cpu_features() 3055 sbuf_printf(sb, " %2d", CPU_AFF1(desc->mpidr)); in print_cpu_features() 3059 sbuf_printf(sb, " %2d", CPU_AFF0(desc->mpidr)); in print_cpu_features() 3249 desc->mpidr = get_mpidr(); in identify_cpu() 3250 CPU_AFFINITY(cpu) = desc->mpidr & CPU_AFF_MASK; in identify_cpu() 3310 if (CPU_AFF0(desc->mpidr) != CPU_AFF0(prev_desc->mpidr)) in check_cpu_regs() 3314 if (CPU_AFF1(desc->mpidr) != CPU_AFF1(prev_desc->mpidr)) in check_cpu_regs() 3318 if (CPU_AFF2(desc->mpidr) != CPU_AFF2(prev_desc->mpidr)) in check_cpu_regs() [all …]
|
/freebsd/sys/arm64/vmm/io/ |
H A D | vgic_v3.c | 98 uint64_t mpidr; member 425 mpidr_to_vcpu(struct hyp *hyp, uint64_t mpidr) in mpidr_to_vcpu() argument 433 if (hypctx != NULL && (hypctx->vmpidr_el2 & GICD_AFF) == mpidr) in mpidr_to_vcpu() 483 irq->mpidr = hypctx->vmpidr_el2 & GICD_AFF; in vgic_v3_cpuinit() 955 uint64_t mpidr; in read_route() local 961 mpidr = irq->mpidr; in read_route() 964 return (mpidr); in read_route() 977 irq->mpidr = gic_reg_value_64(irq->mpidr, val, offset, size) & GICD_AFF; in write_route() 978 irq->target_vcpu = mpidr_to_vcpu(hypctx->hyp, irq->mpidr); in write_route() 1780 uint64_t mpidr, aff1, aff2, aff3; in vgic_v3_icc_sgi1r_write() local [all …]
|
/freebsd/sys/arm/include/ |
H A D | cpuinfo.h | 65 uint32_t mpidr; member
|