Searched refs:mpidr (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/include/zephyr/arch/arm/cortex_a_r/ |
D | cpu.h | 101 #define MPIDR_AFFLVL(mpidr, aff_level) \ argument 102 (((mpidr) >> MPIDR_AFF##aff_level##_SHIFT) & MPIDR_AFFLVL_MASK) 104 #define GET_MPIDR() read_sysreg(mpidr) 105 #define MPIDR_TO_CORE(mpidr) MPIDR_AFFLVL(mpidr, 0) argument
|
D | lib_helpers.h | 66 MAKE_REG_HELPER(mpidr, 0, 0, 0, 5);
|
/Zephyr-latest/arch/arm64/core/ |
D | smp.c | 191 uint64_t mpidr = MPIDR_TO_CORE(GET_MPIDR()); in send_ipi() local 206 if (mpidr == target_mpidr || target_mpidr == INV_MPID) { in send_ipi() 265 const uint64_t mpidr = cpu_map[cpu]; in arch_flush_fpu_ipi() local 268 if (mpidr == INV_MPID) { in arch_flush_fpu_ipi() 272 aff0 = MPIDR_AFFLVL(mpidr, 0); in arch_flush_fpu_ipi() 273 gic_raise_sgi(SGI_FPU_IPI, mpidr, 1 << aff0); in arch_flush_fpu_ipi()
|
/Zephyr-latest/subsys/testsuite/include/zephyr/ |
D | interrupt_util.h | 92 uint64_t mpidr = GET_MPIDR(); in trigger_irq() local 93 uint8_t aff0 = MPIDR_AFFLVL(mpidr, 0); in trigger_irq() 95 gic_raise_sgi(irq, mpidr, BIT(aff0)); in trigger_irq()
|
/Zephyr-latest/include/zephyr/arch/arm64/ |
D | cpu.h | 81 #define MPIDR_AFFLVL(mpidr, aff_level) \ argument 82 (((mpidr) >> MPIDR_AFF##aff_level##_SHIFT) & MPIDR_AFFLVL_MASK) 85 #define MPIDR_TO_CORE(mpidr) (mpidr & MPIDR_AFF_MASK) argument
|
/Zephyr-latest/arch/arm/core/cortex_a_r/ |
D | smp.c | 227 uint32_t mpidr = MPIDR_TO_CORE(GET_MPIDR()); in send_ipi() local 242 if (mpidr == target_mpidr || mpidr == INV_MPID) { in send_ipi()
|
/Zephyr-latest/drivers/interrupt_controller/ |
D | intc_gicv3.c | 535 static uint64_t arm_gic_mpidr_to_affinity(uint64_t mpidr) in arm_gic_mpidr_to_affinity() argument 543 aff3 = MPIDR_AFFLVL(mpidr, 3); in arm_gic_mpidr_to_affinity() 546 aff2 = MPIDR_AFFLVL(mpidr, 2); in arm_gic_mpidr_to_affinity() 547 aff1 = MPIDR_AFFLVL(mpidr, 1); in arm_gic_mpidr_to_affinity() 548 aff0 = MPIDR_AFFLVL(mpidr, 0); in arm_gic_mpidr_to_affinity()
|