| /linux/arch/arm64/crypto/ |
| H A D | sm4-neon-core.S | 41 zip1 RTMP0.4s, s0.4s, s1.4s; \ 42 zip1 RTMP1.4s, s2.4s, s3.4s; \ 43 zip2 RTMP2.4s, s0.4s, s1.4s; \ 44 zip2 RTMP3.4s, s2.4s, s3.4s; \ 45 zip1 s0.2d, RTMP0.2d, RTMP1.2d; \ 46 zip2 s1.2d, RTMP0.2d, RTMP1.2d; \ 47 zip1 s2.2d, RTMP2.2d, RTMP3.2d; \ 48 zip2 s3.2d, RTMP2.2d, RTMP3.2d; 51 zip1 RTMP0.4s, s0.4s, s1.4s; \ 52 zip1 RTMP1.4s, s2.4s, s3.4s; \ [all …]
|
| H A D | sm4-ce-gcm-core.S | 18 .irp b, 0, 1, 2, 3, 24, 25, 26, 27, 28, 29, 30, 31 19 .set .Lv\b\().4s, \b 43 pmull2 T0.1q, m0.2d, T0.2d; \ 44 pmull2 r1.1q, m0.2d, m1.2d; \ 67 pmull2 T0.1q, m0.2d, T0.2d; \ 68 pmull2 T2.1q, m2.2d, T2.2d; \ 69 pmull2 T4.1q, m4.2d, T4.2d; \ 70 pmull2 T6.1q, m6.2d, T6.2d; \ 71 pmull2 r1.1q, m0.2d, m1.2d; \ 72 pmull2 r3.1q, m2.2d, m3.2d; \ [all …]
|
| /linux/arch/xtensa/variants/test_kc705_hifi/include/variant/ |
| H A D | tie.h | 7 /* This header file describes this specific Xtensa processor's TIE extensions 35 #define XCHAL_CP_NUM 2 /* number of coprocessors */ 79 * XCHAL_SA_REG(s,ccused,abikind,kind,opt,name,galign,align,asize, 82 * s = passed from XCHAL_*_LIST(s), eg. to select how to expand 84 * abikind = 0 (caller-saved), 1 (callee-saved), or 2 (thread-global) 85 * kind = 0 (special reg), 1 (TIE user reg), or 2 (TIE regfile reg) 88 * galign = group byte alignment (power of 2) (galign >= align) 89 * align = register byte alignment (power of 2) 104 * #define XCHAL_SA_REG(s,ccused,p...) SELCC##ccused(p) 115 #define XCHAL_NCP_SA_LIST(s) \ argument [all …]
|
| /linux/arch/xtensa/variants/test_kc705_be/include/variant/ |
| H A D | tie.h | 7 /* This header file describes this specific Xtensa processor's TIE extensions 35 #define XCHAL_CP_NUM 2 /* number of coprocessors */ 79 * XCHAL_SA_REG(s,ccused,abikind,kind,opt,name,galign,align,asize, 82 * s = passed from XCHAL_*_LIST(s), eg. to select how to expand 84 * abikind = 0 (caller-saved), 1 (callee-saved), or 2 (thread-global) 85 * kind = 0 (special reg), 1 (TIE user reg), or 2 (TIE regfile reg) 88 * galign = group byte alignment (power of 2) (galign >= align) 89 * align = register byte alignment (power of 2) 104 * #define XCHAL_SA_REG(s,ccused,p...) SELCC##ccused(p) 115 #define XCHAL_NCP_SA_LIST(s) \ argument [all …]
|
| /linux/drivers/watchdog/ |
| H A D | sbc8360.c | 95 * M | 1 2 3 4 97 * 0 | 0.5s 5s 50s 100s 98 * 1 | 1s 10s 100s 200s 99 * 2 | 1.5s 15s 150s 300s 100 * 3 | 2s 20s 200s 400s 101 * 4 | 2.5s 25s 250s 500s 102 * 5 | 3s 30s 300s 600s 103 * 6 | 3.5s 35s 350s 700s 104 * 7 | 4s 40s 400s 800s 105 * 8 | 4.5s 45s 450s 900s [all …]
|
| /linux/tools/tracing/rtla/tests/ |
| H A D | osnoise.t | 6 set_timeout 2m 12 check_top_q_hist "verify the --stop/-s param" \ 13 "osnoise TOOL -s 30 -T 1" 2 "osnoise hit stop tracing" 15 "osnoise TOOL -s 30 -T 1 -t" 2 "Saving trace to osnoise_trace.txt" 19 "osnoise TOOL -P F:1 -c 0 -r 900000 -d 10s -S 1 --on-threshold shell,command=\"$testdir/scripts/check-priority.sh SCHED_FIFO 1\"" \ 20 2 "Priorities are set correctly" 22 "osnoise TOOL -C -c 0 -r 900000 -d 10s [all...] |
| H A D | timerlat.t | 6 set_timeout 2m 27 check_top_hist "verify -s/--stack" \ 28 "timerlat TOOL -s 3 -T 10 -t" 2 "Blocking thread stack trace" 30 "timerlat TOOL -i 2 -c 0 -n -d 10s" 2 "ns" 32 "timerlat TOOL -a 5" 2 "analyzing it" 34 "timerlat TOOL -a 5 --dump-tasks" 2 "Printing CPU tasks" 36 "timerlat top --aa-only 5" 2 "analyzin [all...] |
| /linux/lib/crypto/powerpc/ |
| H A D | chacha-p10le-8x.S | 12 # 2. c += d; b ^= c; b <<<= 12; 197 vadduwm 2, 2, 6 206 vpermxor 14, 14, 2, 25 243 vadduwm 2, 2, 6 254 vpermxor 14, 14, 2, 25 294 vadduwm 2, 2, 7 303 vpermxor 13, 13, 2, 25 342 vadduwm 2, 2, 7 353 vpermxor 13, 13, 2, 25 395 vadduwm 2, 2, 6 [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | verifier_sdiv.c | 21 w0 s/= 2; \ in sdiv32_non_zero_imm_1() 27 __description("SDIV32, non-zero imm divisor, check 2") 33 w0 s/= -2; \ in sdiv32_non_zero_imm_2() 45 w0 s/= -2; \ in sdiv32_non_zero_imm_3() 57 w0 s/= 2; \ in sdiv32_non_zero_imm_4() 69 w0 s/ in sdiv32_non_zero_imm_5() [all...] |
| /linux/arch/arm64/kernel/vdso/ |
| H A D | vgetrandom-chacha.S | 52 ld1 { copy1.4s, copy2.4s }, [x1] 54 ld1 { copy3.2s }, [x2] 56 movi one_v.2s, #1 57 uzp1 one_v.4s, one_v.4s, one_v.4s 76 add state0.4s, state0.4s, state1.4s 81 add state2.4s, state2.4s, state3.4s 83 shl state1.4s, tmp.4s, #12 84 sri state1.4s, tmp.4s, #20 87 add state0.4s, state0.4s, state1.4s 89 shl state3.4s, tmp.4s, #8 [all …]
|
| /linux/arch/xtensa/variants/test_mmuhifi_c3/include/variant/ |
| H A D | tie.h | 2 * This header file describes this specific Xtensa processor's TIE extensions 16 #define XCHAL_CP_MAX 2 /* max CP ID + 1 (0 if none) */ 56 * XCHAL_SA_REG(s,ccused,abikind,kind,opt,name,galign,align,asize, 59 * s = passed from XCHAL_*_LIST(s), eg. to select how to expand 61 * abikind = 0 (caller-saved), 1 (callee-saved), or 2 (thread-global) 62 * kind = 0 (special reg), 1 (TIE user reg), or 2 (TIE regfile reg) 65 * galign = group byte alignment (power of 2) (galign >= align) 66 * align = register byte alignment (power of 2) 81 * #define XCHAL_SA_REG(s,ccused,p...) SELCC##ccused(p) 92 #define XCHAL_NCP_SA_LIST(s) \ argument [all …]
|
| /linux/arch/xtensa/variants/de212/include/variant/ |
| H A D | tie.h | 7 /* This header file describes this specific Xtensa processor's TIE extensions 53 * XCHAL_SA_REG(s,ccused,abikind,kind,opt,name,galign,align,asize, 56 * s = passed from XCHAL_*_LIST(s), eg. to select how to expand 58 * abikind = 0 (caller-saved), 1 (callee-saved), or 2 (thread-global) 59 * kind = 0 (special reg), 1 (TIE user reg), or 2 (TIE regfile reg) 62 * galign = group byte alignment (power of 2) (galign >= align) 63 * align = register byte alignment (power of 2) 78 * #define XCHAL_SA_REG(s,ccused,p...) SELCC##ccused(p) 89 #define XCHAL_NCP_SA_LIST(s) \ argument 90 XCHAL_SA_REG(s,1,0,0,1, acclo, 4, 4, 4,0x0210, sr,16 , 32,0,0,0) \ [all …]
|
| /linux/arch/xtensa/variants/csp/include/variant/ |
| H A D | tie.h | 7 /* This header file describes this specific Xtensa processor's TIE extensions 76 * XCHAL_SA_REG(s,ccused,abikind,kind,opt,name,galign,align,asize, 79 * s = passed from XCHAL_*_LIST(s), eg. to select how to expand 81 * abikind = 0 (caller-saved), 1 (callee-saved), or 2 (thread-global) 82 * kind = 0 (special reg), 1 (TIE user reg), or 2 (TIE regfile reg) 85 * galign = group byte alignment (power of 2) (galign >= align) 86 * align = register byte alignment (power of 2) 101 * #define XCHAL_SA_REG(s,ccused,p...) SELCC##ccused(p) 112 #define XCHAL_NCP_SA_LIST(s) \ argument 113 XCHAL_SA_REG(s,1,2,1,1, threadptr, 4, 4, 4,0x03E7, ur,231, 32,0,0,0) \ [all …]
|
| /linux/drivers/media/pci/cx18/ |
| H A D | cx18-streams.c | 108 struct cx18_stream *s = vb2_get_drv_priv(vq); in cx18_queue_setup() local 109 struct cx18 *cx = s->cx; in cx18_queue_setup() 113 * HM12 YUV size is (Y=(h*720) + UV=(h*(720/2))) in cx18_queue_setup() 116 if (s->pixelformat == V4L2_PIX_FMT_NV12_16L16) in cx18_queue_setup() 117 szimage = cx->cxhdl.height * 720 * 3 / 2; in cx18_queue_setup() 119 szimage = cx->cxhdl.height * 720 * 2; in cx18_queue_setup() 122 * Let's request at least three buffers: two for the in cx18_queue_setup() 141 struct cx18_stream *s = vb2_get_drv_priv(vb->vb2_queue); in cx18_buf_queue() local 147 spin_lock_irqsave(&s->vb_lock, flags); in cx18_buf_queue() 148 list_add_tail(&buf->list, &s->vb_capture); in cx18_buf_queue() [all …]
|
| /linux/arch/m68k/fpsp040/ |
| H A D | setox.S | 52 | Step 2. Return ans := ans + sign(X)*2^(-126). Exit. 60 | 1.1 If |X| >= 2^(-65), go to Step 1.3. 62 | 1.3 If |X| < 16380 log(2), go to Step 2. 64 | Notes: The usual case should take the branches 1.1 -> 1.3 -> 2. 72 | Note also that the constant 16380 log(2) used in Step 1.3 74 | to Step 2 guarantees |X| < 16380 log(2). There is no harm 76 | but close to, 16380 log(2) and the branch to Step 9 is 79 | Step 2. Calculate N = round-to-nearest-int( X * 64/log2 ). 80 | 2.1 Set AdjFlag := 0 (indicates the branch 1.3 -> 2 was taken) 82 | 2.3 Calculate J = N mod 64; so J = 0,1,2,..., or 63. [all …]
|
| H A D | ssin.S | 32 | 2. If |X| >= 15Pi or |X| < 2**(-40), go to 7. 34 | 3. Decompose X as X = N(Pi/2) + r where |r| <= Pi/4. Let 35 | k = N mod 4, so in particular, k = 0,1,2,or 3. Overwrite 40 | 5. (k is odd) Set j := (k-1)/2, sgn := (-1)**j. Return sgn*cos(r) 42 | 1 + r*r*(B1+s*(B2+ ... + s*B8)), s = r*r. 45 | 6. (k is even) Set j := k/2, sgn := (-1)**j. Return sgn*sin(r) 47 | r + r*s*(A1+s*(A2+ ... + s*A7)), s = r*r. 52 | 8. (|X|<2**(-40)) If SIN is invoked, return X; otherwise return 1. 54 | 9. Overwrite X by X := X rem 2Pi. Now that |X| <= Pi, go back to 3. 57 | 1. If |X| >= 15Pi or |X| < 2**(-40), go to 6. [all …]
|
| H A D | stan.S | 24 | 1. If |X| >= 15Pi or |X| < 2**(-40), go to 6. 26 | 2. Decompose X as X = N(Pi/2) + r where |r| <= Pi/4. Let 27 | k = N mod 2, so in particular, k = 0 or 1. 33 | U = r + r*s*(P1 + s*(P2 + s*P3)), and 34 | V = 1 + s*(Q1 + s*(Q2 + s*(Q3 + s*Q4))), s = r*r. 39 | U = r + r*s*(P1 + s*(P2 + s*P3)), and 40 | V = 1 + s*(Q1 + s*(Q2 + s*(Q3 + s*Q4))), s = r*r, 45 | 7. (|X|<2**(-40)) Tan(X) = X. Exit. 47 | 8. Overwrite X by X := X rem 2Pi. Now that |X| <= Pi, go back to 2. 56 |STAN idnt 2,1 | Motorola 040 Floating Point Software Package [all …]
|
| /linux/tools/certs/ |
| H A D | print-cert-tbs-hash.sh | 29 echo "usage: ${BASENAME} <certificate>" >&2 35 if ! PEM="$(openssl x509 -inform DER -in "${CERT}" 2>/dev/null || openssl x509 -in "${CERT}")"; then 36 echo "ERROR: Failed to parse certificate" >&2 46 # 8:d=2 hl=2 l= 3 cons: cont [ 0 ] 47 # 10:d=3 hl=2 l= 1 prim: INTEGER :02 48 # 13:d=2 hl=2 l= 20 prim: INTEGER :3CEB2CB8818D968AC00EEFE195F0DF9665328B7B 49 # 35:d=2 hl=2 l= 13 cons: SEQUENCE 50 # 37:d=3 hl=2 l= 9 prim: OBJECT :sha256WithRSAEncryption 52 2s/^\s*\([0-9]\+\):d=\s*[0-9]\+\s\+hl=\s*[0-9]\+\s\+l=\s*\([0-9]\+\)\s\+cons:\s*SEQUENCE\s*$/\1 \2/… 53 7s/^\s*[0-9]\+:d=\s*[0-9]\+\s\+hl=\s*[0-9]\+\s\+l=\s*[0-9]\+\s\+prim:\s*OBJECT\s*:\(.*\)$/\1/p; [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/ |
| H A D | dml_display_rq_dlg_calc.c | 18 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 71 dml_print("DML_DLG::%s: Calculation for pipe[%d] start\n", __func__, pipe_idx); in dml_rq_dlg_get_rq_reg() 151 rq_regs->drq_expansion_mode = 2; in dml_rq_dlg_get_rq_reg() 169 …dml_print("DML_DLG: %s: detile_buf_plane1_addr = %d (1/2 to chroma)\n", __func__, detile_buf_plane… in dml_rq_dlg_get_rq_reg() 172 …o_multiple((dml_uint_t)((2.0 * detile_buf_size_in_bytes) / 3.0), 1024, 0) / 1024.0); // 2/3 to luma in dml_rq_dlg_get_rq_reg() 174 …dml_print("DML_DLG: %s: detile_buf_plane1_addr = %d (1/3 chroma)\n", __func__, detile_buf_plane1_a… in dml_rq_dlg_get_rq_reg() 182 dml_print("DML_DLG: %s: is_phantom_pipe = %d\n", __func__, is_phantom_pipe); in dml_rq_dlg_get_rq_reg() 183 dml_print("DML_DLG: %s: stored_swath_l_bytes = %f\n", __func__, stored_swath_l_bytes); in dml_rq_dlg_get_rq_reg() 184 dml_print("DML_DLG: %s: stored_swath_c_bytes = %f\n", __func__, stored_swath_c_bytes); in dml_rq_dlg_get_rq_reg() 185 dml_print("DML_DLG: %s: detile_buf_size_in_bytes = %d\n", __func__, detile_buf_size_in_bytes); in dml_rq_dlg_get_rq_reg() [all …]
|
| /linux/tools/testing/selftests/drivers/net/netdevsim/ |
| H A D | ethtool-fec.sh | 11 # Since commit 2b3ddcb35357 ("ethtool: fec: Change the prompt ...") 13 configured=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2 | head -1 | cut -d' ' -f1) 16 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2) 17 check $? "$s" "$configured FEC encodings: None 23 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2) 24 check $? "$s" "$configured FEC encodings: Auto 31 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2) 32 check $? "$s" "$configured FEC encodings: Off 39 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2) 40 check $? "$s" "$configured FEC encodings: BaseR [all …]
|
| /linux/drivers/video/fbdev/ |
| H A D | atafb_utils.h | 20 * equivalents for large blits, and that's important to the lowest level of 36 /* ++roman: I've optimized Robert's original versions in some minor 46 movep is rather expensive compared to ordinary move's 49 static inline void *fb_memclear_small(void *s, size_t count) in fb_memclear_small() argument 55 " lsr.l #1,%1 ; jcc 1f ; move.b %2,-(%0)\n" in fb_memclear_small() 56 "1: lsr.l #1,%1 ; jcc 1f ; move.w %2,-(%0)\n" in fb_memclear_small() 57 "1: lsr.l #1,%1 ; jcc 1f ; move.l %2,-(%0)\n" in fb_memclear_small() 58 "1: lsr.l #1,%1 ; jcc 1f ; move.l %2,-(%0) ; move.l %2,-(%0)\n" in fb_memclear_small() 60 : "=a" (s), "=d" (count) in fb_memclear_small() 61 : "d" (0), "0" ((char *)s + count), "1" (count)); in fb_memclear_small() [all …]
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-agl-defs.h | 10 * it under the terms of the GNU General Public License, Version 2, as 119 uint64_t reserved_24_25:2; 120 uint64_t loststat:2; 122 uint64_t out_ovr:2; 123 uint64_t reserved_0_1:2; 125 uint64_t reserved_0_1:2; 126 uint64_t out_ovr:2; 128 uint64_t loststat:2; 129 uint64_t reserved_24_25:2; 140 } s; member [all …]
|
| /linux/fs/hpfs/ |
| H A D | buffer.c | 14 secno hpfs_search_hotfix_map(struct super_block *s, secno sec) in hpfs_search_hotfix_map() argument 17 struct hpfs_sb_info *sbi = hpfs_sb(s); in hpfs_search_hotfix_map() 26 unsigned hpfs_search_hotfix_map_for_range(struct super_block *s, secno sec, unsigned n) in hpfs_search_hotfix_map_for_range() argument 29 struct hpfs_sb_info *sbi = hpfs_sb(s); in hpfs_search_hotfix_map_for_range() 38 void hpfs_prefetch_sectors(struct super_block *s, unsigned secno, int n) in hpfs_prefetch_sectors() argument 43 if (n <= 0 || unlikely(secno >= hpfs_sb(s)->sb_fs_size)) in hpfs_prefetch_sectors() 46 if (unlikely(hpfs_search_hotfix_map_for_range(s, secno, n) != n)) in hpfs_prefetch_sectors() 49 bh = sb_find_get_block(s, secno); in hpfs_prefetch_sectors() 60 if (unlikely(secno >= hpfs_sb(s)->sb_fs_size)) in hpfs_prefetch_sectors() 62 sb_breadahead(s, secno); in hpfs_prefetch_sectors() [all …]
|
| /linux/tools/perf/trace/beauty/ |
| H A D | mmap_flags.sh | 5 [ $# -eq 1 ] && hostarch=$1 || hostarch=`uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/` 11 header_dir=$2 25 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \ 26 xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef MAP_%s\n#define MAP_%s %s\n#endif\n") 30 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \ 31 xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef MAP_%s\n#define MAP_%s %s\n#endif\n") 36 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \ 37 xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef MAP_%s\n#define MAP_%s %s\n#endif\n") 41 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \ 42 xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef MAP_%s\n#define MAP_%s %s\n#endif\n")
|
| /linux/drivers/scsi/ |
| H A D | script_asm.pl | 1 #!/usr/bin/perl -s 22 # Programmer's guide, with the new instructions, registers, etc. 25 # Differences between this assembler and NCR's are that 29 # 2. I also emit a script_u.h file, which will undefine all of 43 #$prefix; # (set by perl -s) 92 'SCNTL0', 0, 'SCNTL1', 1, 'SDID', 2, 'SIEN', 3, 112 'SCNTL0', 0, 'SCNTL1', 1, 'SCNTL2', 2, 'SCNTL3', 3, 149 $value = "$identifier|$identifier\\s*[+\-]\\s*$decnum|". 150 "$identifier\\s*[+-]\s*$hexnum|$constant"; 236 if ($value =~ /^REL\s*\(\s*($identifier)\s*\)\s*(.*)/i) { [all …]
|