| /kernel/linux/linux-6.6/drivers/pinctrl/sunplus/ |
| D | sppctl_sp7021.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #define D(x, y) ((x) * 8 + (y)) macro 15 #define P(x, y) PINCTRL_PIN(D(x, y), D_PIS(x, y)) 18 D_PIS(0, 0), D_PIS(0, 1), D_PIS(0, 2), D_PIS(0, 3), 20 D_PIS(1, 0), D_PIS(1, 1), D_PIS(1, 2), D_PIS(1, 3), 22 D_PIS(2, 0), D_PIS(2, 1), D_PIS(2, 2), D_PIS(2, 3), 24 D_PIS(3, 0), D_PIS(3, 1), D_PIS(3, 2), D_PIS(3, 3), 25 D_PIS(3, 4), D_PIS(3, 5), D_PIS(3, 6), D_PIS(3, 7), 26 D_PIS(4, 0), D_PIS(4, 1), D_PIS(4, 2), D_PIS(4, 3), 28 D_PIS(5, 0), D_PIS(5, 1), D_PIS(5, 2), D_PIS(5, 3), [all …]
|
| /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-6.6/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/loongarch/mm/ |
| D | tlbex.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #include <asm/pgtable-bits.h> 14 #include <asm/pgtable-64.h> 19 #define PTRS_PER_PGD_BITS (PAGE_SHIFT - 3) 20 #define PTRS_PER_PUD_BITS (PAGE_SHIFT - 3) 21 #define PTRS_PER_PMD_BITS (PAGE_SHIFT - 3) 22 #define PTRS_PER_PTE_BITS (PAGE_SHIFT - 3) 68 bstrpick.d ra, t0, PTRS_PER_PGD_BITS + PGDIR_SHIFT - 1, PGDIR_SHIFT 69 alsl.d t1, ra, t1, 3 70 #if CONFIG_PGTABLE_LEVELS > 3 [all …]
|
| /kernel/linux/linux-6.6/arch/loongarch/mm/ |
| D | tlbex.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited 14 #define PTRS_PER_PGD_BITS (PAGE_SHIFT - 3) 15 #define PTRS_PER_PUD_BITS (PAGE_SHIFT - 3) 16 #define PTRS_PER_PMD_BITS (PAGE_SHIFT - 3) 17 #define PTRS_PER_PTE_BITS (PAGE_SHIFT - 3) 60 bstrpick.d ra, t0, PTRS_PER_PGD_BITS + PGDIR_SHIFT - 1, PGDIR_SHIFT 61 alsl.d t1, ra, t1, 3 62 #if CONFIG_PGTABLE_LEVELS > 3 63 ld.d t1, t1, 0 [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-6.6/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… 62 /* we keep window of 64 w[i]+K pre-calculated values in a circular buffer */ 67 * This macro implements the SHA-1 function's body for single 64-byte block 109 * This macro implements 80 rounds of SHA-1 for one 64-byte block 117 mov 12(HASH_PTR), D 128 RR F1,A,B,C,D,E,0 129 RR F1,D,E,A,B,C,2 130 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 108 // 2 or 3 strides remain; do 2 more. 132 // PASS0_SUMS is (0A 0B 0C 0D) 133 // PASS1_SUMS is (1A 1B 1C 1D) 134 // PASS2_SUMS is (2A 2B 2C 2D) 135 // PASS3_SUMS is (3A 3B 3C 3D) 137 // (0A + 0B + 0C + 0D, 138 // 1A + 1B + 1C + 1D, 139 // 2A + 2B + 2C + 2D, [all …]
|
| /kernel/linux/linux-6.6/fs/smb/common/ |
| D | cifs_md4.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * Copyright (c) Andrew Tridgell 1997-1998. 32 return ((x << s) & 0xFFFFFFFF) | (x >> (32 - s)); in lshift() 50 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument 51 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (u32)0x5A827999,s)) argument 52 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s)) argument 56 u32 a, b, c, d; in md4_transform() local 61 d = hash[3]; in md4_transform() 63 ROUND1(a, b, c, d, in[0], 3); in md4_transform() 64 ROUND1(d, a, b, c, in[1], 7); in md4_transform() [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-6.6/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-6.6/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/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-6.6/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/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-6.6/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/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/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-6.6/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/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-6.6/tools/testing/selftests/hid/tests/ |
| D | test_tablet.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8 -*- 23 https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/windows-pen-states 37 def from_evdev(cls, evdev) -> "PenState": 58 def apply(self, events) -> "PenState": 91 def valid_transitions(self) -> Tuple["PenState", ...]: 93 for skipping the in-range state, due to historical reasons. 236 def legal_transitions() -> Dict[str, Tuple[PenState, ...]]: 238 we don't have Invert nor Erase bits, so just move in/out-of-range or proximity. 239 … https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/windows-pen-states [all …]
|
| /kernel/linux/linux-6.6/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-6.6/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/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 …]
|