/linux-5.10/Documentation/devicetree/bindings/iio/ |
D | mount-matrix.txt | 2 * is the definition of +/- values practical or counterintuitive? 5 * should we have HOWTO engineer a correct matrix for a new device (without comparing to a different… 12 The mounting matrix is a device tree property used to orient any device 13 that produce three-dimensional data in relation to the world where it is 17 reference into the device frame of reference using a translation matrix as 20 The typical usecase is that where a component has an internal representation 21 of the (x,y,z) triplets, such as different registers to read these coordinates, 22 and thus implying that the component should be mounted in a certain orientation 25 For example a device with some kind of screen, where the user is supposed to 28 reference to (x,y,z) orientation, with (x,y) corresponding to these axes on the [all …]
|
/linux-5.10/crypto/ |
D | md5.c | 27 0xd4, 0x1d, 0x8c, 0xd9, 0x8f, 0x00, 0xb2, 0x04, 28 0xe9, 0x80, 0x09, 0x98, 0xec, 0xf8, 0x42, 0x7e, 32 #define F1(x, y, z) (z ^ (x & (y ^ z))) argument 33 #define F2(x, y, z) F1(z, x, y) argument 34 #define F3(x, y, z) (x ^ y ^ z) argument 35 #define F4(x, y, z) (y ^ (x | ~z)) argument 37 #define MD5STEP(f, w, x, y, z, in, s) \ argument 38 (w += f(x, y, z) + in, w = (w<<s | w>>(32-s)) + x) 42 u32 a, b, c, d; in md5_transform() local 44 a = hash[0]; in md5_transform() [all …]
|
D | md4.c | 11 * Copyright (c) Andrew Tridgell 1997-1998. 44 x &= 0xFFFFFFFF; in lshift() 45 return ((x << s) & 0xFFFFFFFF) | (x >> (32 - s)); in lshift() 48 static inline u32 F(u32 x, u32 y, u32 z) in F() argument 50 return (x & y) | ((~x) & z); in F() 53 static inline u32 G(u32 x, u32 y, u32 z) in G() argument 55 return (x & y) | (x & z) | (y & z); in G() 58 static inline u32 H(u32 x, u32 y, u32 z) in H() argument 60 return x ^ y ^ z; in H() 63 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument [all …]
|
D | rmd256.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * RIPEMD-256 - RACE Integrity Primitives Evaluation Message Digest. 7 * Based on the reference implementation by Antoon Bosselaers, ESAT-COSIC 9 * Copyright (c) 2008 Adrian-Ken Rueegsegger <ken@codelabs.ch> 35 #define F1(x, y, z) (x ^ y ^ z) /* XOR */ argument 36 #define F2(x, y, z) (z ^ (x & (y ^ z))) /* x ? y : z */ argument 37 #define F3(x, y, z) ((x | ~y) ^ z) argument 38 #define F4(x, y, z) (y ^ (z & (x ^ y))) /* z ? x : y */ argument 40 #define ROUND(a, b, c, d, f, k, x, s) { \ argument 41 (a) += f((b), (c), (d)) + le32_to_cpup(&(x)) + (k); \ [all …]
|
D | rmd320.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * RIPEMD-320 - RACE Integrity Primitives Evaluation Message Digest. 7 * Based on the reference implementation by Antoon Bosselaers, ESAT-COSIC 9 * Copyright (c) 2008 Adrian-Ken Rueegsegger <ken@codelabs.ch> 37 #define F1(x, y, z) (x ^ y ^ z) /* XOR */ argument 38 #define F2(x, y, z) (z ^ (x & (y ^ z))) /* x ? y : z */ argument 39 #define F3(x, y, z) ((x | ~y) ^ z) argument 40 #define F4(x, y, z) (y ^ (z & (x ^ y))) /* z ? x : y */ argument 41 #define F5(x, y, z) (x ^ (y | ~z)) argument 43 #define ROUND(a, b, c, d, e, f, k, x, s) { \ argument [all …]
|
D | rmd128.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * RIPEMD-128 - RACE Integrity Primitives Evaluation Message Digest. 7 * Based on the reference implementation by Antoon Bosselaers, ESAT-COSIC 9 * Copyright (c) 2008 Adrian-Ken Rueegsegger <ken@codelabs.ch> 35 #define F1(x, y, z) (x ^ y ^ z) /* XOR */ argument 36 #define F2(x, y, z) (z ^ (x & (y ^ z))) /* x ? y : z */ argument 37 #define F3(x, y, z) ((x | ~y) ^ z) argument 38 #define F4(x, y, z) (y ^ (z & (x ^ y))) /* z ? x : y */ argument 40 #define ROUND(a, b, c, d, f, k, x, s) { \ argument 41 (a) += f((b), (c), (d)) + le32_to_cpup(&(x)) + (k); \ [all …]
|
D | rmd160.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * RIPEMD-160 - RACE Integrity Primitives Evaluation Message Digest. 7 * Based on the reference implementation by Antoon Bosselaers, ESAT-COSIC 9 * Copyright (c) 2008 Adrian-Ken Rueegsegger <ken@codelabs.ch> 37 #define F1(x, y, z) (x ^ y ^ z) /* XOR */ argument 38 #define F2(x, y, z) (z ^ (x & (y ^ z))) /* x ? y : z */ argument 39 #define F3(x, y, z) ((x | ~y) ^ z) argument 40 #define F4(x, y, z) (y ^ (z & (x ^ y))) /* z ? x : y */ argument 41 #define F5(x, y, z) (x ^ (y | ~z)) argument 43 #define ROUND(a, b, c, d, e, f, k, x, s) { \ argument [all …]
|
/linux-5.10/tools/testing/selftests/tc-testing/tc-tests/actions/ |
D | simple.json | 12 0, 17 "cmdUnderTest": "$TC actions add action simple sdata \"A triumph\" index 60", 18 "expExitCode": "0", 20 "matchPattern": "action order [0-9]*: Simple <A triumph>.*index 60 ref", 36 0, 45 "matchPattern": "action order [0-9]*: Simple <Jamaica>.*ref", 46 "matchCount": "0", 61 0, 70 "expExitCode": "0", 72 "matchPattern": "action order [0-9]*: Simple <[A-Z][a-z]*>", [all …]
|
/linux-5.10/tools/testing/selftests/rcutorture/bin/ |
D | kvm-test-1-run.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 4 # Run a kvm-based test of the specified tree on the specified configs. 7 # Execute this in the source tree. Do not run it as a background task 10 # Usage: kvm-test-1-run.sh config builddir resdir seconds qemu-args boot_args 12 # qemu-args defaults to "-enable-kvm -nographic", along with arguments 18 # Anything you specify for either qemu-args or boot_args is appended to 19 # the default values. The "-smp" value is deduced from the contents of 28 T=${TMPDIR-/tmp}/kvm-test-1-run.sh.$$ 29 trap 'rm -rf $T' 0 36 config_dir=`echo $config_template | sed -e 's,/[^/]*$,,'` [all …]
|
/linux-5.10/tools/memory-model/Documentation/ |
D | litmus-tests.txt | 1 Linux-Kernel Memory Model Litmus Tests 4 This file describes the LKMM litmus-test format by example, describes 6 versions of this material appeared in a number of LWN articles, including: 9 A formal kernel memory-ordering model (part 2) 20 tool, please see tools/memory-model/README. 23 Copy-Pasta 27 existing litmus test than it is to create one from scratch. A number 30 tools/memory-model/litmus-tests/ 31 Documentation/litmus-tests/ 40 The -l and -L arguments to "git grep" can be quite helpful in identifying [all …]
|
/linux-5.10/arch/powerpc/boot/ |
D | wrapper | 2 # SPDX-License-Identifier: GPL-2.0-only 6 # This script takes a kernel binary and optionally an initrd image 7 # and/or a device-tree blob, and creates a bootable zImage for a 11 # -o zImage specify output file 12 # -p platform specify platform (links in $platform.o) 13 # -i initrd specify initrd file 14 # -d devtree specify device-tree blob 15 # -s tree.dts specify device-tree source file (needs dtc installed) 16 # -e esm_blob specify ESM blob for secure images 17 # -c cache $kernel.strip.gz (use if present & newer, else make) [all …]
|
/linux-5.10/scripts/mod/ |
D | sumversion.c | 23 * Copyright (c) Andrew Tridgell 1997-1998. 48 x &= 0xFFFFFFFF; in lshift() 49 return ((x << s) & 0xFFFFFFFF) | (x >> (32 - s)); in lshift() 52 static inline uint32_t F(uint32_t x, uint32_t y, uint32_t z) in F() argument 54 return (x & y) | ((~x) & z); in F() 57 static inline uint32_t G(uint32_t x, uint32_t y, uint32_t z) in G() argument 59 return (x & y) | (x & z) | (y & z); in G() 62 static inline uint32_t H(uint32_t x, uint32_t y, uint32_t z) in H() argument 64 return x ^ y ^ z; in H() 67 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument [all …]
|
/linux-5.10/scripts/ |
D | patch-kernel | 2 # SPDX-License-Identifier: GPL-2.0 4 # usage: patch-kernel [ sourcedir [ patchdir [ stopversion ] [ -acxx ] ] ] 8 # scripts/patch-kernel . .. 11 # scripts/patch-kernel . .. -ac 13 # scripts/patch-kernel . .. 2.4.9 14 # Gets standard kernel 2.4.9 15 # scripts/patch-kernel . .. 2.4.9 -ac 16 # Gets 2.4.9 with latest ac patches 17 # scripts/patch-kernel . .. 2.4.9 -ac11 18 # Gets 2.4.9 with ac patch ac11 [all …]
|
D | check_extable.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 file ${obj} | grep -q ELF || (echo "${obj} is not and ELF file." 1>&2 ; exit 0) 10 objdump -hj __ex_table ${obj} 2> /dev/null > /dev/null 11 [ $? -ne 0 ] && exit 0 15 suspicious_relocs=$(objdump -rj __ex_table ${obj} | tail -n +6 | 16 grep -v $(eval echo -e{${white_list}}) | awk '{print $3}') 18 # No suspicious relocs in __ex_table, jobs a good'un 19 [ -z "${suspicious_relocs}" ] && exit 0 24 # white listed. If you're adding a new section in the Linux kernel, and 33 …eval $(objdump -t ${obj} | grep ${1} | sed 's/\([0-9a-f]\+\) .\{7\} \([^ \t]\+\).*/section="\2"; s… [all …]
|
/linux-5.10/fs/ext4/ |
D | hash.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #define DELTA 0x9E3779B9 18 __u32 sum = 0; in TEA_transform() 19 __u32 b0 = buf[0], b1 = buf[1]; in TEA_transform() 20 __u32 a = in[0], b = in[1], c = in[2], d = in[3]; in TEA_transform() local 25 b0 += ((b1 << 4)+a) ^ (b1+sum) ^ ((b1 >> 5)+b); in TEA_transform() 27 } while (--n); in TEA_transform() 29 buf[0] += b0; in TEA_transform() 34 #define F(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) argument 35 #define G(x, y, z) (((x) & (y)) + (((x) ^ (y)) & (z))) argument [all …]
|
/linux-5.10/tools/thermal/tmon/ |
D | tmon.8 | 2 # SPDX-License-Identifier: GPL-2.0 4 \fBtmon\fP - A monitoring and testing tool for Linux kernel thermal subsystem 13 real-time thermal data; tune 22 - show thermal zone information 23 - show cooling device information 24 - show trip point binding within each thermal zone 25 - show trip point and cooling device instance bindings 28 - show temperature of all thermal zones w.r.t. its trip points and types 29 - show states of all cooling devices 32 - with a built-in Proportional Integral Derivative (\fBPID\fP) [all …]
|
/linux-5.10/drivers/input/tablet/ |
D | wacom_serial4.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright 2011-2012 Julian Squires <julian@cipht.net> 13 * - elo, gunze drivers by Vojtech Pavlik <vojtech@ucw.cz>; 14 * - wacom_w8001 driver by Jaya Kumar <jayakumar.lkml@gmail.com>; 15 * - the USB wacom input driver, credited to many people 17 * - new and old versions of linuxwacom / xf86-input-wacom credited to 20 * - and xf86wacom.c (a presumably ancient version of the linuxwacom code), 24 * - support pad buttons; (requires access to a model with pad buttons) 25 * - support (protocol 4-style) tilt (requires access to a > 1.4 rom model) 29 * Wacom serial protocol 4 documentation taken from linuxwacom-0.9.9 code, [all …]
|
/linux-5.10/arch/x86/entry/syscalls/ |
D | syscalltbl.sh | 2 # SPDX-License-Identifier: GPL-2.0 21 if [ "$abi" != "I386" -a -n "$compat" ]; then 22 echo "a compat entry ($abi: $compat) for a 64-bit syscall makes no sense" >&2 26 if [ -z "$compat" ]; then 27 if [ -n "$entry" ]; then 32 if [ -n "$entry" ]; then 41 grep '^[0-9]' "$in" | sort -n | ( 43 abi=`echo "$abi" | tr '[a-z]' '[A-Z]'`
|
/linux-5.10/drivers/video/fbdev/ |
D | fm2fb.c | 2 * linux/drivers/video/fm2fb.c -- BSC FrameMaster II/Rainbow II frame buffer 5 * Copyright (C) 1998 Steffen A. Mork (linux-dev@morknet.de) 8 * Written for 2.0.x by Steffen A. Mork 27 * The BSC FrameMaster II (or Rainbow II) is a simple very dumb 35 * - PAL/NTSC 36 * - interlaced/non interlaced 37 * - composite sync/sync/sync over green 40 * - 768x576 (PAL) 41 * - 768x480 (NTSC) 53 * At relative address 0x1ffff8 of the frame buffers base address [all …]
|
/linux-5.10/tools/perf/util/ |
D | demangle-rust.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include "demangle-rust.h" 16 * The last component of the path is a 64-bit hash in lowercase hex, prefixed 17 * with "h". Rust does not have a global namespace between crates, an illusion 21 * Any path component not starting with a XID_Start character is prefixed with 40 * A double ".." means "::" and a single "." means "-". 42 * The only characters allowed in the mangled symbol are a-zA-Z0-9 and _.:$ 55 * sym: symbol that has been through BFD-demangling 61 * 2. As a sanity check, the hash must use between 5 and 15 of the 16 possible 63 * may see a false negative. The point is to notice path components that [all …]
|
/linux-5.10/drivers/tty/hvc/ |
D | hvc_iucv.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * z/VM IUCV hypervisor console (HVC) device driver 6 * z/VM IUCV communication paths. 32 #define HVC_IUCV_MAGIC 0xc9e4c3e5 37 #define MSG_VERSION 0x02 /* Message version */ 38 #define MSG_TYPE_ERROR 0x01 /* Error message */ 39 #define MSG_TYPE_TERMENV 0x02 /* Terminal environment variable */ 40 #define MSG_TYPE_TERMIOS 0x04 /* Terminal IO struct update */ 41 #define MSG_TYPE_WINSIZE 0x08 /* Terminal window size update */ 42 #define MSG_TYPE_DATA 0x10 /* Terminal data */ [all …]
|
/linux-5.10/tools/testing/selftests/ftrace/ |
D | ftracetest | 2 # SPDX-License-Identifier: GPL-2.0-only 4 # ftracetest - Ftrace test shell scripts 11 [ ! -z "$2" ] && echo $2 12 echo "Usage: ftracetest [options] [testcase(s)] [testcase-directory(s)]" 14 echo " -h|--help Show help message" 15 echo " -k|--keep Keep passed test logs" 16 echo " -v|--verbose Increase verbosity of test messages" 17 echo " -vv Alias of -v -v (Show all results in stdout)" 18 echo " -vvv Alias of -v -v -v (Show all commands immediately)" 19 echo " --fail-unsupported Treat UNSUPPORTED as a failure" [all …]
|
/linux-5.10/tools/memory-model/scripts/ |
D | parseargs.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 8 # Include into other Linux kernel tools/memory-model scripts. 19 echo if test -z '"$'$1'"' > $T/s 29 initparam LKMM_HERD_OPTIONS "-conf linux-kernel.cfg" 34 scriptname=$0 38 echo " --destdir path (place for .litmus.out, default by .litmus)" 39 echo " --herdopts -conf linux-kernel.cfg ..." 40 echo " --jobs N (number of jobs, default one per CPU)" 41 echo " --procs N (litmus tests with at most this many processes)" 42 echo " --timeout N (herd7 timeout (e.g., 10s, 1m, 2hr, 1d, '')" [all …]
|
/linux-5.10/Documentation/m68k/ |
D | buddha-driver.rst | 8 ------------------------------------------------------------------------ 11 Buddha-part of the Catweasel Zorro-II version 17 a Linux kernel configure the card), look at the Commodore 21 product number: 0 (42 for Catweasel Z-II) 22 Serial number: 0 23 Rom-vector: $1000 25 The card should be a Z-II board, size 64K, not for freemem 26 list, Rom-Vektor is valid, no second Autoconfig-board on the 30 as the Amiga Kickstart does: The lower nibble of the 8-Bit 31 address is written to $4a, then the whole Byte is written to [all …]
|
/linux-5.10/drivers/net/ethernet/8390/ |
D | hydra.c | 11 /* The Amiganet is a Zorro-II board made by Hydra Systems. It contains a */ 12 /* NS8390 NIC (network interface controller) clone, 16 or 64K on-board RAM */ 13 /* and 10BASE-2 (thin coax) and AUI connectors. */ 33 #define EI_SHIFT(x) (ei_local->reg_offset[x]) 40 "8390.c:v1.10cvs 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)\n"; 44 #define NE_EN0_DCFG (0x0e*2) 46 #define NESM_START_PG 0x0 /* First page of TX buffer */ 47 #define NESM_STOP_PG 0x40 /* Last page +1 of RX ring */ 49 #define HYDRA_NIC_BASE 0xffe1 50 #define HYDRA_ADDRPROM 0xffc0 [all …]
|