Home
last modified time | relevance | path

Searched refs:round (Results 1 – 25 of 303) sorted by relevance

12345678910>>...13

/openbmc/linux/arch/arm64/crypto/
H A Dsm3-neon-core.S121 #define R(i, a, b, c, d, e, f, g, h, k, K_LOAD, round, widx, wtype, IOP, iop_param) \ argument
122 K_LOAD(round); \
123 ldr t5, [sp, #(wtype##_W1_ADDR(round, widx))]; \
127 ldr t6, [sp, #(wtype##_W1W2_ADDR(round, widx))]; \
155 #define R1(a, b, c, d, e, f, g, h, k, K_LOAD, round, widx, wtype, IOP, iop_param) \ argument
156 R(1, ##a, ##b, ##c, ##d, ##e, ##f, ##g, ##h, ##k, K_LOAD, round, widx, wtype, IOP, iop_param)
158 #define R2(a, b, c, d, e, f, g, h, k, K_LOAD, round, widx, wtype, IOP, iop_param) \ argument
159 R(2, ##a, ##b, ##c, ##d, ##e, ##f, ##g, ##h, ##k, K_LOAD, round, widx, wtype, IOP, iop_param)
161 #define KL(round) \ argument
162 ldp k_even, k_odd, [RKPTR, #(4*(round))];
[all …]
H A Daes-cipher-core.S84 .macro do_crypt, round, ttab, ltab, bsz
104 0: \round w8, w9, w10, w11, w4, w5, w6, w7
105 \round w4, w5, w6, w7, w8, w9, w10, w11
108 \round w8, w9, w10, w11, w4, w5, w6, w7
110 2: \round w4, w5, w6, w7, w8, w9, w10, w11
113 \round w4, w5, w6, w7, w8, w9, w10, w11, \bsz, b
/openbmc/qemu/target/arm/tcg/
H A Dvec_internal.h80 bool round, uint32_t *sat) in do_sqrshl_bhs() argument
84 if (round) { in do_sqrshl_bhs()
89 if (round) { in do_sqrshl_bhs()
115 bool round, uint32_t *sat) in do_uqrshl_bhs() argument
117 if (shift <= -(bits + round)) { in do_uqrshl_bhs()
120 if (round) { in do_uqrshl_bhs()
146 bool round, uint32_t *sat) in do_suqrshl_bhs() argument
152 return do_uqrshl_bhs(src, shift, bits, round, sat); in do_suqrshl_bhs()
156 bool round, uint32_t *sat) in do_sqrshl_d() argument
160 if (round) { in do_sqrshl_d()
[all …]
/openbmc/linux/arch/x86/crypto/
H A Dcast5-avx-x86_64-asm_64.S149 #define round(l, r, n, f) \ macro
252 round(RL, RR, 0, 1);
253 round(RR, RL, 1, 2);
254 round(RL, RR, 2, 3);
255 round(RR, RL, 3, 1);
256 round(RL, RR, 4, 2);
257 round(RR, RL, 5, 3);
258 round(RL, RR, 6, 1);
259 round(RR, RL, 7, 2);
260 round(RL, RR, 8, 3);
[all …]
H A Dsm3-avx-asm_64.S181 #define R(i, a, b, c, d, e, f, g, h, round, widx, wtype) \ argument
185 leal K##round(t0, e, 1), t1; \
188 addl wtype##_W1_ADDR(round, widx), h; \
194 addl wtype##_W1W2_ADDR(round, widx), d; \
215 #define R1(a, b, c, d, e, f, g, h, round, widx, wtype) \ argument
216 R(1, a, b, c, d, e, f, g, h, round, widx, wtype)
218 #define R2(a, b, c, d, e, f, g, h, round, widx, wtype) \ argument
219 R(2, a, b, c, d, e, f, g, h, round, widx, wtype)
224 #define IW_W_ADDR(round, widx, offs) \ argument
225 (STACK_W + ((round) / 4) * 64 + (offs) + ((widx) * 4))(%rsp)
[all …]
H A Dtwofish-x86_64-asm_64.S66 #define encrypt_round(a,b,c,d,round)\ argument
88 add k+round(%r11), %r9d;\
91 add k+4+round(%r11),%r8d;\
102 #define encrypt_last_round(a,b,c,d,round)\ argument
126 add k+round(%r11), %r9d;\
129 add k+4+round(%r11),%r8d;\
139 #define decrypt_round(a,b,c,d,round)\ argument
161 add k+round(%r11), %r9d;\
163 add k+4+round(%r11),%r8d;\
175 #define decrypt_last_round(a,b,c,d,round)\ argument
[all …]
H A Dtwofish-i586-asm_32.S67 #define encrypt_round(a,b,c,d,round)\ argument
91 add k+round(%ebp), %esi;\
94 add k+4+round(%ebp),d ## D;\
105 #define encrypt_last_round(a,b,c,d,round)\ argument
129 add k+round(%ebp), %esi;\
132 add k+4+round(%ebp),d ## D;\
142 #define decrypt_round(a,b,c,d,round)\ argument
166 add k+round(%ebp), c ## D;\
168 add k+4+round(%ebp),%esi;\
180 #define decrypt_last_round(a,b,c,d,round)\ argument
[all …]
/openbmc/linux/arch/mips/math-emu/
H A Ddp_rint.c19 int round; in ieee754dp_rint() local
42 round = 0; in ieee754dp_rint()
47 round = (residue >> 63) != 0; in ieee754dp_rint()
56 if (round && (sticky || odd)) in ieee754dp_rint()
62 if ((round || sticky) && !xs) in ieee754dp_rint()
66 if ((round || sticky) && xs) in ieee754dp_rint()
71 if (round || sticky) in ieee754dp_rint()
H A Dsp_rint.c19 int round; in ieee754sp_rint() local
42 round = 0; in ieee754sp_rint()
48 round = (residue >> 31) != 0; in ieee754sp_rint()
57 if (round && (sticky || odd)) in ieee754sp_rint()
63 if ((round || sticky) && !xs) in ieee754sp_rint()
67 if ((round || sticky) && xs) in ieee754sp_rint()
72 if (round || sticky) in ieee754sp_rint()
H A Dsp_tlong.c15 int round; in ieee754sp_tlong() local
58 round = 0; in ieee754sp_tlong()
63 round = (residue >> 31) != 0; in ieee754sp_tlong()
70 if (round && (sticky || odd)) in ieee754sp_tlong()
76 if ((round || sticky) && !xs) in ieee754sp_tlong()
80 if ((round || sticky) && xs) in ieee754sp_tlong()
89 if (round || sticky) in ieee754sp_tlong()
H A Ddp_tint.c15 int round; in ieee754dp_tint() local
55 round = 0; in ieee754dp_tint()
60 round = (residue >> 63) != 0; in ieee754dp_tint()
69 if (round && (sticky || odd)) in ieee754dp_tint()
75 if ((round || sticky) && !xs) in ieee754dp_tint()
79 if ((round || sticky) && xs) in ieee754dp_tint()
89 if (round || sticky) in ieee754dp_tint()
H A Dsp_tint.c15 int round; in ieee754sp_tint() local
58 round = 0; in ieee754sp_tint()
67 round = (residue >> 31) != 0; in ieee754sp_tint()
74 if (round && (sticky || odd)) in ieee754sp_tint()
80 if ((round || sticky) && !xs) in ieee754sp_tint()
84 if ((round || sticky) && xs) in ieee754sp_tint()
93 if (round || sticky) in ieee754sp_tint()
H A Ddp_tlong.c15 int round; in ieee754dp_tlong() local
58 round = 0; in ieee754dp_tlong()
67 round = (residue >> 63) != 0; in ieee754dp_tlong()
74 if (round && (sticky || odd)) in ieee754dp_tlong()
80 if ((round || sticky) && !xs) in ieee754dp_tlong()
84 if ((round || sticky) && xs) in ieee754dp_tlong()
93 if (round || sticky) in ieee754dp_tlong()
/openbmc/qemu/tests/tcg/xtensa/
H A Dtest_fp0_conv.S80 test_ftoi round.s, a2, f0, 0xffc00001, 0, 0x7fffffff, FSR_V
81 test_ftoi round.s, a2, f0, 0xff800001, 0, 0x7fffffff, FSR_V
84 test_ftoi round.s, a2, f0, 0xff800000, 0, 0x80000000, FSR_V
87 test_ftoi round.s, a2, f0, 0xceffffff, 1, 0x80000000, FSR_V
88 test_ftoi round.s, a2, f0, 0xcf000000, 0, 0x80000000, FSR__
89 test_ftoi round.s, a2, f0, 0xceffffff, 0, 0x80000080, FSR__
92 test_ftoi round.s, a2, f0, 0xbfa00000, 1, -2, FSR_I /* -1.25 * 2 */
93 test_ftoi round.s, a2, f0, 0xbfc00000, 0, -2, FSR_I /* -1.5 */
94 test_ftoi round.s, a2, f0, 0xbf800000, 1, -2, FSR__ /* -1 * 2 */
95 test_ftoi round.s, a2, f0, 0xbf800000, 0, -1, FSR__ /* -1 */
[all …]
/openbmc/linux/tools/power/cpupower/bench/
H A Dsystem.c130 unsigned int round; in prepare_user() local
132 for (round = 0; round < config->rounds; round++) { in prepare_user()
134 (config->sleep + config->sleep_step * round); in prepare_user()
136 (config->load + config->load_step * round) + in prepare_user()
137 (config->load + config->load_step * round * 4); in prepare_user()
/openbmc/linux/Documentation/networking/
H A Dtls-offload-reorder-good.svg1round" stroke-linecap="butt" d="m0 24.999102l99.02362 0l0 42.04725l-99.02362 0z" fill-rule="evenod…
H A Dtls-offload-reorder-bad.svg1round" stroke-linecap="butt" d="m0 24.999102l99.02362 0l0 42.04725l-99.02362 0z" fill-rule="evenod…
/openbmc/qemu/target/hexagon/
H A Dfma_emu.c168 uint8_t round; member
178 p->round = 0; in accum_init()
187 a.guard = a.round; in accum_norm_left()
188 a.round = a.sticky; in accum_norm_left()
197 a.round | a.guard | int128_nz(a.mant); in accum_norm_right()
198 a.guard = a.round = 0; in accum_norm_right()
205 a.sticky |= a.round | a.guard | (int128_getlo(a.mant) != 0); in accum_norm_right()
207 a.round = (int128_getlo(a.mant) >> 62) & 1; in accum_norm_right()
214 a.sticky |= a.round; in accum_norm_right()
215 a.round = a.guard; in accum_norm_right()
[all …]
/openbmc/u-boot/lib/
H A Daes.c548 u32 round; in aes_encrypt() local
553 for (round = 1; round < AES_ROUNDS + 1; round++) { in aes_encrypt()
554 if (round < AES_ROUNDS) in aes_encrypt()
560 (u32 *)expkey + round * AES_STATECOLS); in aes_encrypt()
569 int round; in aes_decrypt() local
577 for (round = AES_ROUNDS; round--; ) { in aes_decrypt()
579 (u32 *)expkey + round * AES_STATECOLS); in aes_decrypt()
580 if (round) in aes_decrypt()
/openbmc/linux/lib/crypto/
H A Daes.c263 int round; in aes_encrypt() local
281 for (round = 0;; round += 2, rkp += 8) { in aes_encrypt()
287 if (round == rounds - 2) in aes_encrypt()
314 int round; in aes_decrypt() local
332 for (round = 0;; round += 2, rkp += 8) { in aes_decrypt()
338 if (round == rounds - 2) in aes_decrypt()
/openbmc/linux/arch/powerpc/crypto/
H A Daes-gcm-p10.S32 # vs0 - vs14 for round keys
49 # vs1 - vs9 - round keys
111 # vs1 - vs9 - round keys
567 # r6 - AES round keys
592 # load round key to VSR
611 vxor 15, 30, 29 # IV + round key - add round key 0
616 # load 2 more round keys (v11, v12)
623 # load 2 more round keys (v11, v12, v13, v14)
756 # last round
797 vxor 15, 30, 27 # add round key
[all …]
/openbmc/dbus-sensors/src/
H A DPwmSensor.cpp87 auto reqInt = static_cast<uint32_t>(std::round(reqValue)); in PwmSensor()
88 auto respInt = static_cast<uint32_t>(std::round(respValue)); in PwmSensor()
103 auto currInt = static_cast<uint32_t>(std::round(currScaled)); in PwmSensor()
137 auto roundValue = std::round(scaledValue * pwmMax); in PwmSensor()
148 auto roundValue = std::round(scaledValue * targetIfaceMax); in PwmSensor()
/openbmc/qemu/libdecnumber/
H A DdecContext.c97 context->round=DEC_ROUND_HALF_UP; /* 0.5 rises */ in decContextDefault()
112 context->round=DEC_ROUND_HALF_EVEN; /* 0.5 to nearest even */ in decContextDefault()
123 context->round=DEC_ROUND_HALF_EVEN; /* 0.5 to nearest even */ in decContextDefault()
134 context->round=DEC_ROUND_HALF_EVEN; /* 0.5 to nearest even */ in decContextDefault()
167 return context->round; in decContextGetRounding()
226 context->round=newround; in decContextSetRounding()
/openbmc/linux/arch/m68k/fpsp040/
H A Dround.S2 | round.sa 3.4 7/29/91
21 | round --- round result according to precision/mode
44 .global round
45 round: label
46 | If g=r=s=0 then result is exact and round is done, else set
55 swap %d1 |set up d1.w for round prec.
81 swap %d1 |set up d1 for round prec.
106 swap %d1 |set up d1 for round prec.
113 | Note that this will round to even in case of a tie.
116 swap %d1 |set up d1 for round prec.
[all …]
/openbmc/linux/arch/arm/crypto/
H A Daes-cipher-core.S102 .macro do_crypt, round, ttab, ltab, bsz
149 0: \round r8, r9, r10, r11, r4, r5, r6, r7
150 \round r4, r5, r6, r7, r8, r9, r10, r11
153 \round r8, r9, r10, r11, r4, r5, r6, r7
155 \round r4, r5, r6, r7, r8, r9, r10, r11
172 \round r4, r5, r6, r7, r8, r9, r10, r11, \bsz, b, rounds

12345678910>>...13