| /linux/arch/hexagon/kernel/ |
| H A D | vm_init_segtable.S | 40 #define X __HVM_PDE_S_INVALID macro 47 .word X,X,X,X 48 .word X,X,X,X 49 .word X,X,X,X 50 .word X,X,X,X 51 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 52 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 53 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 54 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 55 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X [all …]
|
| /linux/Documentation/sound/cards/ |
| H A D | multisound.sh | 452 X * 453 X * setdigital.c - sets the DIGITAL1 input for a mixer 454 X * 455 X * Copyright (C) 1998 Andrew Veliath 456 X * 457 X * This program is free software; you can redistribute it and/or modify 458 X * it under the terms of the GNU General Public License as published by 459 X * the Free Software Foundation; either version 2 of the License, or 460 X * (at your option) any later version. 461 X * [all …]
|
| /linux/tools/memory-model/ |
| H A D | linux-kernel.def | 9 READ_ONCE(X) __load{ONCE}(X) 10 WRITE_ONCE(X,V) { __store{ONCE}(X,V); } 13 smp_store_release(X,V) { __store{RELEASE}(*X,V); } 14 smp_load_acquire(X) __load{ACQUIRE}(*X) 15 rcu_assign_pointer(X,V) { __store{RELEASE}(X, [all...] |
| /linux/include/math-emu/ |
| H A D | double.h | 73 #define FP_DECL_D(X) _FP_DECL(2,X) argument 74 #define FP_UNPACK_RAW_D(X,val) _FP_UNPACK_RAW_2(D,X,val) argument 75 #define FP_UNPACK_RAW_DP(X,val) _FP_UNPACK_RAW_2_P(D,X,val) argument 76 #define FP_PACK_RAW_D(val,X) _FP_PACK_RAW_2(D,val,X) argument 77 #define FP_PACK_RAW_DP(val,X) \ argument 80 _FP_PACK_RAW_2_P(D,val,X); \ 83 #define FP_UNPACK_D(X,val) \ argument 85 _FP_UNPACK_RAW_2(D,X,val); \ 86 _FP_UNPACK_CANONICAL(D,2,X); \ 89 #define FP_UNPACK_DP(X,val) \ argument [all …]
|
| H A D | quad.h | 79 #define FP_DECL_Q(X) _FP_DECL(4,X) argument 80 #define FP_UNPACK_RAW_Q(X,val) _FP_UNPACK_RAW_4(Q,X,val) argument 81 #define FP_UNPACK_RAW_QP(X,val) _FP_UNPACK_RAW_4_P(Q,X,val) argument 82 #define FP_PACK_RAW_Q(val,X) _FP_PACK_RAW_4(Q,val,X) argument 83 #define FP_PACK_RAW_QP(val,X) \ argument 86 _FP_PACK_RAW_4_P(Q,val,X); \ 89 #define FP_UNPACK_Q(X,val) \ argument 91 _FP_UNPACK_RAW_4(Q,X,val); \ 92 _FP_UNPACK_CANONICAL(Q,4,X); \ 95 #define FP_UNPACK_QP(X,val) \ argument [all …]
|
| H A D | op-common.h | 27 #define _FP_DECL(wc, X) \ argument 28 _FP_I_TYPE X##_c=0, X##_s=0, X##_e=0; \ 29 _FP_FRAC_DECL_##wc(X) 36 #define _FP_UNPACK_CANONICAL(fs, wc, X) \ argument 38 switch (X##_e) \ 41 _FP_FRAC_HIGH_RAW_##fs(X) |= _FP_IMPLBIT_##fs; \ 42 _FP_FRAC_SLL_##wc(X, _FP_WORKBITS); \ 43 X##_e -= _FP_EXPBIAS_##fs; \ 44 X##_c = FP_CLS_NORMAL; \ 48 if (_FP_FRAC_ZEROP_##wc(X)) \ [all …]
|
| H A D | op-1.h | 28 #define _FP_FRAC_DECL_1(X) _FP_W_TYPE X##_f=0 argument 30 #define _FP_FRAC_SET_1(X,I) (X##_f = I) argument 31 #define _FP_FRAC_HIGH_1(X) (X##_f) argument 32 #define _FP_FRAC_LOW_1(X) (X##_f) argument 33 #define _FP_FRAC_WORD_1(X,w) (X##_f) argument 35 #define _FP_FRAC_ADDI_1(X,I) (X##_f += I) argument 36 #define _FP_FRAC_SLL_1(X,N) \ argument 39 X##_f += X##_f; \ 41 X##_f <<= (N); \ 43 #define _FP_FRAC_SRL_1(X,N) (X##_f >>= N) argument [all …]
|
| H A D | op-4.h | 28 #define _FP_FRAC_DECL_4(X) _FP_W_TYPE X##_f[4] argument 32 #define _FP_FRAC_SET_4(X,I) __FP_FRAC_SET_4(X, I) argument 33 #define _FP_FRAC_HIGH_4(X) (X##_f[3]) argument 34 #define _FP_FRAC_LOW_4(X) (X##_f[0]) argument 35 #define _FP_FRAC_WORD_4(X,w) (X##_f[w]) argument 37 #define _FP_FRAC_SLL_4(X,N) \ argument 45 X##_f[_i] = X##_f[_i-_skip]; \ 49 X##_f[_i] = X##_f[_i-_skip] << _up \ 50 | X##_f[_i-_skip-1] >> _down; \ 51 X##_f[_i--] = X##_f[0] << _up; \ [all …]
|
| H A D | single.h | 62 #define FP_DECL_S(X) _FP_DECL(1,X) argument 63 #define FP_UNPACK_RAW_S(X,val) _FP_UNPACK_RAW_1(S,X,val) argument 64 #define FP_UNPACK_RAW_SP(X,val) _FP_UNPACK_RAW_1_P(S,X,val) argument 65 #define FP_PACK_RAW_S(val,X) _FP_PACK_RAW_1(S,val,X) argument 66 #define FP_PACK_RAW_SP(val,X) \ argument 69 _FP_PACK_RAW_1_P(S,val,X); \ 72 #define FP_UNPACK_S(X,val) \ argument 74 _FP_UNPACK_RAW_1(S,X,val); \ 75 _FP_UNPACK_CANONICAL(S,1,X); \ 78 #define FP_UNPACK_SP(X,val) \ argument [all …]
|
| H A D | op-2.h | 28 #define _FP_FRAC_DECL_2(X) _FP_W_TYPE X##_f0 = 0, X##_f1 = 0 argument 30 #define _FP_FRAC_SET_2(X,I) __FP_FRAC_SET_2(X, I) argument 31 #define _FP_FRAC_HIGH_2(X) (X##_f1) argument 32 #define _FP_FRAC_LOW_2(X) (X##_f0) argument 33 #define _FP_FRAC_WORD_2(X,w) (X##_f##w) argument 34 #define _FP_FRAC_SLL_2(X, N) ( \ argument 38 X##_f1 = X##_f1 + X##_f1 + \ 39 (((_FP_WS_TYPE) (X##_f0)) < 0); \ 40 X##_f0 += X##_f0; \ 42 X##_f1 = X##_f1 << (N) | X##_f0 >> \ [all …]
|
| H A D | op-8.h | 29 #define _FP_FRAC_DECL_8(X) _FP_W_TYPE X##_f[8] argument 30 #define _FP_FRAC_HIGH_8(X) (X##_f[7]) argument 31 #define _FP_FRAC_LOW_8(X) (X##_f[0]) argument 32 #define _FP_FRAC_WORD_8(X,w) (X##_f[w]) argument 34 #define _FP_FRAC_SLL_8(X,N) \ argument 42 X##_f[_i] = X##_f[_i-_skip]; \ 46 X##_f[_i] = X##_f[_i-_skip] << _up \ 47 | X##_f[_i-_skip-1] >> _down; \ 48 X##_f[_i--] = X##_f[0] << _up; \ 51 X##_f[_i] = 0; \ [all …]
|
| /linux/arch/m68k/fpsp040/ |
| H A D | stanh.S | 8 | Input: Double-extended number X in location pointed to 11 | Output: The value tanh(X) returned in floating-point register Fp0. 23 | 1. If |X| >= (5/2) log2 or |X| <= 2**(-40), go to 3. 25 | 2. (2**(-40) < |X| < (5/2) log2) Calculate tanh(X) by 26 | sgn := sign(X), y := 2|X|, z := expm1(Y), and 27 | tanh(X) = sgn*( z/(2+z) ). 30 | 3. (|X| <= 2**(-40) or |X| >= (5/2) log2). If |X| < 1, 33 | 4. (|X| >= (5/2) log2) If |X| >= 50 log2, go to 6. 35 | 5. ((5/2) log2 <= |X| < 50 log2) Calculate tanh(X) by 36 | sgn := sign(X), y := 2|X|, z := exp(Y), [all …]
|
| H A D | satan.S | 11 | Output: Arctan(X) returned in floating-point register Fp0. 19 | argument X such that 1/16 < |X| < 16. For the other arguments, 23 | Step 1. If |X| >= 16 or |X| < 1/16, go to Step 5. 25 | Step 2. Let X = sgn * 2**k * 1.xxxxxxxx...x. Note that k = -4, -3,..., or 3. 27 | of X with a bit-1 attached at the 6-th bit position. Define u 28 | to be u = (X-F) / (1 + X*F). 35 | Step 5. If |X| >= 16, go to Step 7. 37 | Step 6. Approximate arctan(X) by an odd polynomial in X. Exit. 39 | Step 7. Define X' = -1/X. Approximate arctan(X') by an odd polynomial in X'. 217 .set X,FP_SCR1 define [all …]
|
| H A D | sasin.S | 8 | Input: Double-extended number X in location pointed to 11 | Output: The value arcsin(X) returned in floating-point register Fp0. 23 | 1. If |X| >= 1, go to 3. 25 | 2. (|X| < 1) Calculate asin(X) by 26 | z := sqrt( [1-X][1+X] ) 27 | asin(X) = atan( x / z ). 30 | 3. If |X| > 1, go to 5. 32 | 4. (|X| = 1) sgn := sign(X), return asin(X) := sgn * Pi/2. Exit. 34 | 5. (|X| > 1) Generate an invalid operation by 0 * infinity. 57 |--ASIN(X) = X FOR DENORMALIZED X [all …]
|
| H A D | slog2.S | 5 | logarithm of an input argument X. 13 | OUTPUT: log_10(X) or log_2(X) returned in floating-point 32 | Step 0. If X < 0, create a NaN and raise the invalid operation 37 | Step 1. Call slognd to obtain Y = log(X), the natural log of X. 38 | Notes: Even if X is denormalized, log(X) is always normalized. 40 | Step 2. Compute log_10(X) = log(X) * (1/log(10)). 47 | Step 0. If X < 0, create a NaN and raise the invalid operation 52 | Step 1. Call sLogN to obtain Y = log(X), the natural log of X. 54 | Step 2. Compute log_10(X) = log(X) * (1/log(10)). 61 | Step 0. If X < 0, create a NaN and raise the invalid operation [all …]
|
| H A D | scosh.S | 8 | Input: Double-extended number X in location pointed to 11 | Output: The value cosh(X) returned in floating-point register Fp0. 23 | 1. If |X| > 16380 log2, go to 3. 25 | 2. (|X| <= 16380 log2) Cosh(X) is obtained by the formulae 26 | y = |X|, z = exp(Y), and 27 | cosh(X) = (1/2)*( z + 1/z ). 30 | 3. (|X| > 16380 log2). If |X| > 16480 log2, go to 5. 32 | 4. (16380 log2 < |X| <= 16480 log2) 33 | cosh(X) = sign(X) * exp(|X|)/2. 34 | However, invoking exp(|X|) may cause premature overflow. [all …]
|
| H A D | ssinh.S | 8 | Input: Double-extended number X in location pointed to 11 | Output: The value sinh(X) returned in floating-point register Fp0. 23 | 1. If |X| > 16380 log2, go to 3. 25 | 2. (|X| <= 16380 log2) Sinh(X) is obtained by the formulae 26 | y = |X|, sgn = sign(X), and z = expm1(Y), 27 | sinh(X) = sgn*(1/2)*( z + z/(1+z) ). 30 | 3. If |X| > 16480 log2, go to 5. 32 | 4. (16380 log2 < |X| <= 16480 log2) 33 | sinh(X) = sign(X) * exp(|X|)/2. 34 | However, invoking exp(|X|) may cause premature overflow. [all …]
|
| H A D | satanh.S | 9 | Input: Double-extended number X in location pointed to 12 | Output: The value arctanh(X) returned in floating-point register Fp0. 24 | 1. If |X| >= 1, go to 3. 26 | 2. (|X| < 1) Calculate atanh(X) by 27 | sgn := sign(X) 28 | y := |X| 30 | atanh(X) := sgn * (1/2) * logp1(z) 33 | 3. If |X| > 1, go to 5. 35 | 4. (|X| = 1) Generate infinity with an appropriate sign and 37 | sgn := sign(X) [all …]
|
| /linux/drivers/staging/media/ipu3/ |
| H A D | ipu3-tables.c | 6 #define X 0 /* Don't care value */ macro 9317 { 0, X, 8, 6, X, 14 }, /* thr_coeffs */ 9319 { -128, X, -128, X }, /* opt_center */ 9326 { 4, X, 1, 8, X, 8, X, 8, X }, /* bp_ctrl */ 9327 { 8, 4, 4, X, 8, X, 1, 1, 1, 1 }, /* dn_detect_ctrl */ 9331 1, 1, 1, X, X, 8, X, 7, X, 8, X, 8, X, 4, X 9374 4, X, /* ds_nf */ 9376 0, X /* uv_bin_output */ 9403 .cu_ed = { 7, 110, 244, X, 307, 409, 511, X, 9404 184, 255, 255, X, 0, 0, X, [all …]
|
| /linux/lib/crypto/arm64/ |
| H A D | sha2-armv8.pl | 102 @X=map("$reg_t$_",(3..15,0..2)); 109 my ($T0,$T1,$T2)=(@X[($i-8)&15],@X[($i-9)&15],@X[($i-10)&15]); 110 $T0=@X[$i+3] if ($i<11); 114 rev @X[$i],@X[$i] // $i 118 ldp @X[$i+1],@X[$i+2],[$inp],#2*$SZ 121 ldp @X[14],@X[15],[$inp] 124 ldr @X[($i-11)&15],[sp,#`$SZ*(($i-11)%4)`] 130 str @X[($i-8)&15],[sp,#`$SZ*(($i-8)%4)`] 145 add $h,$h,@X[$i&15] // h+=X[i] 164 ror $T1,@X[($j+1)&15],#$sigma0[0] [all …]
|
| /linux/drivers/gpu/drm/amd/pm/powerplay/inc/ |
| H A D | pp_endian.h | 27 #define PP_HOST_TO_SMC_UL(X) cpu_to_be32(X) argument 28 #define PP_SMC_TO_HOST_UL(X) be32_to_cpu(X) argument 30 #define PP_HOST_TO_SMC_US(X) cpu_to_be16(X) argument 31 #define PP_SMC_TO_HOST_US(X) be16_to_cpu(X) argument 33 #define CONVERT_FROM_HOST_TO_SMC_UL(X) ((X) = PP_HOST_TO_SMC_UL(X)) argument 34 #define CONVERT_FROM_SMC_TO_HOST_UL(X) ((X) = PP_SMC_TO_HOST_UL(X)) argument 36 #define CONVERT_FROM_HOST_TO_SMC_US(X) ((X) = PP_HOST_TO_SMC_US(X)) argument
|
| /linux/drivers/gpu/drm/nouveau/include/nvhw/ |
| H A D | drf.h | 63 #define NVVAL_N(X,d,r,f, v) NVVAL_X(d##_##r##_##f, (v)) argument 64 #define NVVAL_I(X,d,r,f,i,v) NVVAL_X(d##_##r##_##f(i), (v)) argument 65 #define NVVAL_(X,_1,_2,_3,_4,_5,IMPL,...) IMPL argument 66 #define NVVAL(A...) NVVAL_(X, ##A, NVVAL_I, NVVAL_N)(X, ##A) 68 #define NVDEF_N(X,d,r,f, v) NVVAL_X(d##_##r##_##f, d##_##r##_##f##_##v) argument 69 #define NVDEF_I(X,d,r,f,i,v) NVVAL_X(d##_##r##_##f(i), d##_##r##_##f##_##v) argument 70 #define NVDEF_(X,_1,_2,_3,_4,_5,IMPL,...) IMPL argument 71 #define NVDEF(A...) NVDEF_(X, ##A, NVDEF_I, NVDEF_N)(X, ##A) 74 #define NVVAL_GET_N(X,o,d,r,f ) NVVAL_GET_X(o, d##_##r##_##f) argument 75 #define NVVAL_GET_I(X,o,d,r,f,i) NVVAL_GET_X(o, d##_##r##_##f(i)) argument [all …]
|
| /linux/lib/crypto/arm/ |
| H A D | sha256-armv4.pl | 291 my @X=map("q$_",(0..3)); 312 &vext_8 ($T0,@X[0],@X[1],4); # X[1..4] 316 &vext_8 ($T1,@X[2],@X[3],4); # X[9..12] 323 &vadd_i32 (@X[0],@X[0],$T1); # X[0..3] += X[9..12] 341 &vshr_u32 ($T4,&Dhi(@X[3]),$sigma1[0]); 347 &vsli_32 ($T4,&Dhi(@X[3]),32-$sigma1[0]); 350 &vshr_u32 ($T5,&Dhi(@X[3]),$sigma1[2]); 353 &vadd_i32 (@X[0],@X[0],$T1); # X[0..3] += sigma0(X[1..4]) 359 &vshr_u32 ($T4,&Dhi(@X[3]),$sigma1[1]); 362 &vsli_32 ($T4,&Dhi(@X[3]),32-$sigma1[1]); [all …]
|
| /linux/include/video/ |
| H A D | sstfb.h | 21 # define dprintk(X...) printk("sstfb: " X) argument 26 # define dprintk(X...) no_printk(X) argument 33 # define r_dprintk(X...) dprintk(X) argument 35 # define r_dprintk(X...) argument 38 # define r_ddprintk(X...) dprintk(" " X) argument 40 # define r_ddprintk(X...) argument 44 # define f_dprintk(X...) dprintk(X) argument 46 # define f_dprintk(X...) argument 49 # define f_ddprintk(X...) dprintk(" " X) argument 51 # define f_ddprintk(X...) no_printk(X) argument [all …]
|
| /linux/arch/sparc/include/asm/ |
| H A D | sfp-machine_64.h | 32 #define _FP_MUL_MEAT_S(R,X,Y) \ argument 33 _FP_MUL_MEAT_1_imm(_FP_WFRACBITS_S,R,X,Y) 34 #define _FP_MUL_MEAT_D(R,X,Y) \ argument 35 _FP_MUL_MEAT_1_wide(_FP_WFRACBITS_D,R,X,Y,umul_ppmm) 36 #define _FP_MUL_MEAT_Q(R,X,Y) \ argument 37 _FP_MUL_MEAT_2_wide(_FP_WFRACBITS_Q,R,X,Y,umul_ppmm) 39 #define _FP_DIV_MEAT_S(R,X,Y) _FP_DIV_MEAT_1_imm(S,R,X,Y,_FP_DIV_HELP_imm) argument 40 #define _FP_DIV_MEAT_D(R,X,Y) _FP_DIV_MEAT_1_udiv_norm(D,R,X,Y) argument 41 #define _FP_DIV_MEAT_Q(R,X,Y) _FP_DIV_MEAT_2_udiv(Q,R,X,Y) argument 59 #define _FP_CHOOSENAN(fs, wc, R, X, Y, OP) \ argument [all …]
|