Home
last modified time | relevance | path

Searched refs:vfp_state (Results 1 – 9 of 9) sorted by relevance

/optee_os/core/arch/arm/crypto/
A Daes_armv8a_ce.c126 uint32_t vfp_state = 0; in crypto_accel_aes_expand_keys() local
151 thread_kernel_disable_vfp(vfp_state); in crypto_accel_aes_expand_keys()
160 uint32_t vfp_state = 0; in crypto_accel_aes_ecb_enc() local
166 thread_kernel_disable_vfp(vfp_state); in crypto_accel_aes_ecb_enc()
173 uint32_t vfp_state = 0; in crypto_accel_aes_ecb_dec() local
179 thread_kernel_disable_vfp(vfp_state); in crypto_accel_aes_ecb_dec()
186 uint32_t vfp_state = 0; in crypto_accel_aes_cbc_enc() local
199 uint32_t vfp_state = 0; in crypto_accel_aes_cbc_dec() local
212 uint32_t vfp_state = 0; in crypto_accel_aes_ctr_be_enc() local
226 uint32_t vfp_state = 0; in crypto_accel_aes_xts_enc() local
[all …]
A Daes-gcm-ce.c83 uint32_t vfp_state; in internal_aes_gcm_ghash_update() local
88 vfp_state = thread_kernel_enable_vfp(); in internal_aes_gcm_ghash_update()
92 thread_kernel_disable_vfp(vfp_state); in internal_aes_gcm_ghash_update()
179 uint32_t vfp_state = 0; in internal_aes_gcm_update_payload_blocks() local
183 vfp_state = thread_kernel_enable_vfp(); in internal_aes_gcm_update_payload_blocks()
203 thread_kernel_disable_vfp(vfp_state); in internal_aes_gcm_update_payload_blocks()
217 uint32_t vfp_state = 0; in internal_aes_gcm_update_payload_blocks() local
221 vfp_state = thread_kernel_enable_vfp(); in internal_aes_gcm_update_payload_blocks()
228 thread_kernel_disable_vfp(vfp_state); in internal_aes_gcm_update_payload_blocks()
A Dsha1_armv8a_ce.c16 uint32_t vfp_state = 0; in crypto_accel_sha1_compress() local
18 vfp_state = thread_kernel_enable_vfp(); in crypto_accel_sha1_compress()
20 thread_kernel_disable_vfp(vfp_state); in crypto_accel_sha1_compress()
A Dsha256_armv8a_ce.c16 uint32_t vfp_state = 0; in crypto_accel_sha256_compress() local
18 vfp_state = thread_kernel_enable_vfp(); in crypto_accel_sha256_compress()
20 thread_kernel_disable_vfp(vfp_state); in crypto_accel_sha256_compress()
/optee_os/core/arch/arm/include/kernel/
A Dvfp.h26 struct vfp_state { struct
48 struct vfp_state { argument
84 void vfp_lazy_save_state_init(struct vfp_state *state);
95 void vfp_lazy_save_state_final(struct vfp_state *state, bool force_save);
104 void vfp_lazy_restore_state(struct vfp_state *state, bool full_state);
A Dthread.h71 struct vfp_state vfp;
/optee_os/core/arch/arm/kernel/
A Dvfp.c27 void vfp_lazy_save_state_init(struct vfp_state *state) in vfp_lazy_save_state_init()
35 void vfp_lazy_save_state_final(struct vfp_state *state, bool force_save) in vfp_lazy_save_state_final()
48 void vfp_lazy_restore_state(struct vfp_state *state, bool full_state) in vfp_lazy_restore_state()
91 void vfp_lazy_save_state_init(struct vfp_state *state) in vfp_lazy_save_state_init()
97 void vfp_lazy_save_state_final(struct vfp_state *state, bool force_save) in vfp_lazy_save_state_final()
110 void vfp_lazy_restore_state(struct vfp_state *state, bool full_state) in vfp_lazy_restore_state()
A Dthread.c425 thr->vfp_state.ns_saved = false; in thread_lazy_save_ns_vfp()
436 assert(!thr->vfp_state.sec_lazy_saved && !thr->vfp_state.sec_saved); in thread_lazy_restore_ns_vfp()
443 vfp_lazy_restore_state(&thr->vfp_state.ns, thr->vfp_state.ns_saved); in thread_lazy_restore_ns_vfp()
444 thr->vfp_state.ns_saved = false; in thread_lazy_restore_ns_vfp()
1279 if (!thr->vfp_state.ns_saved) { in thread_kernel_enable_vfp()
1282 thr->vfp_state.ns_saved = true; in thread_kernel_enable_vfp()
1284 !thr->vfp_state.sec_saved) { in thread_kernel_enable_vfp()
1352 if (!thr->vfp_state.ns_saved) { in thread_user_enable_vfp()
1355 thr->vfp_state.ns_saved = true; in thread_user_enable_vfp()
1369 thr->vfp_state.uvfp = uvfp; in thread_user_enable_vfp()
[all …]
A Dthread_private.h39 struct vfp_state ns;
40 struct vfp_state sec;
67 struct thread_vfp_state vfp_state; member

Completed in 17 milliseconds