Home
last modified time | relevance | path

Searched refs:fpu_enabled (Results 1 – 13 of 13) sorted by relevance

/linux-4.1.27/arch/x86/crypto/
Dglue_helper.c42 bool fpu_enabled = false; in __glue_ecb_crypt_128bit() local
51 fpu_enabled = glue_fpu_begin(bsize, gctx->fpu_blocks_limit, in __glue_ecb_crypt_128bit()
52 desc, fpu_enabled, nbytes); in __glue_ecb_crypt_128bit()
77 glue_fpu_end(fpu_enabled); in __glue_ecb_crypt_128bit()
197 bool fpu_enabled = false; in glue_cbc_decrypt_128bit() local
205 fpu_enabled = glue_fpu_begin(bsize, gctx->fpu_blocks_limit, in glue_cbc_decrypt_128bit()
206 desc, fpu_enabled, nbytes); in glue_cbc_decrypt_128bit()
211 glue_fpu_end(fpu_enabled); in glue_cbc_decrypt_128bit()
280 bool fpu_enabled = false; in glue_ctr_crypt_128bit() local
288 fpu_enabled = glue_fpu_begin(bsize, gctx->fpu_blocks_limit, in glue_ctr_crypt_128bit()
[all …]
Dcast5_avx_glue.c49 static inline bool cast5_fpu_begin(bool fpu_enabled, unsigned int nbytes) in cast5_fpu_begin() argument
52 NULL, fpu_enabled, nbytes); in cast5_fpu_begin()
55 static inline void cast5_fpu_end(bool fpu_enabled) in cast5_fpu_end() argument
57 return glue_fpu_end(fpu_enabled); in cast5_fpu_end()
63 bool fpu_enabled = false; in ecb_crypt() local
79 fpu_enabled = cast5_fpu_begin(fpu_enabled, nbytes); in ecb_crypt()
110 cast5_fpu_end(fpu_enabled); in ecb_crypt()
231 bool fpu_enabled = false; in cbc_decrypt() local
240 fpu_enabled = cast5_fpu_begin(fpu_enabled, nbytes); in cbc_decrypt()
245 cast5_fpu_end(fpu_enabled); in cbc_decrypt()
[all …]
Dserpent_sse2_glue.c174 static inline bool serpent_fpu_begin(bool fpu_enabled, unsigned int nbytes) in serpent_fpu_begin() argument
177 NULL, fpu_enabled, nbytes); in serpent_fpu_begin()
180 static inline void serpent_fpu_end(bool fpu_enabled) in serpent_fpu_end() argument
182 glue_fpu_end(fpu_enabled); in serpent_fpu_end()
187 bool fpu_enabled; member
196 ctx->fpu_enabled = serpent_fpu_begin(ctx->fpu_enabled, nbytes); in encrypt_callback()
213 ctx->fpu_enabled = serpent_fpu_begin(ctx->fpu_enabled, nbytes); in decrypt_callback()
251 .fpu_enabled = false, in lrw_encrypt()
265 serpent_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt()
277 .fpu_enabled = false, in lrw_decrypt()
[all …]
Dtwofish_avx_glue.c207 static inline bool twofish_fpu_begin(bool fpu_enabled, unsigned int nbytes) in twofish_fpu_begin() argument
210 fpu_enabled, nbytes); in twofish_fpu_begin()
213 static inline void twofish_fpu_end(bool fpu_enabled) in twofish_fpu_end() argument
215 glue_fpu_end(fpu_enabled); in twofish_fpu_end()
220 bool fpu_enabled; member
229 ctx->fpu_enabled = twofish_fpu_begin(ctx->fpu_enabled, nbytes); in encrypt_callback()
251 ctx->fpu_enabled = twofish_fpu_begin(ctx->fpu_enabled, nbytes); in decrypt_callback()
274 .fpu_enabled = false, in lrw_encrypt()
288 twofish_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt()
300 .fpu_enabled = false, in lrw_decrypt()
[all …]
Dserpent_avx2_glue.c172 static inline bool serpent_fpu_begin(bool fpu_enabled, unsigned int nbytes) in serpent_fpu_begin() argument
175 return glue_fpu_begin(SERPENT_BLOCK_SIZE, 8, NULL, fpu_enabled, nbytes); in serpent_fpu_begin()
178 static inline void serpent_fpu_end(bool fpu_enabled) in serpent_fpu_end() argument
180 glue_fpu_end(fpu_enabled); in serpent_fpu_end()
185 bool fpu_enabled; member
194 ctx->fpu_enabled = serpent_fpu_begin(ctx->fpu_enabled, nbytes); in encrypt_callback()
218 ctx->fpu_enabled = serpent_fpu_begin(ctx->fpu_enabled, nbytes); in decrypt_callback()
243 .fpu_enabled = false, in lrw_encrypt()
257 serpent_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt()
269 .fpu_enabled = false, in lrw_decrypt()
[all …]
Dcast6_avx_glue.c193 static inline bool cast6_fpu_begin(bool fpu_enabled, unsigned int nbytes) in cast6_fpu_begin() argument
196 NULL, fpu_enabled, nbytes); in cast6_fpu_begin()
199 static inline void cast6_fpu_end(bool fpu_enabled) in cast6_fpu_end() argument
201 glue_fpu_end(fpu_enabled); in cast6_fpu_end()
206 bool fpu_enabled; member
215 ctx->fpu_enabled = cast6_fpu_begin(ctx->fpu_enabled, nbytes); in encrypt_callback()
232 ctx->fpu_enabled = cast6_fpu_begin(ctx->fpu_enabled, nbytes); in decrypt_callback()
269 .fpu_enabled = false, in lrw_encrypt()
283 cast6_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt()
295 .fpu_enabled = false, in lrw_decrypt()
[all …]
Dcamellia_aesni_avx2_glue.c186 static inline bool camellia_fpu_begin(bool fpu_enabled, unsigned int nbytes) in camellia_fpu_begin() argument
189 CAMELLIA_AESNI_PARALLEL_BLOCKS, NULL, fpu_enabled, in camellia_fpu_begin()
193 static inline void camellia_fpu_end(bool fpu_enabled) in camellia_fpu_end() argument
195 glue_fpu_end(fpu_enabled); in camellia_fpu_end()
207 bool fpu_enabled; member
216 ctx->fpu_enabled = camellia_fpu_begin(ctx->fpu_enabled, nbytes); in encrypt_callback()
246 ctx->fpu_enabled = camellia_fpu_begin(ctx->fpu_enabled, nbytes); in decrypt_callback()
277 .fpu_enabled = false, in lrw_encrypt()
291 camellia_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt()
303 .fpu_enabled = false, in lrw_decrypt()
[all …]
Dserpent_avx_glue.c206 static inline bool serpent_fpu_begin(bool fpu_enabled, unsigned int nbytes) in serpent_fpu_begin() argument
209 NULL, fpu_enabled, nbytes); in serpent_fpu_begin()
212 static inline void serpent_fpu_end(bool fpu_enabled) in serpent_fpu_end() argument
214 glue_fpu_end(fpu_enabled); in serpent_fpu_end()
219 bool fpu_enabled; member
228 ctx->fpu_enabled = serpent_fpu_begin(ctx->fpu_enabled, nbytes); in encrypt_callback()
245 ctx->fpu_enabled = serpent_fpu_begin(ctx->fpu_enabled, nbytes); in decrypt_callback()
279 .fpu_enabled = false, in lrw_encrypt()
293 serpent_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt()
305 .fpu_enabled = false, in lrw_decrypt()
[all …]
Dcamellia_aesni_avx_glue.c190 static inline bool camellia_fpu_begin(bool fpu_enabled, unsigned int nbytes) in camellia_fpu_begin() argument
193 CAMELLIA_AESNI_PARALLEL_BLOCKS, NULL, fpu_enabled, in camellia_fpu_begin()
197 static inline void camellia_fpu_end(bool fpu_enabled) in camellia_fpu_end() argument
199 glue_fpu_end(fpu_enabled); in camellia_fpu_end()
211 bool fpu_enabled; member
220 ctx->fpu_enabled = camellia_fpu_begin(ctx->fpu_enabled, nbytes); in encrypt_callback()
244 ctx->fpu_enabled = camellia_fpu_begin(ctx->fpu_enabled, nbytes); in decrypt_callback()
269 .fpu_enabled = false, in lrw_encrypt()
283 camellia_fpu_end(crypt_ctx.fpu_enabled); in lrw_encrypt()
295 .fpu_enabled = false, in lrw_decrypt()
[all …]
/linux-4.1.27/arch/x86/include/asm/crypto/
Dglue_helper.h48 bool fpu_enabled, unsigned int nbytes) in glue_fpu_begin() argument
53 if (fpu_enabled) in glue_fpu_begin()
72 static inline void glue_fpu_end(bool fpu_enabled) in glue_fpu_end() argument
74 if (fpu_enabled) in glue_fpu_end()
/linux-4.1.27/arch/arc/kernel/
Dsetup.c249 int fpu_enabled; in arc_chk_core_config() local
284 fpu_enabled = IS_ENABLED(CONFIG_ARC_FPU_SAVE_RESTORE); in arc_chk_core_config()
286 if (cpu->extn.fpu_dp && !fpu_enabled) in arc_chk_core_config()
288 else if (!cpu->extn.fpu_dp && fpu_enabled) in arc_chk_core_config()
/linux-4.1.27/arch/mips/include/asm/
Dkvm_host.h440 u8 fpu_enabled; member
577 vcpu->fpu_enabled; in kvm_mips_guest_can_have_fpu()
/linux-4.1.27/arch/mips/kvm/
Dmips.c884 vcpu->arch.fpu_enabled = true; in kvm_vcpu_ioctl_enable_cap()