| /kernel/linux/linux-5.10/arch/arm64/crypto/ |
| D | sha512-ce-core.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * sha512-ce-core.S - core SHA-384/SHA-512 transform using v8 Crypto Extensions 15 .irp b,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 17 .set .Lv\b\().2d, \b 37 * The SHA-512 round constants 85 ld1 {v\rc1\().2d}, [x4], #16 87 add v5.2d, v\rc0\().2d, v\in0\().2d 91 add v\i3\().2d, v\i3\().2d, v5.2d 94 sha512su0 v\in0\().2d, v\in1\().2d 96 sha512h q\i3, q6, v7.2d [all …]
|
| /kernel/linux/linux-5.10/arch/x86/crypto/ |
| D | sha1_ssse3_asm.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * This is a SIMD SHA-1 implementation. It requires the Intel(R) Supplemental 17 …* http://software.intel.com/en-us/articles/improving-the-performance-of-the-secure-hash-algorith… 61 /* we keep window of 64 w[i]+K pre-calculated values in a circular buffer */ 66 * This macro implements the SHA-1 function's body for single 64-byte block 108 * This macro implements 80 rounds of SHA-1 for one 64-byte block 116 mov 12(HASH_PTR), D 127 RR F1,A,B,C,D,E,0 128 RR F1,D,E,A,B,C,2 129 RR F1,B,C,D,E,A,4 [all …]
|
| D | nh-avx2-x86_64.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * NH - ε-almost-universal hash function, x86_64 AVX2 accelerated 107 // 2 or 3 strides remain; do 2 more. 131 // PASS0_SUMS is (0A 0B 0C 0D) 132 // PASS1_SUMS is (1A 1B 1C 1D) 133 // PASS2_SUMS is (2A 2B 2C 2D) 134 // PASS3_SUMS is (3A 3B 3C 3D) 136 // (0A + 0B + 0C + 0D, 137 // 1A + 1B + 1C + 1D, 138 // 2A + 2B + 2C + 2D, [all …]
|
| /kernel/linux/linux-5.10/crypto/ |
| D | md4.c | 11 * Copyright (c) Andrew Tridgell 1997-1998. 45 return ((x << s) & 0xFFFFFFFF) | (x >> (32 - s)); in lshift() 63 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument 64 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (u32)0x5A827999,s)) argument 65 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s)) argument 69 u32 a, b, c, d; in md4_transform() local 74 d = hash[3]; in md4_transform() 76 ROUND1(a, b, c, d, in[0], 3); in md4_transform() 77 ROUND1(d, a, b, c, in[1], 7); in md4_transform() 78 ROUND1(c, d, a, b, in[2], 11); in md4_transform() [all …]
|
| /kernel/linux/linux-5.10/Documentation/fb/ |
| D | viafb.modes | 10 # 640x480, 60 Hz, Non-Interlaced (25.175 MHz dotclock) 28 mode "640x480-60" 29 # D: 25.175 MHz, H: 31.469 kHz, V: 59.94 Hz 31 timings 39722 48 16 33 10 96 2 endmode mode "480x640-60" 32 # D: 24.823 MHz, H: 39.780 kHz, V: 60.00 Hz 33 geometry 480 640 480 640 32 timings 39722 72 24 19 1 48 3 endmode 35 # 640x480, 75 Hz, Non-Interlaced (31.50 MHz dotclock) 41 # 8 chars 3 lines 52 mode "640x480-75" 53 # D: 31.50 MHz, H: 37.500 kHz, V: 75.00 Hz [all …]
|
| /kernel/linux/linux-5.10/Documentation/staging/ |
| D | lzo.rst | 26 - a distance when copying data from the dictionary (past output buffer) 27 - a length (number of bytes to copy from dictionary) 28 - the number of literals to copy, which is retained in variable "state" 45 length = byte & ((1 << #bits) - 1) 47 length = ((1 << #bits) - 1) 49 length += first-non-zero-byte 51 length += constant (generally 2 or 3) 57 forming a little-endian 16-bit quantity (marked LE16 below). 59 After any instruction except the large literal copy, 0, 1, 2 or 3 literals 70 for the distance, thus requiring 3 bytes. [all …]
|
| /kernel/linux/linux-5.10/drivers/acpi/acpica/ |
| D | dbstats.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: dbstats - Generation and display of ACPI table statistics 47 #define CMD_STAT_MISC 3 57 * PARAMETERS: list - Memory list/cache to be displayed 71 acpi_os_printf("\n%s\n", list->list_name); in acpi_db_list_info() 75 if (list->max_depth > 0) { in acpi_db_list_info() 78 "%8.2X %8.2X %8.2X %8.2X\n", list->current_depth, in acpi_db_list_info() 79 list->max_depth, list->max_depth - list->current_depth, in acpi_db_list_info() 80 (list->current_depth * list->object_size)); in acpi_db_list_info() 83 if (list->max_depth > 0) { in acpi_db_list_info() [all …]
|
| /kernel/linux/linux-5.10/tools/perf/arch/x86/tests/ |
| D | intel-pt-pkt-decoder-test.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include "intel-pt-decoder/intel-pt-pkt-decoder.h" 9 #include "arch-tests.h" 12 * struct test_data - Test data. 37 {8, {0x02, 0xa3, 3}, 0, {INTEL_PT_TNT, 1, 0x1a302ULL << 47}, 0, 0 }, 42 {3, {0x2d, 1, 2}, 0, {INTEL_PT_TIP, 1, 0x201}, 0, 0 }, 43 {5, {0x4d, 1, 2, 3, 4}, 0, {INTEL_PT_TIP, 2, 0x4030201}, 0, 0 }, 44 {7, {0x6d, 1, 2, 3, 4, 5, 6}, 0, {INTEL_PT_TIP, 3, 0x60504030201}, 0, 0 }, 45 {7, {0x8d, 1, 2, 3, 4, 5, 6}, 0, {INTEL_PT_TIP, 4, 0x60504030201}, 0, 0 }, 46 {9, {0xcd, 1, 2, 3, 4, 5, 6, 7, 8}, 0, {INTEL_PT_TIP, 6, 0x807060504030201}, 0, 0 }, [all …]
|
| /kernel/linux/linux-5.10/arch/ia64/lib/ |
| D | copy_page_mck.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * McKinley-optimized version of copy_page(). 5 * Copyright (C) 2002 Hewlett-Packard Co 15 * - use regular loads and stores to prefetch data to avoid consuming M-slot just for 16 * lfetches => good for in-cache performance 17 * - avoid l2 bank-conflicts by not storing into the same 16-byte bank within a single 21 * First, note that L1 has a line-size of 64 bytes and L2 a line-size of 128 bytes. 22 * To avoid secondary misses in L2, we prefetch both source and destination with a line-size 28 * We use a software-pipelined loop to control the overall operation. The pipeline 30 * source cache-lines. The second PREFETCH_DIST stages are used for prefetching destination [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/ |
| D | debug.c | 25 * Copyright (c) 2008-2009 Atheros Communications, Inc. 48 off += scnprintf(&buf[off], max - off, fmt, ##args); 74 ar = file->private_data; in carl9170_debugfs_read() 77 return -ENODEV; in carl9170_debugfs_read() 81 if (!dfops->read) in carl9170_debugfs_read() 82 return -ENOSYS; in carl9170_debugfs_read() 84 if (dfops->read_bufsize) { in carl9170_debugfs_read() 85 buf = vmalloc(dfops->read_bufsize); in carl9170_debugfs_read() 87 return -ENOMEM; in carl9170_debugfs_read() 90 mutex_lock(&ar->mutex); in carl9170_debugfs_read() [all …]
|
| /kernel/linux/linux-5.10/scripts/mod/ |
| D | sumversion.c | 23 * Copyright (c) Andrew Tridgell 1997-1998. 49 return ((x << s) & 0xFFFFFFFF) | (x >> (32 - s)); in lshift() 67 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument 68 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (uint32_t)0x5A827999,s)) argument 69 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (uint32_t)0x6ED9EBA1,s)) argument 74 while (words--) { in le32_to_cpu_array() 82 while (words--) { in cpu_to_le32_array() 90 uint32_t a, b, c, d; in md4_transform() local 95 d = hash[3]; in md4_transform() 97 ROUND1(a, b, c, d, in[0], 3); in md4_transform() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/usb/pwc/ |
| D | pwc-dec23.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Decompression for chipset version 2 et 3 4 (C) 2004-2006 Luc Saillard (luc@saillard.org) 9 The decompression routines have been implemented by reverse-engineering the 15 #include "pwc-timon.h" 16 #include "pwc-kiara.h" 17 #include "pwc-dec23.h" 44 -0x526500, -0x221200, 0x221200, 0x526500, in build_subblock_pattern() 45 -0x3de200, 0x3de200, in build_subblock_pattern() 46 -0x6db480, -0x2d5d00, 0x2d5d00, 0x6db480, in build_subblock_pattern() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/zydas/zd1211rw/ |
| D | zd_rf_rf2959.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* ZD1211 USB-WLAN driver for Linux 4 * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> 5 * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> 17 RF_CHANNEL( 3) = { 0x181999, 0x1e6666 }, 48 PDEBUG("rf2959 %#010x reg %d rw %d", rw, reg, rw_flag); 52 PDEBUG("reg0 CFG1 ref_sel %d hibernate %d rf_vco_reg_en %d" 53 " if_vco_reg_en %d if_vga_en %d", 54 bits(rw, 14, 15), bit(rw, 3), bit(rw, 2), bit(rw, 1), 58 PDEBUG("reg1 IFPLL1 pll_en1 %d kv_en1 %d vtc_en1 %d lpf1 %d" [all …]
|
| /kernel/linux/linux-5.10/drivers/hid/ |
| D | hid-picolcd_debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2010-2012 by Bruno Prémont <bonbons@linux-vserver.org> * 11 #include <linux/hid-debug.h> 20 #include "hid-picolcd.h" 25 if (picolcd_fbinfo((struct picolcd_data *)f->private)) in picolcd_debug_reset_show() 34 return single_open(f, picolcd_debug_reset_show, inode->i_private); in picolcd_debug_reset_open() 40 struct picolcd_data *data = ((struct seq_file *)f->private_data)->private; in picolcd_debug_reset_write() 42 size_t cnt = min(count, sizeof(buf)-1); in picolcd_debug_reset_write() 44 return -EFAULT; in picolcd_debug_reset_write() 46 while (cnt > 0 && (buf[cnt-1] == ' ' || buf[cnt-1] == '\n')) in picolcd_debug_reset_write() [all …]
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/ |
| D | atafb_utils.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 22 * would be faster. I suspect not for simple text system - not much 30 * Unaligned read/write used requires 68020+ - think this is a problem? 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() 64 " jcs 3f\n" in fb_memclear_small() [all …]
|
| D | c2p_core.h | 2 * Fast C2P (Chunky-to-Planar) Conversion 4 * Copyright (C) 2003-2008 Geert Uytterhoeven 7 * - This code was inspired by Scout's C2P tutorial 8 * - It assumes to run on a big endian system 22 static inline void _transp(u32 d[], unsigned int i1, unsigned int i2, in _transp() argument 25 u32 t = (d[i1] ^ (d[i2] >> shift)) & mask; in _transp() 27 d[i1] ^= t; in _transp() 28 d[i2] ^= t << shift; in _transp() 57 * Transpose operations on 8 32-bit words 60 static __always_inline void transp8(u32 d[], unsigned int n, unsigned int m) in transp8() argument [all …]
|
| /kernel/linux/linux-5.10/Documentation/trace/ |
| D | ftrace.rst | 2 ftrace - Function Tracer 13 - Written for: 2.6.28-rc2 14 - Updated for: 3.10 15 - Updated for: 4.13 - Copyright 2017 VMware Inc. Steven Rostedt 16 - Converted to rst format - Changbin Du <changbin.du@intel.com> 19 ------------ 24 performance issues that take place outside of user-space. 41 ---------------------- 43 See :doc:`ftrace-design` for details for arch porters and such. 47 --------------- [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/crypto/ |
| D | aes-tab-4k.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 16 * For the safety-conscious it has to be noted that they might be vulnerable 25 #define R(a, b, c, d) \ argument 26 0x##a##b##c##d, 0x##d##a##b##c, 0x##c##d##a##b, 0x##b##c##d##a 32 /* encryption table, same as crypto_ft_tab in crypto/aes-generic.c */ 34 .long R(ee, 77, 77, 99), R(f6, 7b, 7b, 8d) 35 .long R(ff, f2, f2, 0d), R(d6, 6b, 6b, bd) 38 .long R(ce, 67, 67, a9), R(56, 2b, 2b, 7d) 40 .long R(4d, ab, ab, e6), R(ec, 76, 76, 9a) 41 .long R(8f, ca, ca, 45), R(1f, 82, 82, 9d) [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/shaders/clear_kernel/ |
| D | ivb.asm | 1 // SPDX-License-Identifier: MIT 20 * DW 1.0 - Block Offset to write Render Cache 21 * DW 1.1 [15:0] - Clear Word 22 * DW 1.2 - Delay iterations 23 * DW 1.3 - Enable Instrumentation (only for debug) 24 * DW 1.4 - Rsvd (intended for context ID) 25 * DW 1.5 - [31:16]:SliceCount, [15:0]:SubSlicePerSliceCount 26 * DW 1.6 - Rsvd MBZ (intended for Enable Wait on Total Thread Count) 27 * DW 1.7 - Rsvd MBZ (inteded for Total Thread Count) 31 * BTI 0: 2D Surface to help clear L3 (Render/Data Cache) [all …]
|
| D | hsw.asm | 1 // SPDX-License-Identifier: MIT 20 * DW 1.0 - Block Offset to write Render Cache 21 * DW 1.1 [15:0] - Clear Word 22 * DW 1.2 - Delay iterations 23 * DW 1.3 - Enable Instrumentation (only for debug) 24 * DW 1.4 - Rsvd (intended for context ID) 25 * DW 1.5 - [31:16]:SliceCount, [15:0]:SubSlicePerSliceCount 26 * DW 1.6 - Rsvd MBZ (intended for Enable Wait on Total Thread Count) 27 * DW 1.7 - Rsvd MBZ (inteded for Total Thread Count) 31 * BTI 0: 2D Surface to help clear L3 (Render/Data Cache) [all …]
|
| /kernel/linux/linux-5.10/fs/ext4/ |
| D | hash.c | 1 // SPDX-License-Identifier: GPL-2.0 20 __u32 a = in[0], b = in[1], c = in[2], d = in[3]; in TEA_transform() local 26 b1 += ((b0 << 4)+c) ^ (b0+sum) ^ ((b0 >> 5)+d); in TEA_transform() 27 } while (--n); in TEA_transform() 44 #define ROUND(f, a, b, c, d, x, s) \ argument 45 (a += f(b, c, d) + x, a = rol32(a, s)) 51 * Basic cut-down MD4 transform. Returns only 32 bits of result. 55 __u32 a = buf[0], b = buf[1], c = buf[2], d = buf[3]; in half_md4_transform() local 58 ROUND(F, a, b, c, d, in[0] + K1, 3); in half_md4_transform() 59 ROUND(F, d, a, b, c, in[1] + K1, 7); in half_md4_transform() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/phy/ |
| D | dsi_phy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #define S_DIV_ROUND_UP(n, d) \ argument 11 (((n) >= 0) ? (((n) + (d) - 1) / (d)) : (((n) - (d) + 1) / (d))) 18 v = (tmax - tmin) * percent; in linear_inter() 21 return max_t(s32, min_result, v - 1); in linear_inter() 33 temp = 300 * coeff - ((timing->clk_prepare >> 1) + 1) * 2 * ui; in dsi_dphy_timing_calc_clk_zero() 34 tmin = S_DIV_ROUND_UP(temp, ui) - 2; in dsi_dphy_timing_calc_clk_zero() 44 temp = (timing->hs_rqst + timing->clk_prepare + clk_z) & 0x7; in dsi_dphy_timing_calc_clk_zero() 45 timing->clk_zero = clk_z + 8 - temp; in dsi_dphy_timing_calc_clk_zero() 51 const unsigned long bit_rate = clk_req->bitclk_rate; in msm_dsi_dphy_timing_calc() [all …]
|
| /kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
| D | dsp_dtmf.c | 24 /* k << 15 (source: hfc-4s/8s documentation (www.colognechip.de)) */ 31 {'1', '2', '3', 'A'}, 34 {'*', '0', '#', 'D'} 42 dsp->dtmf.size = 0; in dsp_dtmf_goertzel_init() 43 dsp->dtmf.lastwhat = '\0'; in dsp_dtmf_goertzel_init() 44 dsp->dtmf.lastdigit = '\0'; in dsp_dtmf_goertzel_init() 45 dsp->dtmf.count = 0; in dsp_dtmf_goertzel_init() 54 if (!dsp->dtmf.enable) in dsp_dtmf_hardware() 57 if (!dsp->features.hfc_dtmf) in dsp_dtmf_hardware() 61 if (dsp->tx_volume) { in dsp_dtmf_hardware() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/dvb-core/ |
| D | dvb_vb2.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * dvb-vb2.c - dvb-vb2 39 ctx->buf_cnt = *nbuffers; in _queue_setup() 41 sizes[0] = ctx->buf_siz; in _queue_setup() 44 * videobuf2-vmalloc allocator is context-less so no need to set in _queue_setup() 48 dprintk(3, "[%s] count=%d, size=%d\n", ctx->name, in _queue_setup() 56 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in _buffer_prepare() 57 unsigned long size = ctx->buf_siz; in _buffer_prepare() 61 ctx->name, vb2_plane_size(vb, 0), size); in _buffer_prepare() 62 return -EINVAL; in _buffer_prepare() [all …]
|
| /kernel/linux/linux-5.10/sound/pci/ac97/ |
| D | ac97_proc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 46 snd_iprintf(buffer, "%-17s: %3d.%d dBV %c %2d/fs %s\n", in snd_ac97_proc_read_functions() 48 (info & 0x8000 ? -1 : 1) * ((info & 0x7000) >> 12) * 3 / 2, in snd_ac97_proc_read_functions() 50 info & 0x0400 ? 'X' : '-', in snd_ac97_proc_read_functions() 58 /* 0 */ "No 3D Stereo Enhancement", 61 /* 3 */ "National Semi 3D Stereo Enhancement", 63 /* 5 */ "BBE 3D Stereo Enhancement", 64 /* 6 */ "Crystal Semi 3D Stereo Enhancement", 66 /* 8 */ "Spatializer 3D Stereo Enhancement", 67 /* 9 */ "SRS 3D Stereo Enhancement", [all …]
|