Home
last modified time | relevance | path

Searched refs:fpu_owner (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/arch/arm64/core/
Dfpu.c71 struct k_thread *owner = atomic_ptr_get(&_current_cpu->arch.fpu_owner); in arch_flush_local_fpu()
85 atomic_ptr_clear(&_current_cpu->arch.fpu_owner); in arch_flush_local_fpu()
105 if (atomic_ptr_get(&_kernel.cpus[i].arch.fpu_owner) != thread) { in flush_owned_fpu()
130 while (atomic_ptr_get(&_kernel.cpus[i].arch.fpu_owner) == thread) { in flush_owned_fpu()
238 struct k_thread *owner = atomic_ptr_get(&_current_cpu->arch.fpu_owner); in z_arm64_fpu_trap()
243 atomic_ptr_clear(&_current_cpu->arch.fpu_owner); in z_arm64_fpu_trap()
267 atomic_ptr_set(&_current_cpu->arch.fpu_owner, arch_current_thread()); in z_arm64_fpu_trap()
290 if (atomic_ptr_get(&_current_cpu->arch.fpu_owner) == arch_current_thread()) { in fpu_access_update()
336 if (thread == atomic_ptr_get(&_current_cpu->arch.fpu_owner)) { in arch_float_disable()
Dsmp.c291 arch_float_disable(_current_cpu->arch.fpu_owner); in arch_spin_relax()
/Zephyr-latest/arch/riscv/core/
Dfpu.c85 atomic_ptr_set(&_current_cpu->arch.fpu_owner, arch_current_thread()); in z_riscv_fpu_load()
108 struct k_thread *owner = atomic_ptr_get(&_current_cpu->arch.fpu_owner); in arch_flush_local_fpu()
127 atomic_ptr_clear(&_current_cpu->arch.fpu_owner); in arch_flush_local_fpu()
145 owner = atomic_ptr_get(&_kernel.cpus[i].arch.fpu_owner); in flush_owned_fpu()
176 owner = atomic_ptr_get(&_kernel.cpus[i].arch.fpu_owner); in flush_owned_fpu()
261 if (_current_cpu->arch.fpu_owner == arch_current_thread()) { in fpu_access_allowed()
330 if (thread == _current_cpu->arch.fpu_owner) { in arch_float_disable()
Dipi_clint.c89 arch_float_disable(_current_cpu->arch.fpu_owner); in arch_spin_relax()
/Zephyr-latest/include/zephyr/arch/arm64/
Dstructs.h13 atomic_ptr_val_t fpu_owner; member
/Zephyr-latest/include/zephyr/arch/riscv/
Dstructs.h22 atomic_ptr_val_t fpu_owner; member
/Zephyr-latest/subsys/testsuite/ztest/src/
Dztest.c238 k_float_disable(_current_cpu->arch.fpu_owner); in cpu_hold()