Home
last modified time | relevance | path

Searched refs:control_word (Results 1 – 15 of 15) sorted by relevance

/Linux-v6.6/arch/x86/math-emu/
Dfpu_arith.c24 FPU_add(&st(i), FPU_gettagi(i), 0, control_word); in fadd__()
32 FPU_mul(&st(i), FPU_gettagi(i), 0, control_word); in fmul__()
39 FPU_sub(0, FPU_rm, control_word); in fsub__()
46 FPU_sub(REV, FPU_rm, control_word); in fsubr_()
53 FPU_div(0, FPU_rm, control_word); in fdiv__()
60 FPU_div(REV, FPU_rm, control_word); in fdivr_()
68 FPU_add(&st(i), FPU_gettagi(i), i, control_word); in fadd_i()
75 FPU_mul(&st(0), FPU_gettag0(), FPU_rm, control_word); in fmul_i()
82 FPU_sub(DEST_RM, FPU_rm, control_word); in fsubri()
89 FPU_sub(REV | DEST_RM, FPU_rm, control_word); in fsub_i()
[all …]
Derrors.c167 control_word & 0x1000 ? 1 : 0, in FPU_printall()
168 (control_word & 0x800) >> 11, (control_word & 0x400) >> 10, in FPU_printall()
169 (control_word & 0x200) >> 9, (control_word & 0x100) >> 8, in FPU_printall()
170 control_word & 0x80 ? 1 : 0, in FPU_printall()
171 control_word & SW_Precision ? 1 : 0, in FPU_printall()
172 control_word & SW_Underflow ? 1 : 0, in FPU_printall()
173 control_word & SW_Overflow ? 1 : 0, in FPU_printall()
174 control_word & SW_Zero_Div ? 1 : 0, in FPU_printall()
175 control_word & SW_Denorm_Op ? 1 : 0, in FPU_printall()
176 control_word & SW_Invalid ? 1 : 0); in FPU_printall()
[all …]
Dload_store.c163 sv_cw = control_word; in FPU_load_store()
164 control_word |= RC_CHOP; in FPU_load_store()
169 control_word = sv_cw; in FPU_load_store()
173 sv_cw = control_word; in FPU_load_store()
174 control_word |= RC_CHOP; in FPU_load_store()
179 control_word = sv_cw; in FPU_load_store()
183 sv_cw = control_word; in FPU_load_store()
184 control_word |= RC_CHOP; in FPU_load_store()
189 control_word = sv_cw; in FPU_load_store()
255 FPU_get_user(control_word, in FPU_load_store()
[all …]
Dreg_ld_str.c363 if (control_word & CW_Invalid) { in FPU_store_extended()
410 if (!(control_word & CW_Underflow)) in FPU_store_double()
414 if (!(control_word & CW_Precision)) in FPU_store_double()
422 switch (control_word & CW_RC) { in FPU_store_double()
473 if (!(control_word & CW_Overflow)) in FPU_store_double()
476 if (!(control_word & CW_Precision)) in FPU_store_double()
503 if (control_word & CW_Underflow) in FPU_store_double()
522 if (!(control_word & CW_Invalid)) in FPU_store_double()
530 if (!(control_word & CW_Invalid)) in FPU_store_double()
538 if (control_word & CW_Invalid) { in FPU_store_double()
[all …]
Dreg_compare.c216 return !(control_word & CW_Invalid); in compare_st_st()
224 return !(control_word & CW_Invalid); in compare_st_st()
262 return !(control_word & CW_Invalid); in compare_i_st_st()
271 return !(control_word & CW_Invalid); in compare_i_st_st()
310 return !(control_word & CW_Invalid); in compare_u_st_st()
320 return !(control_word & CW_Invalid); in compare_u_st_st()
360 return !(control_word & CW_Invalid); in compare_ui_st_st()
371 return !(control_word & CW_Invalid); in compare_ui_st_st()
Dfpu_trig.c39 int old_cw = control_word, saved_status = partial_status; in trig_arg()
47 control_word &= ~CW_RC; in trig_arg()
48 control_word |= RC_CHOP; in trig_arg()
145 control_word = old_cw; in trig_arg()
202 if (control_word & CW_Invalid) { in single_arg_2_error()
216 if (control_word & CW_Invalid) { in single_arg_2_error()
285 if (control_word & CW_Invalid) { in fptan()
423 if (control_word & EX_Invalid) { in fxtract()
470 tag = wm_sqrt(st0_ptr, 0, 0, control_word, SIGN_POS); in fsqrt_()
700 if (control_word & CW_Invalid) { in fsincos()
[all …]
Dfpu_entry.c329 && (control_word & in math_emulate()
397 control_word); in math_emulate()
402 control_word); in math_emulate()
418 control_word); in math_emulate()
424 control_word); in math_emulate()
430 control_word); in math_emulate()
439 control_word); in math_emulate()
448 && (control_word & CW_Invalid)) in math_emulate()
Dfpu_aux.c121 if (control_word & CW_Invalid) { in fld_i_()
147 if (control_word & CW_Invalid) { in fxch_i()
155 if (control_word & CW_Invalid) { in fxch_i()
Dreg_constant.c117 (constants_table[FPU_rm]) (control_word & CW_RC); in fconst()
Dfpu_system.h99 #define control_word (I387->soft.cwd) macro
/Linux-v6.6/drivers/crypto/
Dpadlock-aes.c195 struct cword *control_word, int count) in rep_xcrypt_ecb() argument
199 : "d"(control_word), "b"(key), "c"(count)); in rep_xcrypt_ecb()
203 u8 *iv, struct cword *control_word, int count) in rep_xcrypt_cbc() argument
207 : "d" (control_word), "b" (key), "c" (count)); in rep_xcrypt_cbc()
264 void *control_word, u32 count) in padlock_xcrypt_ecb() argument
269 ecb_crypt(input, output, key, control_word, count); in padlock_xcrypt_ecb()
278 : "d"(control_word), "b"(key), "c"(initial)); in padlock_xcrypt_ecb()
282 : "d"(control_word), "b"(key), "c"(count)); in padlock_xcrypt_ecb()
286 u8 *iv, void *control_word, u32 count) in padlock_xcrypt_cbc() argument
291 return cbc_crypt(input, output, key, iv, control_word, count); in padlock_xcrypt_cbc()
[all …]
/Linux-v6.6/drivers/crypto/cavium/cpt/
Dcptvf_algs.h112 u64 control_word; member
Dcptvf_algs.c132 offset_control = (__be64 *)&rctx->control_word; in create_ctx_hdr()
/Linux-v6.6/drivers/net/ethernet/sun/
Dsungem.c671 dma_len = le64_to_cpu(txd->control_word) & TXDCTRL_BUFSZ; in gem_tx()
1034 txd->control_word = cpu_to_le64(ctrl); in gem_start_xmit()
1073 txd->control_word = cpu_to_le64(this_ctrl | len); in gem_start_xmit()
1083 txd->control_word = in gem_start_xmit()
1605 le64_to_cpu(txd->control_word) & in gem_clean_rings()
1657 txd->control_word = 0; in gem_init_rings()
Dsungem.h832 __le64 control_word; member