/linux-4.1.27/arch/mips/math-emu/ |
H A D | dp_tint.c | 27 int round; ieee754dp_tint() local 64 round = 0; ieee754dp_tint() 69 round = (residue >> 63) != 0; ieee754dp_tint() 78 if (round && (sticky || odd)) ieee754dp_tint() 84 if ((round || sticky) && !xs) ieee754dp_tint() 88 if ((round || sticky) && xs) ieee754dp_tint() 98 if (round || sticky) ieee754dp_tint()
|
H A D | dp_tlong.c | 27 int round; ieee754dp_tlong() local 67 round = 0; ieee754dp_tlong() 76 round = (residue >> 63) != 0; ieee754dp_tlong() 83 if (round && (sticky || odd)) ieee754dp_tlong() 89 if ((round || sticky) && !xs) ieee754dp_tlong() 93 if ((round || sticky) && xs) ieee754dp_tlong() 102 if (round || sticky) ieee754dp_tlong()
|
H A D | sp_tint.c | 27 int round; ieee754sp_tint() local 67 round = 0; ieee754sp_tint() 76 round = (residue >> 31) != 0; ieee754sp_tint() 83 if (round && (sticky || odd)) ieee754sp_tint() 89 if ((round || sticky) && !xs) ieee754sp_tint() 93 if ((round || sticky) && xs) ieee754sp_tint() 102 if (round || sticky) ieee754sp_tint()
|
H A D | sp_tlong.c | 28 int round; ieee754sp_tlong() local 68 round = 0; ieee754sp_tlong() 73 round = (residue >> 31) != 0; ieee754sp_tlong() 80 if (round && (sticky || odd)) ieee754sp_tlong() 86 if ((round || sticky) && !xs) ieee754sp_tlong() 90 if ((round || sticky) && xs) ieee754sp_tlong() 99 if (round || sticky) ieee754sp_tlong()
|
H A D | sp_sub.c | 128 /* provide guard,round and stick bit space */ ieee754sp_sub() 165 return ieee754sp_zero(1); /* round negative inf. => sign = -1 */ ieee754sp_sub() 167 return ieee754sp_zero(0); /* other round modes => sign = 1 */ ieee754sp_sub()
|
H A D | dp_sub.c | 131 /* provide guard,round and stick bit dpace */ ieee754dp_sub() 171 return ieee754dp_zero(1); /* round negative inf. => sign = -1 */ ieee754dp_sub() 173 return ieee754dp_zero(0); /* other round modes => sign = 1 */ ieee754dp_sub()
|
H A D | ieee754dp.c | 59 /* inexact must round of 3 bits ieee754dp_get_rounding() 146 /* inexact must round of 3 bits ieee754dp_format()
|
H A D | ieee754sp.c | 59 /* inexact must round of 3 bits ieee754sp_get_rounding() 144 /* inexact must round of 3 bits ieee754sp_format()
|
H A D | dp_add.c | 125 * Provide guard,round and stick bit space. ieee754dp_add()
|
H A D | sp_add.c | 125 * Provide guard, round and stick bit space. ieee754sp_add()
|
/linux-4.1.27/arch/x86/crypto/ |
H A D | cast5-avx-x86_64-asm_64.S | 159 #define round(l, r, n, f) \ define 251 round(RL, RR, 0, 1); 252 round(RR, RL, 1, 2); 253 round(RL, RR, 2, 3); 254 round(RR, RL, 3, 1); 255 round(RL, RR, 4, 2); 256 round(RR, RL, 5, 3); 257 round(RL, RR, 6, 1); 258 round(RR, RL, 7, 2); 259 round(RL, RR, 8, 3); 260 round(RR, RL, 9, 1); 261 round(RL, RR, 10, 2); 262 round(RR, RL, 11, 3); 268 round(RL, RR, 12, 1); 269 round(RR, RL, 13, 2); 270 round(RL, RR, 14, 3); 271 round(RR, RL, 15, 1); 327 round(RL, RR, 15, 1); 328 round(RR, RL, 14, 3); 329 round(RL, RR, 13, 2); 330 round(RR, RL, 12, 1); 333 round(RL, RR, 11, 3); 334 round(RR, RL, 10, 2); 335 round(RL, RR, 9, 1); 336 round(RR, RL, 8, 3); 337 round(RL, RR, 7, 2); 338 round(RR, RL, 6, 1); 339 round(RL, RR, 5, 3); 340 round(RR, RL, 4, 2); 341 round(RL, RR, 3, 1); 342 round(RR, RL, 2, 3); 343 round(RL, RR, 1, 2); 344 round(RR, RL, 0, 1);
|
H A D | twofish-i586-asm_32.S | 80 #define encrypt_round(a,b,c,d,round)\ 104 add k+round(%ebp), %esi;\ 107 add k+4+round(%ebp),d ## D;\ 116 * last round has different rotations for the output preparation 118 #define encrypt_last_round(a,b,c,d,round)\ 142 add k+round(%ebp), %esi;\ 145 add k+4+round(%ebp),d ## D;\ 155 #define decrypt_round(a,b,c,d,round)\ 179 add k+round(%ebp), c ## D;\ 181 add k+4+round(%ebp),%esi;\ 191 * last round has different rotations for the output preparation 193 #define decrypt_last_round(a,b,c,d,round)\ 217 add k+round(%ebp), c ## D;\ 219 add k+4+round(%ebp),%esi;\
|
H A D | twofish-x86_64-asm_64.S | 79 #define encrypt_round(a,b,c,d,round)\ 101 add k+round(%r11), %r9d;\ 104 add k+4+round(%r11),%r8d;\ 113 * during the round a and b are prepared for the output whitening 115 #define encrypt_last_round(a,b,c,d,round)\ 139 add k+round(%r11), %r9d;\ 142 add k+4+round(%r11),%r8d;\ 152 #define decrypt_round(a,b,c,d,round)\ 174 add k+round(%r11), %r9d;\ 176 add k+4+round(%r11),%r8d;\ 186 * during the round a and b are prepared for the output whitening 188 #define decrypt_last_round(a,b,c,d,round)\ 212 add k+round(%r11), %r9d;\ 214 add k+4+round(%r11),%r8d;\
|
H A D | camellia_glue.c | 822 /* round 2 */ camellia_setup_tail() 824 /* round 4 */ camellia_setup_tail() 826 /* round 6 */ camellia_setup_tail() 834 /* round 8 */ camellia_setup_tail() 836 /* round 10 */ camellia_setup_tail() 838 /* round 12 */ camellia_setup_tail() 846 /* round 14 */ camellia_setup_tail() 848 /* round 16 */ camellia_setup_tail() 850 /* round 18 */ camellia_setup_tail() 865 /* round 20 */ camellia_setup_tail() 867 /* round 22 */ camellia_setup_tail() 869 /* round 24 */ camellia_setup_tail() 876 /* round 23 */ camellia_setup_tail() 878 /* round 21 */ camellia_setup_tail() 880 /* round 19 */ camellia_setup_tail() 889 /* round 17 */ camellia_setup_tail() 891 /* round 15 */ camellia_setup_tail() 893 /* round 13 */ camellia_setup_tail() 901 /* round 11 */ camellia_setup_tail() 903 /* round 9 */ camellia_setup_tail() 905 /* round 7 */ camellia_setup_tail() 913 /* round 5 */ camellia_setup_tail() 915 /* round 3 */ camellia_setup_tail() 917 /* round 1 */ camellia_setup_tail() 924 SET_SUBKEY_LR(2, subRL[3]); /* round 1 */ camellia_setup_tail() 925 SET_SUBKEY_LR(3, subRL[2] ^ subRL[4]); /* round 2 */ camellia_setup_tail() 926 SET_SUBKEY_LR(4, subRL[3] ^ subRL[5]); /* round 3 */ camellia_setup_tail() 927 SET_SUBKEY_LR(5, subRL[4] ^ subRL[6]); /* round 4 */ camellia_setup_tail() 928 SET_SUBKEY_LR(6, subRL[5] ^ subRL[7]); /* round 5 */ camellia_setup_tail() 935 SET_SUBKEY_LR(7, subRL[6] ^ tt); /* round 6 */ camellia_setup_tail() 944 SET_SUBKEY_LR(10, subRL[11] ^ tt); /* round 7 */ camellia_setup_tail() 945 SET_SUBKEY_LR(11, subRL[10] ^ subRL[12]); /* round 8 */ camellia_setup_tail() 946 SET_SUBKEY_LR(12, subRL[11] ^ subRL[13]); /* round 9 */ camellia_setup_tail() 947 SET_SUBKEY_LR(13, subRL[12] ^ subRL[14]); /* round 10 */ camellia_setup_tail() 948 SET_SUBKEY_LR(14, subRL[13] ^ subRL[15]); /* round 11 */ camellia_setup_tail() 955 SET_SUBKEY_LR(15, subRL[14] ^ tt); /* round 12 */ camellia_setup_tail() 964 SET_SUBKEY_LR(18, subRL[19] ^ tt); /* round 13 */ camellia_setup_tail() 965 SET_SUBKEY_LR(19, subRL[18] ^ subRL[20]); /* round 14 */ camellia_setup_tail() 966 SET_SUBKEY_LR(20, subRL[19] ^ subRL[21]); /* round 15 */ camellia_setup_tail() 967 SET_SUBKEY_LR(21, subRL[20] ^ subRL[22]); /* round 16 */ camellia_setup_tail() 968 SET_SUBKEY_LR(22, subRL[21] ^ subRL[23]); /* round 17 */ camellia_setup_tail() 971 SET_SUBKEY_LR(23, subRL[22]); /* round 18 */ camellia_setup_tail() 979 SET_SUBKEY_LR(23, subRL[22] ^ tt); /* round 18 */ camellia_setup_tail() 988 SET_SUBKEY_LR(26, subRL[27] ^ tt); /* round 19 */ camellia_setup_tail() 989 SET_SUBKEY_LR(27, subRL[26] ^ subRL[28]); /* round 20 */ camellia_setup_tail() 990 SET_SUBKEY_LR(28, subRL[27] ^ subRL[29]); /* round 21 */ camellia_setup_tail() 991 SET_SUBKEY_LR(29, subRL[28] ^ subRL[30]); /* round 22 */ camellia_setup_tail() 992 SET_SUBKEY_LR(30, subRL[29] ^ subRL[31]); /* round 23 */ camellia_setup_tail() 993 SET_SUBKEY_LR(31, subRL[30]); /* round 24 */ camellia_setup_tail()
|
H A D | aes-i586-asm_32.S | 89 // idx input register for the round (destroyed) 90 // tmp scratch register for the round 151 // the first previous round column values in r0,r1,r4,r5 and 155 // round column values 170 // round column values 186 // the first previous round column values in r0,r1,r4,r5 and 190 // round column values 205 // round column values 242 // input four columns and xor in first round key 254 add $16,%ebp // increment to next round key 274 fwd_rnd2(+144(%ebp), crypto_fl_tab) // last round uses a different table 314 // input four columns and xor in first round key 326 add $16,%ebp // increment to next round key 346 inv_rnd2(+144(%ebp), crypto_il_tab) // last round uses a different table
|
H A D | aes-x86_64-asm_64.S | 83 #define round(TAB,OFFSET,r1,r2,r3,r4,r5,r6,r7,r8,ra,rb,rc,rd) \ define 139 round(TAB,OFFSET,R1,R2,R3,R4,R5,R6,R7,R10,R5,R6,R3,R4) \ 143 round(TAB,OFFSET,R1,R2,R3,R4,R5,R6,R7,R10,R5,R6,R3,R4) 146 round(TAB,OFFSET,R2,R1,R4,R3,R6,R5,R7,R10,R5,R6,R3,R4) \ 150 round(TAB,OFFSET,R2,R1,R4,R3,R6,R5,R7,R10,R5,R6,R3,R4)
|
H A D | sha1_avx2_x86_64_asm.S | 356 .if (round_id == 0) /* Precalculate F for first round */ 387 lea (RE,RTB), E /* Add F from the previous round */ 390 rorx $(32-30),A, TB /* b>>>2 for next round */ 395 * Calculate F for the next round 406 lea (RE,RTB), E /* Add F from the previous round */ 408 /* Calculate F for the next round */ 411 rorx $(32-30), A, TB /* b>>>2 for next round */ 430 lea (RE,RTB), E /* Add F from the previous round */ 436 rorx $(32-30), A, TB /* b>>>2 for next round */ 438 /* Calculate F for the next round
|
H A D | sha1_ssse3_asm.S | 264 .macro RR F, a, b, c, d, e, round 265 add WK(\round), \e 267 W_PRECALC (\round + W_PRECALC_AHEAD) 270 add WK(\round + 1), \d 273 W_PRECALC (\round + W_PRECALC_AHEAD + 1)
|
H A D | aesni-intel_asm.S | 1005 AESENCLAST \TMP3, \XMM1 # last round 1820 AESKEYGENASSIST 0x1 %xmm2 %xmm1 # round 1 1824 AESKEYGENASSIST 0x2 %xmm2 %xmm1 # round 2 1828 AESKEYGENASSIST 0x4 %xmm2 %xmm1 # round 3 1832 AESKEYGENASSIST 0x8 %xmm2 %xmm1 # round 4 1836 AESKEYGENASSIST 0x10 %xmm2 %xmm1 # round 5 1840 AESKEYGENASSIST 0x20 %xmm2 %xmm1 # round 6 1844 AESKEYGENASSIST 0x40 %xmm2 %xmm1 # round 7 1849 AESKEYGENASSIST 0x1 %xmm2 %xmm1 # round 1 1851 AESKEYGENASSIST 0x2 %xmm2 %xmm1 # round 2 1853 AESKEYGENASSIST 0x4 %xmm2 %xmm1 # round 3 1855 AESKEYGENASSIST 0x8 %xmm2 %xmm1 # round 4 1857 AESKEYGENASSIST 0x10 %xmm2 %xmm1 # round 5 1859 AESKEYGENASSIST 0x20 %xmm2 %xmm1 # round 6 1861 AESKEYGENASSIST 0x40 %xmm2 %xmm1 # round 7 1863 AESKEYGENASSIST 0x80 %xmm2 %xmm1 # round 8 1867 AESKEYGENASSIST 0x1 %xmm0 %xmm1 # round 1 1869 AESKEYGENASSIST 0x2 %xmm0 %xmm1 # round 2 1871 AESKEYGENASSIST 0x4 %xmm0 %xmm1 # round 3 1873 AESKEYGENASSIST 0x8 %xmm0 %xmm1 # round 4 1875 AESKEYGENASSIST 0x10 %xmm0 %xmm1 # round 5 1877 AESKEYGENASSIST 0x20 %xmm0 %xmm1 # round 6 1879 AESKEYGENASSIST 0x40 %xmm0 %xmm1 # round 7 1881 AESKEYGENASSIST 0x80 %xmm0 %xmm1 # round 8 1883 AESKEYGENASSIST 0x1b %xmm0 %xmm1 # round 9 1885 AESKEYGENASSIST 0x36 %xmm0 %xmm1 # round 10 1937 * KLEN: round count 1949 pxor KEY, STATE # round 0 1995 * KLEN: round count 2013 pxor KEY, STATE1 # round 0 2093 AESENCLAST KEY STATE1 # last round 2139 pxor KEY, STATE # round 0 2203 pxor KEY, STATE1 # round 0 2283 AESDECLAST KEY STATE1 # last round
|
H A D | sha256-avx-asm.S | 310 .macro DO_ROUND round 328 offset = \round * 4 + _XFER #
|
H A D | sha256-ssse3-asm.S | 316 .macro DO_ROUND round 334 offset = \round * 4 + _XFER
|
/linux-4.1.27/arch/m68k/fpsp040/ |
H A D | Makefile | 6 kernel_ex.o res_func.o round.o sacos.o sasin.o satan.o satanh.o \
|
H A D | x_unfl.S | 34 |xref round 53 bsrl unf_res |denormalize, round & store interm op 146 | ;upper word for round 161 | the user's precision for the round routine. 168 bnes unf_cont |if not, use fpcr prec in round 183 | ;d0 has guard,round sticky bit 185 | ;before it reaches the round subroutine 189 | Set up d1 for round subroutine d1 contains the PREC/MODE 197 | round subroutines. All code between these two subroutines 203 | d0{31:29} has guard, round, sticky 209 bsrl round |returns rounded denorm at (a0)
|
H A D | sint.S | 35 | sintrz, force round-to-zero mode. 65 |xref round 90 beq snzrinx |if round nearest or round zero, +/- 0 96 bsr ld_pone |if round plus inf and pos, answer is +1 101 bsr ld_mone |if round mns inf and neg, answer is -1 217 | ;used by round 221 bsr round |round the unnorm based on users
|
H A D | round.S | 2 | 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. 94 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. 124 | ext_grs --- extract guard, round and sticky bits 127 | Output: d0{31:29}= guard, round, sticky 129 | The ext_grs extract the guard/round/sticky bits according to the 130 | selected rounding precision. It is called by the round subroutine 132 | updated guard,round,sticky in d0{31:29} 134 | Notes: the ext_grs uses the round PREC, and therefore has to swap d1 138 swap %d1 |have d1.w point to round precision 411 | d0 is guard,round,sticky 489 | d0{31:29} initial guard,round,sticky 493 | d0{31:29} final guard,round,sticky 506 bfextu WBTEMP_GRS(%a6){#6:#3},%d2 |extract guard,round, sticky bit
|
H A D | res_func.S | 36 |xref round 111 | The routine round is used to correctly round the input for the 178 | If bit 2 is set, round is forced to double. If it is clear, 179 | and bit 6 is set, round is forced to single. If both are clear, 180 | the round precision is found in the fpcr. If the rounding precision 181 | is double or single, round the result before the write. 203 | The move is fdmove or round precision is double. 213 clrl %d0 |clear g,r,s for round 216 bsrl round 227 | The move is fsmove or round precision is single. 240 bsrl round 286 bsrl round 293 orl #aunfl_mask,USER_FPSR(%a6) |if the round was inex, set AUNFL 474 | If bit 2 is set, round is forced to double. If it is clear, 475 | and bit 6 is set, round is forced to single. If both are clear, 476 | the round precision is found in the fpcr. If the rounding precision 496 | The move is fdmove or round precision is double. Result is zero. 511 | The move is fsmove or round precision is single. Result is zero. 636 | call round with user's precision and mode 646 | call round with user's precision and mode 787 | ;round precision/mode. This 827 | precision. We can then call round with no sticky and the result 829 | the signs are the same, we call round with the sticky bit set 862 orl %d0,%d1 |set up for round call 866 bsrl round |round result to users rmode & prec 890 orl %d0,%d1 |set up for round call 893 sne WBTEMP_SGN(%a6) |use internal format for round 894 bsrl round |round result to users rmode & prec 914 orl %d0,%d1 |set up for round call 915 movel #0x20000000,%d0 |set sticky for round 918 bsrl round |round result to users rmode & prec 940 orl %d0,%d1 |set up for round call 941 movel #0x20000000,%d0 |set sticky for round 944 bsrl round |round result to users rmode & prec 964 | round routine.) 1002 | precision. We can then call round with no sticky and the result 1004 | the signs are unlike, we call round with the sticky bit set 1037 orl %d0,%d1 |set up for round call 1041 bsrl round |round result to users rmode & prec 1065 orl %d0,%d1 |set up for round call 1069 bsrl round |round result to users rmode & prec 1089 orl %d0,%d1 |set up for round call 1090 movel #0x20000000,%d0 |set sticky for round 1102 bsrl round |round result to users rmode & prec 1121 orl %d0,%d1 |set up for round call 1122 movel #0x20000000,%d0 |set sticky for round 1125 bsrl round |round result to users rmode & prec 1145 | round routine.) 1247 | ;round precision/mode. This 1279 | ;round precision/mode. This 1623 | int_drnrm---account for possible nonzero result for round up with positive 1624 | operand and round down for negative answer. In the first case (result = 1) 1731 bsrl round |round 1773 movel #1,%d0 |load in round precision 1791 | ;expects d0 to have round precision 1803 movel #1,%d0 |set round precision to sgl 1824 movel #2,%d0 |set round precision to dbl 1885 | it to the given round precision. This subroutine also decrements 1890 | d0 is the round precision (=1 for sgl; =2 for dbl) 1901 movel %d0,-(%a7) |save round precision 1903 bsrl dnrm_lp |careful with d0, it's needed by round 1909 bsrl round |round result, sets the inex bit in
|
H A D | slog2.S | 34 | Notes: Default means round-to-nearest mode, no floating-point 49 | Notes: Default means round-to-nearest mode, no floating-point 63 | Notes: Default means round-to-nearest mode, no floating-point 78 | Notes: Default means round-to-nearest mode, no floating-point
|
H A D | fpsp.h | 159 .set WBTEMP_GRS,LV-40 | alias wbtemp guard, round, sticky variable 161 .set round_bit,0 | round bit is bit number 0 289 .set x_mode,0x00 | round to extended 290 .set s_mode,0x40 | round to single 291 .set d_mode,0x80 | round to double 293 .set rn_mode,0x00 | round nearest 294 .set rz_mode,0x10 | round to zero 295 .set rm_mode,0x20 | round to minus infinity 296 .set rp_mode,0x30 | round to plus infinity 305 .set rnd_stky_bit,29 | round/sticky bit of mantissa
|
H A D | smovecr.S | 28 |xref round 129 movel %d1,L_SCR1(%a6) |load mode for round call 135 bnes not_ext |if extended, do not call round 152 bsr round |go round the mantissa
|
H A D | util.S | 93 | This sets the round precision according to the user's FPCR unless the 152 bfextu FPCR_MODE(%a6){#0:#2},%d0 |set round precision 164 | This sets the round precision according to the destination size. 182 lsll #2,%d0 |move round precision to d0{3:2} 183 bfextu FPCR_MODE(%a6){#2:#2},%d1 |set round mode 485 | d0 contains round precision 512 lsll #2,%d0 |move round precision to d0{3:2} 513 bfextu FPCR_MODE(%a6){#2:#2},%d1 |set round mode
|
H A D | get_op.S | 77 |round to nearest 84 | round to zero;round to negative infinity 91 | round to positive infinity 99 |round to nearest 120 |round to minus infinity 141 |round to positive infinity 165 |xref round
|
H A D | kernel_ex.S | 160 bfextu FPCR_MODE(%a6){#0:#2},%d0 |get round precision 191 | Check for single or double round precision. If single, check if 411 bfextu FPCR_MODE(%a6){#0:#2},%d0 |get round precision 412 bnes not_ext |if not round extended, store
|
H A D | stanh.S | 40 | 6. (|X| >= 50 log2) Tanh(X) = +-1 (round to nearest). Thus, we
|
H A D | setox.S | 79 | Step 2. Calculate N = round-to-nearest-int( X * 64/log2 ). 81 | 2.2 N := round-to-nearest-integer( X * 64/log2 ). 89 | N := round-to-nearest-integer(Z) 188 | 8.2 N := round-to-integer( X * 64/log2 ) 232 | Step 2. Calculate N = round-to-nearest-int( X * 64/log2 ). 233 | 2.1 N := round-to-nearest-integer( X * 64/log2 ).
|
/linux-4.1.27/arch/arm/plat-versatile/include/plat/ |
H A D | clock.h | 7 long (*round)(struct clk *, unsigned long); member in struct:clk_ops
|
/linux-4.1.27/arch/m68k/math-emu/ |
H A D | fp_util.S | 238 jne fp_e2e_roundother | %d2 == 0, round to nearest 242 jne fp_e2e_doroundup | round to infinity 244 jeq 9f | round to zero 258 jcs 9b | %d2 < 2, round to zero 259 jhi 1f | %d2 > 2, round to +infinity 261 jne fp_e2e_doroundup | negative, round to infinity 262 jra 9b | positive, round to zero 264 jeq fp_e2e_doroundup | positive, round to infinity 265 jra 9b | negative, round to zero 462 jne fp_ne_roundother | %d2 == 0, round to nearest 466 jne fp_ne_doroundup | round to infinity 468 jeq 9f | round to zero 482 jcs 9b | %d2 < 2, round to zero 483 jhi 1f | %d2 > 2, round to +infinity 485 jne fp_ne_doroundup | negative, round to infinity 486 jra 9b | positive, round to zero 488 jeq fp_ne_doroundup | positive, round to infinity 489 jra 9b | negative, round to zero 674 | now, round off the low 11 bits. 686 | from the shift above, it is needed for round to nearest. 691 jne 2f | %d2 == 0, round to nearest 697 | IEEE754-specified "round to even" behaviour. If the guard 703 jne fp_nd_doroundup | round to infinity 705 jeq 9b | round to zero 707 | round (the mantissa, that is) towards infinity 725 jcs 9b | %d2 < 2, round to zero 726 jhi 3f | %d2 > 2, round to +infinity 731 jne fp_nd_doroundup | negative, round to infinity 732 jra 9b | positive, round to zero 735 jeq fp_nd_doroundup | positive, round to infinity 736 jra 9b | negative, round to zero 760 jeq fp_nd_round | Nope, round. 762 jra fp_nd_round | Now, round. 786 jra fp_nd_round | round as desired. 809 jra fp_nd_round | round. 818 jne 3f | %d2 = 0 round to nearest 828 jcs 5f | %d2 < 2, round to zero 829 jhi 4f | %d2 > 2, round to +infinity 875 | now, round off the low 8 bits of the hi lword. 889 jne 2f | %d2 == 0, round to nearest 893 | round to even behaviour, see above. 894 jne fp_ns_doroundup | round to infinity 896 jeq 9f | round to zero 898 | round (the mantissa, that is) towards infinity 915 jcs 9b | %d2 < 2, round to zero 916 jhi 3f | %d2 > 2, round to +infinity 918 jne fp_ns_doroundup | negative, round to infinity 919 jra 9b | positive, round to zero 921 jeq fp_ns_doroundup | positive, round to infinity 922 jra 9b | negative, round to zero 952 jra fp_ns_round | round as desired. 960 jne 3f | %d2 = 0 round to nearest 970 jcs 5f | %d2 < 2, round to zero 971 jhi 4f | %d2 > 2, round to +infinity 1003 jra fp_ns_round | round. 1035 | now, round off the low 8 bits of the hi lword. 1049 jne 2f | %d2 == 0, round to nearest 1053 | round to even behaviour, see above. 1054 jne fp_nsf_doroundup | round to infinity 1056 jeq 9f | round to zero 1058 | round (the mantissa, that is) towards infinity 1075 jcs 9b | %d2 < 2, round to zero 1076 jhi 3f | %d2 > 2, round to +infinity 1078 jne fp_nsf_doroundup | negative, round to infinity 1079 jra 9b | positive, round to zero 1081 jeq fp_nsf_doroundup | positive, round to infinity 1082 jra 9b | negative, round to zero 1090 jne 3f | %d2 = 0 round to nearest 1100 jcs 5f | %d2 < 2, round to zero 1101 jhi 4f | %d2 > 2, round to +infinity 1176 jne 2f | %d2 == 0, round to nearest 1190 jcs 9b | %d2 < 2, round to zero 1191 jhi 3f | %d2 > 2, round to +infinity 1193 jne fp_e2i_doroundup\b | negative, round to infinity 1194 jra 9b | positive, round to zero 1196 jeq fp_e2i_doroundup\b | positive, round to infinity 1197 jra 9b | negative, round to zero 1203 jne 2b | %d2 == 0, round to nearest 1223 jcs 3f | %d2 < 2, round to nearest/zero 1224 jhi 2f | %d2 > 2, round to +infinity
|
H A D | fp_arith.c | 506 only case in which we will NOT round to 1.0 is when fp_roundint() 621 frem(src,dest) = (dest - (src * round(dest / src))) 682 /* src must be rounded with round to zero. */ fp_fscale()
|
/linux-4.1.27/tools/include/linux/ |
H A D | log2.h | 51 * round up to nearest power of two 60 * round down to nearest power of two 154 * roundup_pow_of_two - round the given value up to nearest power of two 157 * round the given value up to the nearest power of two 171 * rounddown_pow_of_two - round the given value down to nearest power of two 174 * round the given value down to the nearest power of two
|
/linux-4.1.27/include/linux/ |
H A D | log2.h | 58 * round up to nearest power of two 67 * round down to nearest power of two 161 * roundup_pow_of_two - round the given value up to nearest power of two 164 * round the given value up to the nearest power of two 178 * rounddown_pow_of_two - round the given value down to nearest power of two 181 * round the given value down to the nearest power of two
|
H A D | tfrc.h | 22 * @tfrcrx_rtt: round-trip-time (communicated by sender)
|
H A D | clocksource.h | 134 tmp += khz/2; /* round for do_div */ clocksource_khz2mult() 160 tmp += hz/2; /* round for do_div */ clocksource_hz2mult()
|
/linux-4.1.27/crypto/ |
H A D | camellia_generic.c | 384 /* round 2 */ camellia_setup_tail() 386 /* round 4 */ camellia_setup_tail() 388 /* round 6 */ camellia_setup_tail() 393 /* round 8 */ camellia_setup_tail() 395 /* round 10 */ camellia_setup_tail() 397 /* round 12 */ camellia_setup_tail() 402 /* round 14 */ camellia_setup_tail() 404 /* round 16 */ camellia_setup_tail() 406 /* round 18 */ camellia_setup_tail() 418 /* round 20 */ camellia_setup_tail() 420 /* round 22 */ camellia_setup_tail() 422 /* round 24 */ camellia_setup_tail() 429 /* round 23 */ camellia_setup_tail() 431 /* round 21 */ camellia_setup_tail() 433 /* round 19 */ camellia_setup_tail() 439 /* round 17 */ camellia_setup_tail() 441 /* round 15 */ camellia_setup_tail() 443 /* round 13 */ camellia_setup_tail() 448 /* round 11 */ camellia_setup_tail() 450 /* round 9 */ camellia_setup_tail() 452 /* round 7 */ camellia_setup_tail() 457 /* round 5 */ camellia_setup_tail() 459 /* round 3 */ camellia_setup_tail() 461 /* round 1 */ camellia_setup_tail() 469 SUBKEY_L(2) = subL[3]; /* round 1 */ camellia_setup_tail() 471 SUBKEY_L(3) = subL[2] ^ subL[4]; /* round 2 */ camellia_setup_tail() 473 SUBKEY_L(4) = subL[3] ^ subL[5]; /* round 3 */ camellia_setup_tail() 475 SUBKEY_L(5) = subL[4] ^ subL[6]; /* round 4 */ camellia_setup_tail() 477 SUBKEY_L(6) = subL[5] ^ subL[7]; /* round 5 */ camellia_setup_tail() 482 SUBKEY_L(7) = subL[6] ^ tl; /* round 6 */ camellia_setup_tail() 491 SUBKEY_L(10) = tl ^ subL[11]; /* round 7 */ camellia_setup_tail() 493 SUBKEY_L(11) = subL[10] ^ subL[12]; /* round 8 */ camellia_setup_tail() 495 SUBKEY_L(12) = subL[11] ^ subL[13]; /* round 9 */ camellia_setup_tail() 497 SUBKEY_L(13) = subL[12] ^ subL[14]; /* round 10 */ camellia_setup_tail() 499 SUBKEY_L(14) = subL[13] ^ subL[15]; /* round 11 */ camellia_setup_tail() 504 SUBKEY_L(15) = subL[14] ^ tl; /* round 12 */ camellia_setup_tail() 513 SUBKEY_L(18) = tl ^ subL[19]; /* round 13 */ camellia_setup_tail() 515 SUBKEY_L(19) = subL[18] ^ subL[20]; /* round 14 */ camellia_setup_tail() 517 SUBKEY_L(20) = subL[19] ^ subL[21]; /* round 15 */ camellia_setup_tail() 519 SUBKEY_L(21) = subL[20] ^ subL[22]; /* round 16 */ camellia_setup_tail() 521 SUBKEY_L(22) = subL[21] ^ subL[23]; /* round 17 */ camellia_setup_tail() 524 SUBKEY_L(23) = subL[22]; /* round 18 */ camellia_setup_tail() 532 SUBKEY_L(23) = subL[22] ^ tl; /* round 18 */ camellia_setup_tail() 541 SUBKEY_L(26) = tl ^ subL[27]; /* round 19 */ camellia_setup_tail() 543 SUBKEY_L(27) = subL[26] ^ subL[28]; /* round 20 */ camellia_setup_tail() 545 SUBKEY_L(28) = subL[27] ^ subL[29]; /* round 21 */ camellia_setup_tail() 547 SUBKEY_L(29) = subL[28] ^ subL[30]; /* round 22 */ camellia_setup_tail() 549 SUBKEY_L(30) = subL[29] ^ subL[31]; /* round 23 */ camellia_setup_tail() 551 SUBKEY_L(31) = subL[30]; /* round 24 */ camellia_setup_tail()
|
H A D | rmd128.c | 66 /* round 1: left lane */ rmd128_transform() 84 /* round 2: left lane */ rmd128_transform() 102 /* round 3: left lane */ rmd128_transform() 120 /* round 4: left lane */ rmd128_transform() 138 /* round 1: right lane */ rmd128_transform() 156 /* round 2: right lane */ rmd128_transform() 174 /* round 3: right lane */ rmd128_transform() 192 /* round 4: right lane */ rmd128_transform()
|
H A D | rmd256.c | 66 /* round 1: left lane */ rmd256_transform() 84 /* round 1: right lane */ rmd256_transform() 105 /* round 2: left lane */ rmd256_transform() 123 /* round 2: right lane */ rmd256_transform() 144 /* round 3: left lane */ rmd256_transform() 162 /* round 3: right lane */ rmd256_transform() 183 /* round 4: left lane */ rmd256_transform() 201 /* round 4: right lane */ rmd256_transform()
|
H A D | rmd160.c | 72 /* round 1: left lane */ rmd160_transform() 90 /* round 2: left lane" */ rmd160_transform() 108 /* round 3: left lane" */ rmd160_transform() 126 /* round 4: left lane" */ rmd160_transform() 144 /* round 5: left lane" */ rmd160_transform() 162 /* round 1: right lane */ rmd160_transform() 180 /* round 2: right lane */ rmd160_transform() 198 /* round 3: right lane */ rmd160_transform() 216 /* round 4: right lane */ rmd160_transform() 234 /* round 5: right lane */ rmd160_transform()
|
H A D | rmd320.c | 72 /* round 1: left lane */ rmd320_transform() 90 /* round 1: right lane */ rmd320_transform() 111 /* round 2: left lane" */ rmd320_transform() 129 /* round 2: right lane */ rmd320_transform() 150 /* round 3: left lane" */ rmd320_transform() 168 /* round 3: right lane */ rmd320_transform() 189 /* round 4: left lane" */ rmd320_transform() 207 /* round 4: right lane */ rmd320_transform() 228 /* round 5: left lane" */ rmd320_transform() 246 /* round 5: right lane */ rmd320_transform()
|
H A D | twofish_generic.c | 64 * rotations. The parameters are the round number (used to select subkeys), 118 /* Temporaries used by the round function. */ twofish_encrypt() 155 /* Temporaries used by the round function. */ twofish_decrypt()
|
H A D | cast6_generic.c | 164 /*forward quad round*/ Q() 174 /*reverse quad round*/ QBAR()
|
H A D | anubis.c | 490 * generate R + 1 round keys: anubis_setkey() 495 * generate r-th round key K^r: anubis_setkey() 585 * and add initial round key (sigma[K^0]): anubis_crypt() 626 * last round: anubis_crypt()
|
H A D | fcrypt.c | 224 * This is a 16 round Feistel network with permutation F_ENCRYPT 330 /* Use lower 32 bits for schedule, rotate by 11 each round (16 times) */ fcrypt_setkey() 371 /* Use lower 32 bits for schedule, rotate by 11 each round (16 times) */ fcrypt_setkey()
|
H A D | algif_aead.c | 416 /* round up output buffer to multiple of block size */ aead_recvmsg() 423 /* round up output buffer to multiple of block size */ aead_recvmsg()
|
/linux-4.1.27/include/crypto/ |
H A D | twofish.h | 14 * subkeys, K[0] through K[7]. k holds the remaining, "round" subkeys. Note
|
/linux-4.1.27/tools/power/cpupower/bench/ |
H A D | system.c | 142 unsigned int round; prepare_user() local 144 for (round = 0; round < config->rounds; round++) { prepare_user() 146 (config->sleep + config->sleep_step * round); prepare_user() 148 (config->load + config->load_step * round) + prepare_user() 149 (config->load + config->load_step * round * 4); prepare_user()
|
H A D | parse.h | 26 * sleep time after every round in µs */ 28 * load time after every round in µs */
|
H A D | parse.c | 112 fprintf(output, "#round load sleep performance powersave percentage\n"); prepare_output()
|
/linux-4.1.27/drivers/md/ |
H A D | dm-round-robin.c | 19 #define DM_MSG_PREFIX "multipath round-robin" 120 *error = "round-robin ps: incorrect number of arguments"; rr_add_path() 126 *error = "round-robin ps: invalid repeat count"; rr_add_path() 133 *error = "round-robin ps: Error allocating path context"; rr_add_path() 181 .name = "round-robin", 217 MODULE_DESCRIPTION(DM_NAME " round-robin multipath path selector");
|
/linux-4.1.27/arch/parisc/math-emu/ |
H A D | frnd.c | 79 * Need to round? sgl_frnd() 95 /* round result */ sgl_frnd() 121 /* round result */ sgl_frnd() 184 * Need to round? dbl_frnd() 201 /* round result */ dbl_frnd() 229 /* round result */ dbl_frnd()
|
H A D | fcnvfu.c | 111 /* round result */ sgl_to_sgl_fcnvfu() 133 /* round result */ sgl_to_sgl_fcnvfu() 232 /* round result */ sgl_to_dbl_fcnvfu() 254 /* round result */ sgl_to_dbl_fcnvfu() 350 /* round result */ dbl_to_sgl_fcnvfu() 381 /* round result */ dbl_to_sgl_fcnvfu() 475 /* round result */ dbl_to_dbl_fcnvfu() 495 /* round result */ dbl_to_dbl_fcnvfu()
|
H A D | fcnvfx.c | 102 /* round result */ sgl_to_sgl_fcnvfx() 126 /* round result */ sgl_to_sgl_fcnvfx() 208 /* round result */ sgl_to_dbl_fcnvfx() 239 /* round result */ sgl_to_dbl_fcnvfx() 321 /* round result */ dbl_to_sgl_fcnvfx() 358 /* round result */ dbl_to_sgl_fcnvfx() 440 /* round result */ dbl_to_dbl_fcnvfx() 471 /* round result */ dbl_to_dbl_fcnvfx()
|
H A D | dfadd.c | 309 * Only the two most significant bits (round and guard) are dbl_fadd() 336 * was normalized, so extent (guard, round) was zero */ dbl_fadd() 344 goto round; dbl_fadd() 349 * operand was normalized, so extent (guard, round) was zero */ dbl_fadd() 439 /* Fall through and round */ dbl_fadd() 455 * exact. Otherwise round in the correct direction. No underflow is dbl_fadd() 458 round: dbl_fadd()
|
H A D | dfsub.c | 312 * Only the two most significant bits (round and guard) are dbl_fsub() 339 * was normalized, so extent (guard, round) was zero */ dbl_fsub() 347 goto round; dbl_fsub() 352 * operand was normalized, so extent (guard, round) was zero */ dbl_fsub() 442 /* Fall through and round */ dbl_fsub() 458 * exact. Otherwise round in the correct direction. No underflow is dbl_fsub() 461 round: dbl_fsub()
|
H A D | sfadd.c | 304 * Only the two most significant bits (round and guard) are sgl_fadd() 331 * was normalized, so extent (guard, round) was zero */ sgl_fadd() 339 goto round; sgl_fadd() 344 * operand was normalized, so extent (guard, round) was zero */ sgl_fadd() 434 /* Fall through and round */ sgl_fadd() 450 * exact. Otherwise round in the correct direction. No underflow is sgl_fadd() 453 round: sgl_fadd()
|
H A D | sfsub.c | 307 * Only the two most significant bits (round and guard) are sgl_fsub() 334 * was normalized, so extent (guard, round) was zero */ sgl_fsub() 342 goto round; sgl_fsub() 347 * operand was normalized, so extent (guard, round) was zero */ sgl_fsub() 437 /* Fall through and round */ sgl_fsub() 453 * exact. Otherwise round in the correct direction. No underflow is sgl_fsub() 456 round: sgl_fsub()
|
H A D | fmpyfadd.c | 455 goto round; dbl_fmpyfadd() 538 * significant bits (round and guard) are needed. dbl_fmpyfadd() 564 goto round; dbl_fmpyfadd() 609 /* Fall through and round */ dbl_fmpyfadd() 626 * all zeros, then the result is exact. Otherwise round in the dbl_fmpyfadd() 630 round: dbl_fmpyfadd() 1115 goto round; dbl_fmpynfadd() 1198 * significant bits (round and guard) are needed. dbl_fmpynfadd() 1224 goto round; dbl_fmpynfadd() 1269 /* Fall through and round */ dbl_fmpynfadd() 1286 * all zeros, then the result is exact. Otherwise round in the dbl_fmpynfadd() 1290 round: dbl_fmpynfadd() 1768 goto round; sgl_fmpyfadd() 1848 * significant bits (round and guard) are needed. sgl_fmpyfadd() 1873 goto round; sgl_fmpyfadd() 1915 /* Fall through and round */ sgl_fmpyfadd() 1930 * all zeros, then the result is exact. Otherwise round in the sgl_fmpyfadd() 1934 round: sgl_fmpyfadd() 2410 goto round; sgl_fmpynfadd() 2490 * significant bits (round and guard) are needed. sgl_fmpynfadd() 2515 goto round; sgl_fmpynfadd() 2557 /* Fall through and round */ sgl_fmpynfadd() 2572 * all zeros, then the result is exact. Otherwise round in the sgl_fmpynfadd() 2576 round: sgl_fmpynfadd()
|
H A D | dfrem.c | 188 * In this case n will round to 1, so dbl_frem() 210 * In this case n will round to zero, so dbl_frem() 230 * Do last subtract, then determine which way to round if remainder dbl_frem()
|
H A D | sfrem.c | 187 * In this case n will round to 1, so sgl_frem() 206 * In this case n will round to zero, so sgl_frem() 225 * Do last subtract, then determine which way to round if remainder sgl_frem()
|
H A D | decode_exc.c | 210 * and the round away bit (RA) decode_fpu() 231 * If ra (round-away) is set, will decode_fpu() 243 * If ra (round-away) is set, will decode_fpu()
|
H A D | dfsqrt.c | 165 /* now round result */ dbl_fsqrt()
|
H A D | sfsqrt.c | 157 /* now round result */ sgl_fsqrt()
|
H A D | cnv_float.h | 66 if (int_value & 1<<(SGL_EXP_LENGTH - 2)) /* round bit */ \ 323 if (suint_value & 1<<(SGL_EXP_LENGTH - 1)) /* round bit */ \
|
/linux-4.1.27/arch/arm/crypto/ |
H A D | bsaes-armv7.pl | 728 vldmia $key!, {@XMM[9]} @ round 0 key 784 vldmia $key, {@XMM[8]} @ last round key 823 vldmia $key!, {@XMM[9]} @ round 0 key 882 vldmia $key, {@XMM[8]} @ last round key 927 vld1.8 {@XMM[7]}, [$inp]! @ load round 0 key 929 vld1.8 {@XMM[15]}, [$inp]! @ load round 1 key 944 vstmia $out!, {@XMM[7]} @ save round 0 key 962 vld1.8 {@XMM[15]}, [$inp]! @ load next round key 971 vstmia $out!,{@XMM[0]-@XMM[7]} @ write bit-sliced round key 975 @ don't save last round key 995 veor @XMM[7],@XMM[7],@XMM[15] @ fix up last round key 996 vstmia r12, {@XMM[7]} @ save last round key 1044 vstmia r12, {@XMM[15]} @ save last round key 1045 veor @XMM[7], @XMM[7], @XMM[6] @ fix up round 0 key 1119 sub r12, sp, $rounds, lsl#7 @ 128 bytes per inner round key 1128 vstmia r12, {@XMM[15]} @ save last round key 1129 veor @XMM[7], @XMM[7], @XMM[6] @ fix up round 0 key 1144 vstmia r12, {@XMM[15]} @ save last round key 1145 veor @XMM[7], @XMM[7], @XMM[6] @ fix up round 0 key 1383 sub r12, sp, $rounds, lsl#7 @ 128 bytes per inner round key 1391 veor @XMM[7],@XMM[7],@XMM[15] @ fix up last round key 1392 vstmia r12, {@XMM[7]} @ save last round key 1408 veor @XMM[7],@XMM[7],@XMM[15] @ fix up last round key 1409 vstmia r12, {@XMM[7]} @ save last round key 1445 add r4, $keysched, #0x10 @ pass next round key 1630 sub r12, sp, $rounds, lsl#7 @ 128 bytes per inner round key 1640 veor @XMM[7], @XMM[7], @XMM[15] @ fix up last round key 1641 vstmia r12, {@XMM[7]} @ save last round key 1652 veor @XMM[7], @XMM[7], @XMM[15] @ fix up last round key 1696 vst1.64 {@XMM[8]}, [r0,:128] @ next round tweak 1729 vld1.64 {@XMM[8]}, [r0,:128] @ next round tweak 1765 vst1.64 {@XMM[15]}, [r0,:128] @ next round tweak 1796 vld1.64 {@XMM[8]}, [r0,:128] @ next round tweak 1800 vst1.64 {@XMM[14]}, [r0,:128] @ next round tweak 1827 vld1.64 {@XMM[8]}, [r0,:128] @ next round tweak 1837 vst1.64 {@XMM[13]}, [r0,:128] @ next round tweak 1863 vld1.64 {@XMM[8]}, [r0,:128] @ next round tweak 1867 vst1.64 {@XMM[12]}, [r0,:128] @ next round tweak 1890 vld1.64 {@XMM[8]}, [r0,:128] @ next round tweak 1894 vst1.64 {@XMM[11]}, [r0,:128] @ next round tweak 1916 vld1.64 {@XMM[8]}, [r0,:128] @ next round tweak 1920 vst1.64 {@XMM[10]}, [r0,:128] @ next round tweak 1939 vld1.64 {@XMM[8]}, [r0,:128] @ next round tweak 1957 vmov @XMM[8], @XMM[9] @ next round tweak 2044 sub r12, sp, $rounds, lsl#7 @ 128 bytes per inner round key 2056 vstmia r12, {@XMM[15]} @ save last round key 2057 veor @XMM[7], @XMM[7], @XMM[6] @ fix up round 0 key 2071 vstmia r12, {@XMM[15]} @ save last round key 2072 veor @XMM[7], @XMM[7], @XMM[6] @ fix up round 0 key 2121 vst1.64 {@XMM[8]}, [r0,:128] @ next round tweak 2154 vld1.64 {@XMM[8]}, [r0,:128] @ next round tweak 2190 vst1.64 {@XMM[15]}, [r0,:128] @ next round tweak 2221 vld1.64 {@XMM[8]}, [r0,:128] @ next round tweak 2225 vst1.64 {@XMM[14]}, [r0,:128] @ next round tweak 2252 vld1.64 {@XMM[8]}, [r0,:128] @ next round tweak 2256 vst1.64 {@XMM[13]}, [r0,:128] @ next round tweak 2282 vld1.64 {@XMM[8]}, [r0,:128] @ next round tweak 2286 vst1.64 {@XMM[12]}, [r0,:128] @ next round tweak 2309 vld1.64 {@XMM[8]}, [r0,:128] @ next round tweak 2313 vst1.64 {@XMM[11]}, [r0,:128] @ next round tweak 2335 vld1.64 {@XMM[8]}, [r0,:128] @ next round tweak 2339 vst1.64 {@XMM[10]}, [r0,:128] @ next round tweak 2358 vld1.64 {@XMM[8]}, [r0,:128] @ next round tweak 2378 vmov @XMM[8], @XMM[9] @ next round tweak 2385 @ calculate one round of extra tweak for the stolen ciphertext
|
H A D | aes-ce-core.S | 123 * q8 : first round key 124 * q9 : secound round key 125 * ip : address of 3rd round key 126 * q14 : final round key 131 add ip, r2, #32 @ 3rd round key 138 add ip, r2, #32 @ 3rd round key 144 add ip, r2, #32 @ 3rd round key 150 add ip, r2, #32 @ 3rd round key 156 vld1.8 {q8-q9}, [\rk] @ load first 2 round keys 157 vld1.8 {q14}, [ip] @ load last round key 264 vmov q15, q14 @ preserve last round key 390 add ip, r6, #32 @ 3rd round key of key 2 483 add ip, r2, #32 @ 3rd round key 511 * operation on round key *src
|
H A D | sha256-armv4.pl | 116 eor $t2,$a,$b @ a^b, b^c in next round 119 eor $t2,$a,$b @ a^b, b^c in next round 439 '&eor ($t2,$a,$b)', # a^b, b^c in next round
|
H A D | aes-ce-glue.c | 67 * The AES key schedule round constants ce_aes_expandkey() 113 * This involves reversing the order of the round keys, and applying ce_aes_expandkey()
|
/linux-4.1.27/arch/arm/plat-versatile/ |
H A D | clock.c | 41 if (clk->ops && clk->ops->round) clk_round_rate() 42 ret = clk->ops->round(clk, rate); clk_round_rate()
|
/linux-4.1.27/arch/arm64/crypto/ |
H A D | aes-neon.S | 89 1111: eor \in\().16b, \in\().16b, v15.16b /* ^round key */ 101 2222: eor \in\().16b, \in\().16b, v15.16b /* ^round key */ 235 1111: eor \in0\().16b, \in0\().16b, v15.16b /* ^round key */ 236 eor \in1\().16b, \in1\().16b, v15.16b /* ^round key */ 252 2222: eor \in0\().16b, \in0\().16b, v15.16b /* ^round key */ 253 eor \in1\().16b, \in1\().16b, v15.16b /* ^round key */ 260 1111: eor \in0\().16b, \in0\().16b, v15.16b /* ^round key */ 261 eor \in1\().16b, \in1\().16b, v15.16b /* ^round key */ 262 eor \in2\().16b, \in2\().16b, v15.16b /* ^round key */ 263 eor \in3\().16b, \in3\().16b, v15.16b /* ^round key */ 282 2222: eor \in0\().16b, \in0\().16b, v15.16b /* ^round key */ 283 eor \in1\().16b, \in1\().16b, v15.16b /* ^round key */ 284 eor \in2\().16b, \in2\().16b, v15.16b /* ^round key */ 285 eor \in3\().16b, \in3\().16b, v15.16b /* ^round key */
|
H A D | aes-ce.S | 19 /* preload all round keys */ 61 /* up to 4 interleaved encryption rounds with the same round key */
|
H A D | aes-ce-cipher.c | 153 * The AES key schedule round constants ce_aes_expandkey() 198 * This involves reversing the order of the round keys, and applying ce_aes_expandkey()
|
H A D | sha1-ce-glue.c | 62 * partial data and the input is a round multiple of the block size. sha1_ce_finup()
|
H A D | sha2-ce-glue.c | 62 * partial data and the input is a round multiple of the block size. sha256_ce_finup()
|
H A D | aes-ce-ccm-glue.c | 168 /* preserve the original iv for the final round */ ccm_encrypt() 224 /* preserve the original iv for the final round */ ccm_decrypt()
|
/linux-4.1.27/include/linux/sunrpc/ |
H A D | timer.h | 16 unsigned long srtt[5]; /* smoothed round trip time << 3 */
|
/linux-4.1.27/fs/logfs/ |
H A D | dir.c | 134 static pgoff_t hash_index(u32 hash, int round) hash_index() argument 141 switch (round) { hash_index() 152 + round - 4; hash_index() 164 int round; logfs_get_dd_page() local 169 for (round = 0; round < 20; round++) { logfs_get_dd_page() 170 index = hash_index(hash, round); logfs_get_dd_page() 375 int round, err; logfs_write_dir() local 377 for (round = 0; round < 20; round++) { logfs_write_dir() 378 index = hash_index(hash, round); logfs_write_dir()
|
H A D | gc.c | 16 * Why not 397, to pick a nice round number with no specific meaning? :) 460 int round, progress, last_progress = 0; __logfs_gc_pass() local 475 for (round = 0; round < SCAN_ROUNDS; ) { __logfs_gc_pass() 482 round += logfs_scan_some(sb); __logfs_gc_pass() 487 last_progress = round; __logfs_gc_pass() 488 else if (round - last_progress > 2) __logfs_gc_pass() 514 * To round off the nasty goto logic, we reset round here. It __logfs_gc_pass() 519 round = 0; __logfs_gc_pass()
|
/linux-4.1.27/drivers/crypto/vmx/ |
H A D | aesp8-ppc.pl | 160 lvx $rcon,0,$ptr # last two round keys 359 subi $inp,$out,240 # first round key 361 add $out,$inp,$cnt # last round key 425 ?vperm v1,v1,v2,v5 # align round key 646 # v26-v31 last 6 round keys 709 stvx v24,$x00,$key_ # off-load round[1] 712 stvx v25,$x10,$key_ # off-load round[2] 719 stvx v24,$x00,$key_ # off-load round[3] 722 stvx v25,$x10,$key_ # off-load round[4] 733 lvx v24,$x00,$key_ # pre-load round[1] 735 lvx v25,$x10,$key_ # pre-load round[2] 783 lvx v24,$x20,$key_ # round[3] 794 lvx v25,$x10,$key_ # round[4] 849 lvx v24,$x00,$key_ # re-pre-load round[1] 859 lvx v25,$x10,$key_ # re-pre-load round[2] 862 vxor $ivec,$ivec,v31 # xor with last round key 947 lvx v24,$x20,$key_ # round[3] 957 lvx v25,$x10,$key_ # round[4] 1009 vxor $ivec,$ivec,v31 # last round key 1173 stvx $inpperm,r10,$sp # wipe copies of round keys 1314 vxor $dat,$dat,$rndkey1 # last round key 1349 # v26-v31 last 6 round keys 1412 stvx v24,$x00,$key_ # off-load round[1] 1415 stvx v25,$x10,$key_ # off-load round[2] 1422 stvx v24,$x00,$key_ # off-load round[3] 1425 stvx v25,$x10,$key_ # off-load round[4] 1436 lvx v24,$x00,$key_ # pre-load round[1] 1438 lvx v25,$x10,$key_ # pre-load round[2] 1478 lvx v24,$x20,$key_ # round[3] 1489 lvx v25,$x10,$key_ # round[4] 1522 lvx v24,$x00,$key_ # re-pre-load round[1] 1534 lvx v25,$x10,$key_ # re-pre-load round[2] 1577 vxor $in0,$in0,v31 # xor with last round key 1823 stvx $inpperm,r10,$sp # wipe copies of round keys
|
/linux-4.1.27/tools/virtio/virtio-trace/ |
H A D | trace-agent.c | 74 unsigned long value, round; parse_size() local 98 round = value & (PAGE_SIZE - 1); parse_size() 99 value = value - round; parse_size()
|
/linux-4.1.27/net/sunrpc/ |
H A D | timer.c | 4 * Estimate RPC request round trip time. 6 * Based on packet round-trip and variance estimator algorithms described
|
/linux-4.1.27/drivers/clk/sunxi/ |
H A D | clk-sun8i-mbus.c | 48 /* we were called to round the frequency, we can now return */ sun8i_a23_get_mbus_factors()
|
H A D | clk-sun9i-core.c | 65 /* we were called to round the frequency, we can now return */ sun9i_a80_get_pll4_factors() 130 /* we were called to round the frequency, we can now return */ sun9i_a80_get_gt_factors() 195 /* we were called to round the frequency, we can now return */ sun9i_a80_get_ahb_factors() 284 /* we were called to round the frequency, we can now return */ sun9i_a80_get_apb1_factors()
|
H A D | clk-sunxi.c | 257 /* we were called to round the frequency, we can now return */ sun4i_get_pll1_factors() 325 * round down the frequency. sun6i_a31_get_pll1_factors() 393 /* we were called to round the frequency, we can now return */ sun8i_a23_get_pll1_factors() 441 /* we were called to round the frequency, we can now return */ sun4i_get_pll5_factors() 473 /* we were called to round the frequency, we can now return */ sun6i_a31_get_pll6_factors() 516 /* we were called to round the frequency, we can now return */ sun5i_a13_get_ahb_factors() 556 /* we were called to round the frequency, we can now return */ sun4i_get_apb1_factors() 598 /* we were called to round the frequency, we can now return */ sun7i_a20_get_out_factors()
|
/linux-4.1.27/include/uapi/scsi/ |
H A D | scsi_netlink_fc.h | 43 /* macro to round up message lengths to 8byte boundary */
|
H A D | scsi_netlink.h | 76 /* macro to round up message lengths to 8byte boundary */
|
/linux-4.1.27/arch/mips/rb532/ |
H A D | time.c | 61 est_freq += 5000; /* round */ plat_time_init()
|
/linux-4.1.27/arch/mn10300/mm/ |
H A D | cache-flush-by-tag.S | 114 # round start addr down 118 add L1_CACHE_BYTES,d1 # round end addr up 218 and L1_CACHE_TAG_MASK,d0 # round start addr down 221 add L1_CACHE_BYTES,d1 # round end addr up
|
H A D | cache-dbg-flush-by-tag.S | 94 # round cacheline addr down
|
H A D | cache-inv-by-reg.S | 135 # round the addresses out to be full cachelines, unless we're in 139 and L1_CACHE_TAG_MASK,d0 # round start addr down 143 and L1_CACHE_TAG_MASK,d1 # round end addr up
|
H A D | cache-dbg-flush-by-reg.S | 107 # round cacheline addr down
|
H A D | cache-inv-by-tag.S | 144 and L1_CACHE_TAG_MASK,d0 # round start addr down 146 add L1_CACHE_BYTES,d1 # round end addr up
|
/linux-4.1.27/lib/ |
H A D | halfmd4.c | 11 * The generic round function. The application is so specific that
|
H A D | dynamic_queue_limits.c | 78 * "round down" by non-overlimit portion of the last dql_completed()
|
/linux-4.1.27/arch/powerpc/math-emu/ |
H A D | math_efp.c | 748 /* No need to round if the result is exact */ speround_handler() 771 * These instructions always round to zero, speround_handler() 819 pr_debug("round fgpr: %08x %08x\n", fgpr.wp[0], fgpr.wp[1]); speround_handler() 822 /* Since SPE instructions on E500 core can handle round to nearest speround_handler() 823 * and round toward zero with IEEE-754 complied, we just need speround_handler() 824 * to handle round toward +Inf and round toward -Inf by software. speround_handler() 829 } else { /* round to -Inf */ speround_handler() 847 } else { /* round to -Inf */ speround_handler() 863 } else { /* round to -Inf */ speround_handler()
|
/linux-4.1.27/drivers/i2c/busses/ |
H A D | i2c-rcar.c | 171 u32 round, ick; rcar_i2c_clock_calculate() local 220 round = (ick + 500000) / 1000000 * 285; rcar_i2c_clock_calculate() 221 round = (round + 500) / 1000; rcar_i2c_clock_calculate() 231 * scgd = (div - 20 - round + 7) / 8; rcar_i2c_clock_calculate() 232 * scl = ick / (20 + (scgd * 8) + round); rcar_i2c_clock_calculate() 236 scl = ick / (20 + (scgd * 8) + round); rcar_i2c_clock_calculate() 244 dev_dbg(dev, "clk %d/%d(%lu), round %u, CDF:0x%x, SCGD: 0x%x\n", rcar_i2c_clock_calculate() 245 scl, bus_speed, clk_get_rate(priv->clk), round, cdf, scgd); rcar_i2c_clock_calculate()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | reg_a2.h | 50 #define MMUCR1_IRRE 0x80000000 /* I-ERAT round robin enable */ 51 #define MMUCR1_DRRE 0x40000000 /* D-ERAT round robin enable */
|
H A D | user.h | 29 * current->start_stack, so we round each of these in order to be able
|
/linux-4.1.27/net/ipv4/ |
H A D | tcp_hybla.c | 24 u32 minrtt_us; /* Minimum smoothed round trip time value seen */ 27 /* Hybla reference round trip time (default= 1/40 sec = 25 ms), in ms */
|
H A D | tcp_cubic.c | 99 u32 round_start; /* beginning of each round */ 100 u32 end_seq; /* end_seq of the round */ 102 u32 curr_rtt; /* the minimum rtt of current round */
|
/linux-4.1.27/drivers/scsi/libfc/ |
H A D | fc_frame.c | 43 len = (fr_len(fp) + 3) & ~3; /* round up length to include fill */ fc_frame_crc_check()
|
/linux-4.1.27/arch/x86/math-emu/ |
H A D | poly_2xm1.c | 90 Xll++; /* round up */ poly_2xm1()
|
H A D | round_Xsig.S | 8 | Normalize and round a 12 byte quantity. |
|
H A D | wm_sqrt.S | 119 movl $0x80000000,%edx /* round up */ 295 /* prepare to round the result */ 314 /* prepare to round the result */
|
H A D | poly_tan.c | 103 XSIG_LL(accum)++; /* round up */ poly_tan()
|
H A D | reg_round.S | 224 /* Exactly half, increment only if 24th bit is 1 (round to even) */ 300 /* Exactly half, increment only if 53rd bit is 1 (round to even) */ 366 /* Now test for round-to-even */ 444 * round-up.
|
/linux-4.1.27/include/uapi/linux/ |
H A D | route.h | 59 #define RTF_IRTT 0x0100 /* Initial round trip time */
|
H A D | shm.h | 49 #define SHM_RND 020000 /* round attach address to SHMLBA boundary */
|
/linux-4.1.27/arch/cris/include/asm/ |
H A D | user.h | 28 * current->start_stack, so we round each of these in order to be able
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | user.h | 24 * current->start_stack, so we round each of these in order to be able
|
/linux-4.1.27/arch/m32r/include/asm/ |
H A D | user.h | 28 * current->start_stack, so we round each of these off in order to be
|
/linux-4.1.27/arch/m68k/amiga/ |
H A D | chipram.c | 76 /* round up */ amiga_chip_alloc_res()
|
/linux-4.1.27/arch/arm/mach-omap1/include/mach/ |
H A D | uncompress.h | 40 * Get address of some.bss variable and round it down set_omap_uart_info()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | clkt_dpll.c | 147 /* Unscale m and round if necessary */ _dpll_test_mult() 272 * omap2_dpll_round_rate - round a target rate for an OMAP DPLL 276 * Given a DPLL and a desired target rate, round the target rate to a 359 pr_debug("clock: %s: cannot round to rate %lu\n", omap2_dpll_round_rate()
|
H A D | dpll44xx.c | 138 * omap4_dpll_regm4xen_round_rate - round DPLL rate, considering REGM4XEN bit 139 * @clk: struct clk * of the DPLL to round a rate for 200 * locked, calculates the M,N values for the DPLL via round-rate.
|
/linux-4.1.27/arch/alpha/include/asm/ |
H A D | user.h | 30 * current->start_stack, so we round each of these in order to be able
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/ |
H A D | gf100.c | 163 priv->num_tags = (priv->num_tags + 63) & ~63; /* round up to 64 */ gf100_ltc_init_tag_ram() 172 * 0x4980 bytes for 64 tags, and round up to 0x6000 bytes for 64 tags. gf100_ltc_init_tag_ram() 178 tag_size = (tag_size + 0xfff) >> 12; /* round up */ gf100_ltc_init_tag_ram()
|
/linux-4.1.27/kernel/time/ |
H A D | timer.c | 142 * The skew is done by adding 3*cpunr, then round, then subtract this round_jiffies_common() 152 * we should round down to the whole second, not up. Use 1/4th second round_jiffies_common() 154 * But never round down if @force_up is set. round_jiffies_common() 156 if (rem < HZ/4 && !force_up) /* round down */ round_jiffies_common() 158 else /* round up */ round_jiffies_common() 172 * __round_jiffies - function to round jiffies to a full second 198 * __round_jiffies_relative - function to round jiffies to a full second 227 * round_jiffies - function to round jiffies to a full second 248 * round_jiffies_relative - function to round jiffies to a full second 269 * __round_jiffies_up - function to round jiffies up to a full second 274 * round down. This is useful for timeouts for which the exact time 285 * __round_jiffies_up_relative - function to round jiffies up to a full second 290 * round down. This is useful for timeouts for which the exact time 304 * round_jiffies_up - function to round jiffies up to a full second 308 * round down. This is useful for timeouts for which the exact time 319 * round_jiffies_up_relative - function to round jiffies up to a full second 323 * round down. This is useful for timeouts for which the exact time 843 * 4) use the bitmask to round down the maximum time, so that all last
|
H A D | time.c | 511 * round multiple of HZ, divide with the factor between them, msecs_to_jiffies() 512 * but round upwards: msecs_to_jiffies() 517 * HZ is larger than 1000, and HZ is a nice round multiple of msecs_to_jiffies() 529 * Generic case - multiply, round and divide. But first msecs_to_jiffies() 615 * We could instead round in the intermediate scaled representation
|
/linux-4.1.27/arch/powerpc/crypto/ |
H A D | aes-spe-modes.S | 167 * round values are AES128 = 4, AES192 = 5, AES256 = 6 194 * round values are AES128 = 4, AES192 = 5, AES256 = 6 223 * processed. round values are AES128 = 4, AES192 = 5 and 258 * processed. round values are AES128 = 4, AES192 = 5 and 294 * processed. round values are AES128 = 4, AES192 = 5 and 341 * round values are AES128 = 4, AES192 = 5, AES256 = 6
|
H A D | aes-spe-keys.S | 154 cmpwi r16,0 /* last round early kick out */ 212 cmpwi r16,0 /* last round early kick out */
|
/linux-4.1.27/drivers/hwmon/ |
H A D | hwmon-vid.c | 89 /* compute in uV, round to mV */ vid_from_reg() 102 /* compute in uV, round to mV */ vid_from_reg() 156 /* compute in uV, round to mV */ vid_from_reg()
|
H A D | max6642.c | 154 /* in between, another round of sanity checks */ max6642_detect()
|
/linux-4.1.27/drivers/staging/skein/ |
H A D | skein_base.h | 286 /* SKEIN_256 round rotation constants */ 296 /* SKEIN_512 round rotation constants */ 306 /* SKEIN_1024 round rotation constants */
|
/linux-4.1.27/arch/sh/include/asm/ |
H A D | user.h | 26 * current->start_stack, so we round each of these in order to be able
|
H A D | mmu_context.h | 19 * (a) TLB cache version (or round, cycle whatever expression you like)
|
/linux-4.1.27/arch/mips/sgi-ip22/ |
H A D | ip22-time.c | 59 * for every 1/HZ seconds. We round off the nearest 1 MHz of master dosample()
|
/linux-4.1.27/arch/powerpc/mm/ |
H A D | hugetlbpage-book3e.c | 38 /* Just round-robin the entries and wrap when we hit the end */ tlb1_next()
|
/linux-4.1.27/arch/arm64/kernel/ |
H A D | vmlinux.lds.S | 43 * runs from stext to _edata, must be a round multiple of the PE/COFF
|
/linux-4.1.27/arch/avr32/include/asm/ |
H A D | user.h | 37 * current->start_stack, so we round each of these in order to be able
|
/linux-4.1.27/arch/arm/common/ |
H A D | vlock.S | 74 @ Wait for the current round of voting to finish:
|
/linux-4.1.27/firmware/av7110/ |
H A D | Boot.S | 80 add r2, r2, #63 // round length to next 64 bytes
|
/linux-4.1.27/drivers/staging/rtl8712/ |
H A D | rtl871x_security.c | 543 PPK[0] += _S_(PPK[5] ^ TK16(0)); /* Mix key in each "round" */ phase2() 776 static void next_key(u8 *key, sint round) next_key() argument 789 rcon = rcon_table[round]; next_key() 876 sint round; aes128k128d() local 884 for (round = 0; round < 11; round++) { aes128k128d() 885 if (round == 0) { aes128k128d() 887 next_key(round_key, round); aes128k128d() 888 } else if (round == 10) { aes128k128d() 900 next_key(round_key, round); aes128k128d()
|
/linux-4.1.27/drivers/staging/rtl8723au/core/ |
H A D | rtw_security.c | 564 PPK[0] += _S_(PPK[5] ^ TK16(0)); /* Mix key in each "round" */ phase2() 857 static void next_key(u8 *key, int round) next_key() argument 871 rcon = rcon_table[round]; next_key() 972 int round; aes128k128d() local 981 for (round = 0; round < 11; round++) { aes128k128d() 982 if (round == 0) { aes128k128d() 984 next_key(round_key, round); aes128k128d() 985 } else if (round == 10) { aes128k128d() 997 next_key(round_key, round); aes128k128d()
|
/linux-4.1.27/drivers/infiniband/core/ |
H A D | ud_header.c | 248 3) / 4; /* round up */ ib_ud_header_init() 262 3) & ~3); /* round up */ ib_ud_header_init()
|
/linux-4.1.27/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_constants.h | 141 /* FW only: First visit at rx-path, part of the abts round trip */ 147 /* FW only: First visit at rx-path, part of the cleanup round trip */
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | pllnv04.c | 98 /* add crystal/2 to round better */ getMNP_single() 183 /* add calcclk1/2 to round better */ getMNP_double()
|
/linux-4.1.27/drivers/block/aoe/ |
H A D | aoe.h | 155 u32 rttavg; /* scaled AoE round trip time average */ 156 u32 rttdev; /* scaled round trip time mean deviation */
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | vecemu.c | 164 return 0; /* round towards zero */ ctsxs() 187 return 0; /* round towards zero */ ctuxs()
|
H A D | misc_64.S | 83 andc r6,r3,r5 /* round low to line bdy */ 99 andc r6,r3,r5 /* round low to line bdy */ 129 andc r6,r3,r5 /* round low to line bdy */ 156 andc r6,r3,r5 /* round low to line bdy */ 184 andc r6,r3,r5 /* round low to line bdy */
|
/linux-4.1.27/arch/frv/include/asm/ |
H A D | math-emu.h | 39 #define FPCR_ROUND_RN 0 /* round to nearest/even */ 40 #define FPCR_ROUND_RZ 1 /* round to zero */
|
H A D | user.h | 46 * current->start_stack, so we round each of these off in order to
|
H A D | spr-regs.h | 272 #define MSR0_RDAV_NEAREST_MI 0x00000000 /* - round to nearest minus */ 273 #define MSR0_RDAV_NEAREST_PL 0x20000000 /* - round to nearest plus */
|
/linux-4.1.27/arch/hexagon/kernel/ |
H A D | head.S | 93 r2.l = #0x0000; /* round back down to 4MB boundary */ 115 r2.l = #0x0000; /* round back down to 4MB boundary */
|
/linux-4.1.27/arch/m68k/include/asm/ |
H A D | math-emu.h | 39 #define FPCR_ROUND_RN 0 /* round to nearest/even */ 40 #define FPCR_ROUND_RZ 1 /* round to zero */
|
H A D | user.h | 26 current->start_stack, so we round each of these off in order to be able
|
/linux-4.1.27/drivers/media/rc/img-ir/ |
H A D | img-ir-hw.c | 77 range->max = (range->max*unit + 999)/1000; /* round up */ img_ir_timing_preprocess() 98 /* multiply by unit and convert to microseconds (round up) */ img_ir_timings_preprocess() 191 max = (max*clock_hz + 999999) / 1000000; /* round up */ img_ir_timing_range_convert() 194 out->max = (max + ((1 << shift) - 1)) >> shift; /* round up */ img_ir_timing_range_convert() 239 /* minlen is only 5 bits, and round minlen to multiple of 2 */ img_ir_free_timing() 244 /* maxlen has maximum value of 48, and round maxlen to multiple of 2 */ img_ir_free_timing() 269 /* round minlen, maxlen to multiple of 2 */ img_ir_free_timing_dynamic()
|
/linux-4.1.27/drivers/staging/rtl8188eu/core/ |
H A D | rtw_security.c | 529 PPK[0] += _S_(PPK[5] ^ TK16(0)); /* Mix key in each "round" */ phase2() 771 static void next_key(u8 *key, int round); 801 static void next_key(u8 *key, int round) next_key() argument 814 rcon = rcon_table[round]; next_key() 909 int round; aes128k128d() local 916 for (round = 0; round < 11; round++) { aes128k128d() 917 if (round == 0) { aes128k128d() 919 next_key(round_key, round); aes128k128d() 920 } else if (round == 10) { aes128k128d() 932 next_key(round_key, round); aes128k128d()
|
/linux-4.1.27/drivers/iio/humidity/ |
H A D | si7020.c | 73 * is an integer we have to round these values and lose si7020_read_raw()
|
/linux-4.1.27/drivers/net/wireless/libertas/ |
H A D | tx.c | 76 we get round to stopping them */ lbs_hard_start_xmit()
|
/linux-4.1.27/drivers/scsi/sym53c8xx_2/ |
H A D | sym_misc.h | 175 * The below round up/down macros are to be used with a constant
|
/linux-4.1.27/drivers/pcmcia/ |
H A D | sa11xx_base.h | 44 * round up to the next whole number; and subtract 1."
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | test_nx.c | 99 /* change the exception table back for the next round */ test_address()
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | fixmap.h | 114 * If necessary we round it up to the next 512 pages boundary so
|
H A D | irq_vectors.h | 56 * round up to the next 16-vector boundary
|
/linux-4.1.27/fs/xfs/libxfs/ |
H A D | xfs_log_rlimit.c | 137 * Also, the log size should be a multiple of the log stripe unit, round xfs_log_calc_minimum_size()
|
/linux-4.1.27/fs/jfs/ |
H A D | jfs_extent.c | 133 * power of 2 number (i.e. 16 -> 8). it'll continue to round down extAlloc() 488 * number (i.e. 16 -> 8). we'll continue to round down and 582 * number (i.e. 16 -> 8). We'll continue to round down and 627 * FUNCTION: round down a specified number of blocks to the next
|
/linux-4.1.27/drivers/md/persistent-data/ |
H A D | dm-space-map-disk.c | 157 /* FIXME: we should loop round a couple of times */ sm_disk_new_block()
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
H A D | bsru6.h | 115 div = (p->frequency + (125 - 1)) / 125; /* round correctly */ alps_bsru6_tuner_set_params()
|
/linux-4.1.27/arch/s390/include/asm/ |
H A D | user.h | 34 current->start_stack, so we round each of these off in order to be able
|
/linux-4.1.27/arch/s390/include/uapi/asm/ |
H A D | kvm.h | 33 * Lets round up to 8192 pages.
|
/linux-4.1.27/arch/sh/drivers/pci/ |
H A D | pci-sh5.c | 49 /* If the original number isn't a power of 2, round it up */ r2p2()
|
H A D | pci-sh7751.c | 176 /* use round robin mode to stop a device starving/overruning */ sh7751_pci_init()
|
/linux-4.1.27/arch/sh/kernel/cpu/sh4/ |
H A D | softfloat.c | 366 /* SH4 has only 2 rounding modes - round to nearest and round to zero */ roundAndPackFloat32() 417 /* SH4 has only 2 rounding modes - round to nearest and round to zero */ roundAndPackFloat64()
|
/linux-4.1.27/arch/mips/sni/ |
H A D | time.c | 120 * for every 1/HZ seconds. We round off the nearest 1 MHz of master dosample()
|
/linux-4.1.27/arch/mn10300/proc-mn2ws0050/include/proc/ |
H A D | dmactl-regs.h | 58 #define DMxCTR_RRE 0x00008000 /* DMA round robin enable */
|
/linux-4.1.27/arch/arm64/include/asm/ |
H A D | tlbflush.h | 36 * round these addresses down.
|
/linux-4.1.27/arch/blackfin/kernel/cplb-nompu/ |
H A D | cplbmgr.c | 67 /* Counters to implement round-robin replacement. */
|
/linux-4.1.27/arch/frv/kernel/ |
H A D | head-uc-fr451.S | 74 sethi.p %hi(1024*2048-1),gr4 ; round up to nearest 2MiB
|
/linux-4.1.27/arch/frv/mm/ |
H A D | tlb-flush.S | 170 # round the start down to beginning of TLB line and end up to beginning of next TLB line
|
/linux-4.1.27/arch/m68k/atari/ |
H A D | stram.c | 157 /* round up */ atari_stram_alloc()
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | user.h | 28 current->start_stack, so we round each of these off in order to be able
|
/linux-4.1.27/net/dccp/ccids/ |
H A D | ccid3.h | 82 * @tx_rtt: Estimate of current round trip time in usecs
|
/linux-4.1.27/sound/drivers/ |
H A D | pcm-indirect2.h | 39 * fifo and the other way round
|
/linux-4.1.27/sound/pci/emu10k1/ |
H A D | voice.c | 37 * allocator uses a round robin scheme. The next free voice is tracked in
|
/linux-4.1.27/include/drm/ |
H A D | drm_fixed.h | 175 /* round up LSB */ drm_fixp_from_fraction()
|
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/ |
H A D | mxl111sf-tuner.c | 123 /* do round */ mxl111sf_calc_phy_tune_regs() 160 /* do round */ mxl1x1sf_tuner_set_if_output_freq()
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
H A D | comedi_test.c | 281 /* round to nearest microsec */ waveform_ai_cmdtest() 288 /* round to nearest microsec */ waveform_ai_cmdtest()
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | cpumap.c | 84 /* Generic cpuinfo tree traversal. Distribute work round robin across NUMA 371 * round robin.
|
/linux-4.1.27/arch/ia64/sn/pci/pcibr/ |
H A D | pcibr_dma.c | 70 - 1) + 1; /* round UP */ pcibr_dmamap_ate32() 73 - 1) + 1; /* round UP */ pcibr_dmamap_ate32()
|
/linux-4.1.27/security/selinux/ss/ |
H A D | ebitmap.c | 368 /* round up e->highbit */ ebitmap_read() 407 /* round down */ ebitmap_read()
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_iomap.c | 74 * Always round up the allocation request to an extent boundary xfs_iomap_eof_align_last_fsb() 454 * MAXEXTLEN is not a power of two value but we round the prealloc down xfs_iomap_prealloc_size() 456 * round down from unconditionally reducing the maximum supported prealloc xfs_iomap_prealloc_size() 457 * size, we round up first, apply appropriate throttling, round down and xfs_iomap_prealloc_size()
|
/linux-4.1.27/drivers/gpu/drm/msm/adreno/ |
H A D | a3xx_gpu.c | 91 /* Set up round robin arbitration between both AXI ports: */ a3xx_hw_init() 108 /* Set up round robin arbitration between both AXI ports: */ a3xx_hw_init() 143 /* Set up round robin arbitration between both AXI ports: */ a3xx_hw_init()
|
/linux-4.1.27/drivers/gpu/drm/sti/ |
H A D | sti_tvout.c | 315 /* Set round mode (rounded to 8-bit per component) */ tvout_dvo_start() 368 /* set round mode (rounded to 8-bit per component) */ tvout_hdmi_start() 420 /* set round mode (rounded to 10-bit per component) */ tvout_hda_start()
|
/linux-4.1.27/net/sched/ |
H A D | sch_sfq.c | 48 processes queues in round-robin order. 134 struct sfq_slot *tail; /* current slot in round */ 145 unsigned int quantum; /* Allotment per round: MUST BE >= MTU */
|
H A D | sch_cbq.c | 51 per-round allotment is less than MTU. Namely, if per-round 103 long quantum; /* Allotment per WRR round */ 322 * during round-robin procedure. 835 /* Start round */ cbq_dequeue_prio() 845 * this round. Switch to the next one. cbq_dequeue_prio()
|
/linux-4.1.27/drivers/misc/vmw_vmci/ |
H A D | vmci_doorbell.c | 78 * indexes round robin based on last_notify_idx_reserved. 160 * allocate the index round robin. dbell_index_table_add()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | r600_blit.c | 40 * Will be exact from 0 to 2^24. Above that, we round towards zero 42 * round towards even as the fpu does, but that is slower.)
|
/linux-4.1.27/arch/ia64/sn/pci/ |
H A D | pci_dma.c | 390 * be present in all proms (but which cannot work round PCI chipset sn_pci_legacy_read() 436 * be present in all proms (but which cannot work round PCI chipset sn_pci_legacy_write()
|
/linux-4.1.27/arch/m68k/ifpsp060/src/ |
H A D | fplsp.S | 503 set rn_mode, 0x0 # round-to-nearest 504 set rz_mode, 0x1 # round-to-zero 505 set rm_mode, 0x2 # round-tp-minus-infinity 506 set rp_mode, 0x3 # round-to-plus-infinity 4903 # d0 = round precision,mode # 5123 fmov.l %d0,%fpcr # restore users round mode,prec 5185 fmov.l %d0,%fpcr # restore users round mode,prec 5208 fmov.l %d0,%fpcr # restore users round mode,prec 5215 fmov.l %d0,%fpcr # restore users round mode,prec 5612 # d0 = round precision,mode # 5832 fmov.l %d0,%fpcr # restore users round mode,prec 5871 fmov.l %d0,%fpcr # restore users round mode,prec 5883 fmov.l %d0,%fpcr # restore users round mode,prec 6042 # d0 = round precision,mode # 6492 # d0 = round precision,mode # 6593 # d0 = round precision,mode # 6650 fmov.l (%sp)+,%fpcr # restore users round prec,mode 6667 fmov.l %d0,%fpcr # load round mode,prec 6689 # d0 = round precision,mode # 6733 # Step 2. Calculate N = round-to-nearest-int( X * 64/log2 ). # 6736 # 2.2 N := round-to-nearest-integer( X * 64/log2 ). # 6745 # N := round-to-nearest-integer(Z) # 6847 # 8.2 N := round-to-integer( X * 64/log2 ) # 6892 # Step 2. Calculate N = round-to-nearest-int( X * 64/log2 ). # 6893 # 2.1 N := round-to-nearest-integer( X * 64/log2 ). # 7570 # d0 = round precision,mode # 7684 # d0 = round precision,mode # 7802 # d0 = round precision,mode # 7833 # 6. (|X| >= 50 log2) Tanh(X) = +-1 (round to nearest). Thus, we # 7889 fmov.l %d0,%fpcr # restore users round prec,mode 7931 fmov.l %d0,%fpcr # restore users round prec,mode 7937 fmov.l %d0,%fpcr # restore users round prec,mode 7951 fmov.l %d0,%fpcr # restore users round prec,mode 7968 # d0 = round precision,mode # 8563 # d0 = round precision,mode # 8653 # d0 = round precision,mode # 8670 # Notes: Default means round-to-nearest mode, no floating-point # 8684 # Notes: Default means round-to-nearest mode, no floating-point # 8697 # Notes: Default means round-to-nearest mode, no floating-point # 8711 # Notes: Default means round-to-nearest mode, no floating-point # 8817 # d0 = round precision,mode # 8849 # N := round-to-int(y). Decompose N as # 9053 fmov.l %d0,%fpcr # restore users round prec,mode 9184 fmov.l %d0,%fpcr # restore users round prec,mode 9347 # d0 = round precision,mode # 9713 fmov.x %fp0,%fp0 # capture exceptions & round
|
/linux-4.1.27/drivers/leds/ |
H A D | dell-led.c | 296 Need to round up to next interval. */ dell_led_blink()
|
/linux-4.1.27/drivers/i2c/muxes/ |
H A D | i2c-arb-gpio-challenge.c | 67 /* Start a round of trying to claim the bus */ i2c_arbitrator_select()
|
/linux-4.1.27/drivers/ide/ |
H A D | ide-io-std.c | 160 * These routines will round up any request for an odd number of bytes,
|
/linux-4.1.27/drivers/iio/imu/inv_mpu6050/ |
H A D | inv_mpu_iio.h | 183 /* 6 + 6 round up and plus 8 */
|