Searched refs:cpuid (Results 1 – 10 of 10) sorted by relevance
/Zephyr-Core-3.7.0/drivers/hwspinlock/ |
D | sqn_hwspinlock.c | 38 uint8_t cpuid = ((mpidr_val >> 8) & 0x0F) | ((mpidr_val >> 12) & 0xF0); in mpidr_to_cpuid() local 40 return ++cpuid; in mpidr_to_cpuid() 46 uint8_t cpuid; in sqn_hwspinlock_trylock() local 58 cpuid = mpidr_to_cpuid(read_mpidr_el1()); in sqn_hwspinlock_trylock() 59 if (sys_read8(get_lock_addr(dev, id)) == cpuid) in sqn_hwspinlock_trylock() 62 sys_write8(cpuid, get_lock_addr(dev, id)); in sqn_hwspinlock_trylock() 63 if (sys_read8(get_lock_addr(dev, id)) == cpuid) in sqn_hwspinlock_trylock() 72 uint8_t cpuid; in sqn_hwspinlock_lock() local 85 cpuid = mpidr_to_cpuid(read_mpidr_el1()); in sqn_hwspinlock_lock() 87 sys_write8(cpuid, get_lock_addr(dev, id)); in sqn_hwspinlock_lock() [all …]
|
/Zephyr-Core-3.7.0/tests/boards/intel_adsp/smoke/src/ |
D | smpboot.c | 31 int cpuid = (int) a; in thread_fn() local 33 zassert_true(cpuid == 0 || cpuid == arch_curr_cpu()->id, in thread_fn()
|
/Zephyr-Core-3.7.0/arch/arm64/core/cortex_r/ |
D | arm_mpu.c | 375 for (int cpuid = 0; cpuid < arch_num_cpus(); cpuid++) { in dynamic_regions_init() local 377 sys_dyn_regions[cpuid][i].index = -1; in dynamic_regions_init() 391 for (int cpuid = 0; cpuid < arch_num_cpus(); cpuid++) { in dynamic_areas_init() local 393 if (sys_dyn_regions_num[cpuid] + 1 > MPU_DYNAMIC_REGION_AREAS_NUM) { in dynamic_areas_init() 401 tmp_info = &sys_dyn_regions[cpuid][sys_dyn_regions_num[cpuid]]; in dynamic_areas_init() 406 sys_dyn_regions_num[cpuid] += 1; in dynamic_areas_init() 413 ret = insert_region(sys_dyn_regions[cpuid], in dynamic_areas_init() 415 (uintptr_t)z_interrupt_stacks[cpuid], in dynamic_areas_init() 425 sys_dyn_regions_num[cpuid] += ret; in dynamic_areas_init() 834 int cpuid = arch_curr_cpu()->id; in z_arm64_swap_mem_domains() local [all …]
|
/Zephyr-Core-3.7.0/soc/arm/fvp_aemv8r/aarch64/ |
D | soc.c | 13 int pm_cpu_on(unsigned long cpuid, uintptr_t entry_point) in pm_cpu_on() argument
|
/Zephyr-Core-3.7.0/drivers/pm_cpu_ops/ |
D | pm_cpu_ops_weak_impl.c | 9 int __weak pm_cpu_on(unsigned long cpuid, uintptr_t entry_point) in pm_cpu_on() argument
|
D | pm_cpu_ops_psci.c | 62 int pm_cpu_on(unsigned long cpuid, in pm_cpu_on() argument 71 ret = psci_data.invoke_psci_fn(PSCI_FN_NATIVE(0_2, CPU_ON), cpuid, in pm_cpu_on()
|
/Zephyr-Core-3.7.0/include/zephyr/drivers/ |
D | pm_cpu_ops.h | 56 int pm_cpu_on(unsigned long cpuid, uintptr_t entry_point);
|
/Zephyr-Core-3.7.0/arch/x86/core/ |
D | CMakeLists.txt | 9 zephyr_library_sources(cpuid.c)
|
/Zephyr-Core-3.7.0/include/zephyr/arch/nios2/ |
D | nios2.h | 184 #define NIOS2_CPUID cpuid
|
/Zephyr-Core-3.7.0/drivers/interrupt_controller/ |
D | intc_gicv3_its.c | 461 static uintptr_t gicv3_rdist_get_rdbase(const struct device *dev, unsigned int cpuid) in gicv3_rdist_get_rdbase() argument 467 return gic_rdists[cpuid]; in gicv3_rdist_get_rdbase() 469 return GICR_TYPER_PROCESSOR_NUMBER_GET(sys_read64(gic_rdists[cpuid] + GICR_TYPER)); in gicv3_rdist_get_rdbase()
|