Home
last modified time | relevance | path

Searched +full:0 +full:- +full:9 +full:a +full:- +full:z (Results 1 – 25 of 464) sorted by relevance

12345678910>>...19

/linux/Documentation/devicetree/bindings/iio/
H A Dmount-matrix.txt2 * 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/fs/smb/common/
H A Dcifs_md4.c1 // SPDX-License-Identifier: GPL-2.0
12 * Copyright (c) Andrew Tridgell 1997-1998.
32 x &= 0xFFFFFFFF; in lshift()
33 return ((x << s) & 0xFFFFFFFF) | (x >> (32 - s)); in lshift()
36 static inline u32 F(u32 x, u32 y, u32 z) in F() argument
38 return (x & y) | ((~x) & z); in F()
41 static inline u32 G(u32 x, u32 y, u32 z) in G() argument
43 return (x & y) | (x & z) | (y & z); in G()
46 static inline u32 H(u32 x, u32 y, u32 z) in H() argument
48 return x ^ y ^ z; in H()
[all …]
/linux/tools/testing/selftests/ftrace/test.d/trigger/
H A Dtrigger-hist.tc2 # SPDX-License-Identifier: GPL-2.0
3 # description: event trigger - test histogram trigger
46 grep '{ call_site: \[[0-9a-f][0-9a-f]*\] [_a-zA-Z][_a-zA-Z]* *}' events/kmem/kmalloc/hist > /dev/nu…
51 echo "Test histogram with sym-offset modifier"
53 echo 'hist:keys=call_site.sym-offset' > events/kmem/kmalloc/trigger
55 grep '{ call_site: \[[0-9a-f][0-9a-f]*\] [_a-zA-Z][_a-zA-Z]*+0x[0-9a-f][0-9a-f]*' events/kmem/kmall…
56 fail "sym-offset modifier on kmalloc call_site did not work"
66 while [ $# -gt 1 ]; do
67 [ $1 -gt $2 ] && return 1
70 return 0
[all …]
/linux/lib/crypto/
H A Dmd5.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * MD5 and HMAC-MD5 library functions
26 #define F1(x, y, z) (z ^ (x & (y ^ z))) argument
27 #define F2(x, y, z) F1(z, x, y) argument
28 #define F3(x, y, z) (x ^ y ^ z) argument
29 #define F4(x, y, z) (y ^ (x | ~z)) argument
31 #define MD5STEP(f, w, x, y, z, in, s) \ argument
32 (w += f(x, y, z) + in, w = (w << s | w >> (32 - s)) + x)
38 u32 a, b, c, d; in md5_block_generic() local
43 a = state->h[0]; in md5_block_generic()
[all …]
H A Dsm3.c1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * SM3 secure hash, as specified by OSCCA GM/T 0004-2012 SM3 and described
4 * at https://datatracker.ietf.org/doc/html/draft-sca-cfrg-sm3-02
7 * Copyright (C) 2017 Gilad Ben-Yossef <gilad@benyossef.com>
19 0x79cc4519, 0xf3988a32, 0xe7311465, 0xce6228cb,
20 0x9cc45197, 0x3988a32f, 0x7311465e, 0xe6228cbc,
21 0xcc451979, 0x988a32f3, 0x311465e7, 0x6228cbce,
22 0xc451979c, 0x88a32f39, 0x11465e73, 0x228cbce6,
23 0x9d8a7a87, 0x3b14f50f, 0x7629ea1e, 0xec53d43c,
24 0xd8a7a879, 0xb14f50f3, 0x629ea1e7, 0xc53d43ce,
[all …]
/linux/tools/testing/selftests/tc-testing/tc-tests/actions/
H A Dsimple.json15 0,
20 "cmdUnderTest": "$TC actions add action simple sdata \"A triumph\" index 60",
21 "expExitCode": "0",
23 "matchPattern": "action order [0-9]*: Simple <A triumph>.*index 60 ref",
42 0,
48 "expExitCode": "0",
50 "matchPattern": "action order [0-9]*: Simple <Not changed>.*index 60 ref",
69 0,
78 "matchPattern": "action order [0-9]*: Simple <Jamaica>.*ref",
79 "matchCount": "0",
[all …]
/linux/tools/memory-model/Documentation/
H A Dlitmus-tests.txt1 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/arch/powerpc/boot/
H A Dwrapper2 # 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/tools/testing/selftests/rcutorture/bin/
H A Dkvm-test-1-run-qemu.sh2 # SPDX-License-Identifier: GPL-2.0+
4 # Carry out a kvm-based run for the specified qemu-cmd file, which might
5 # have been generated by --build-only kvm.sh run.
7 # Usage: kvm-test-1-run-qemu.sh qemu-cmd-dir
9 # qemu-cmd-dir provides the directory containing qemu-cmd file.
11 # "ds" is the top-level date-stamped directory and "scenario"
13 # must have been made by the caller. The shell-command comments
14 # at the end of the qemu-cmd file are not optional.
20 T="`mktemp -d ${TMPDIR-/tmp}/kvm-test-1-run-qemu.sh.XXXXXX`"
21 trap 'rm -rf $T' 0
[all …]
H A Dkvm.sh2 # SPDX-License-Identifier: GPL-2.0+
4 # Run a series of tests under KVM. By default, this series is specified
5 # by the relevant CFLIST file, but can be overridden by the --configs
6 # command-line argument.
14 scriptname=$0
17 T="`mktemp -d ${TMPDIR-/tmp}/kvm.sh.XXXXXX`"
18 trap 'rm -rf $T' 0
23 LANG=en_US.UTF-8; export LANG
56 cpus=0
57 ds=`date +%Y.%m.%d-%H.%M.%S`
[all …]
H A Dkvm-transform.sh2 # SPDX-License-Identifier: GPL-2.0+
4 # Transform a qemu-cmd file to allow reuse.
6 # Usage: kvm-transform.sh bzImage console.log jitter_dir seconds [ bootargs ] < qemu-cmd-in > qemu-
15 # The original qemu-cmd file is provided on standard input.
16 # The transformed qemu-cmd file is on standard output.
17 # The transformation assumes that the qemu command is confined to a
24 T=`mktemp -d /tmp/kvm-transform.sh.XXXXXXXXXX`
25 trap 'rm -rf $T' 0 2
28 if test -z "$image"
34 if test -z "$consolelog"
[all …]
/linux/scripts/mod/
H A Dsumversion.c25 * Copyright (c) Andrew Tridgell 1997-1998.
50 x &= 0xFFFFFFFF; in lshift()
51 return ((x << s) & 0xFFFFFFFF) | (x >> (32 - s)); in lshift()
54 static inline uint32_t F(uint32_t x, uint32_t y, uint32_t z) in F() argument
56 return (x & y) | ((~x) & z); in F()
59 static inline uint32_t G(uint32_t x, uint32_t y, uint32_t z) in G() argument
61 return (x & y) | (x & z) | (y & z); in G()
64 static inline uint32_t H(uint32_t x, uint32_t y, uint32_t z) in H() argument
69 ROUND1(a,b,c,d,k,s) global() argument
70 ROUND2(a,b,c,d,k,s) global() argument
71 ROUND3(a,b,c,d,k,s) global() argument
92 uint32_t a, b, c, d; md4_transform() local
[all...]
/linux/scripts/
H A Dpatch-kernel2 # 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 …]
H A Dcheck_extable.sh2 # SPDX-License-Identifier: GPL-2.0
7 file ${obj} | grep -q ELF || (echo "${obj} is not an 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/fs/ext4/
H A Dhash.c1 // 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/tools/thermal/tmon/
H A Dtmon.82 # 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/Documentation/devicetree/bindings/rtc/
H A Dst,stm32-rtc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/rtc/st,stm32-rtc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Gabriel Fernandez <gabriel.fernandez@foss.st.com>
15 - st,stm32-rtc
16 - st,stm32h7-rtc
17 - st,stm32mp1-rtc
18 - st,stm32mp25-rtc
27 clock-names:
[all …]
/linux/drivers/input/tablet/
H A Dwacom_serial4.c1 // 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/drivers/video/fbdev/
H A Dfm2fb.c2 * 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/drivers/gpu/drm/xe/tests/
H A Dxe_args_test.c1 // SPDX-License-Identifier: GPL-2.0
12 #define foo X, Y, Z, Q in call_args_example()
26 #define foo X, Y, Z, Q in drop_first_arg_example()
39 #define foo X, Y, Z, Q in first_arg_example()
53 #define foo X, Y, Z, Q in last_arg_example()
65 int Y = 1, Z = 2; in pick_arg_example() local
67 #define foo X, Y, Z, Q in pick_arg_example()
73 KUNIT_EXPECT_EQ(test, buz, Z); in pick_arg_example()
74 KUNIT_EXPECT_STREQ(test, __stringify(buz), "Z"); in pick_arg_example()
83 #define foo(f) f(X) f(Y) f(Z) f(Q) in sep_comma_example()
[all …]
/linux/tools/certs/
H A Dprint-cert-tbs-hash.sh2 # SPDX-License-Identifier: GPL-2.0
8 # Compute and print the To Be Signed (TBS) hash of a certificate. This is used
10 # This output should be redirected, without newline, in a file (hash0.txt) and
11 # signed to create a PKCS#7 file (hash0.p7s). Both of these files can then be
14 # Exemple on a workstation:
15 # ./print-cert-tbs-hash.sh certificate-to-invalidate.pem > hash0.txt
16 # openssl smime -sign -in hash0.txt -inkey builtin-private-key.pem \
17 # -signer builtin-certificate.pem -certfile certificate-chain.pem \
18 # -noattr -binary -outform DER -out hash0.p7s
20 # Exemple on a managed system:
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dr300_reg.h6 * Permission is hereby granted, free of charge, to any person obtaining a
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
35 #define R300_MC_INIT_MISC_LAT_TIMER 0x180
36 # define R300_MC_MISC__MC_CPR_INIT_LAT_SHIFT 0
45 #define R300_MC_INIT_GFX_LAT_TIMER 0x154
46 # define R300_MC_MISC__MC_G3D0R_INIT_LAT_SHIFT 0
63 #define R300_SE_VPORT_XSCALE 0x1D98
64 #define R300_SE_VPORT_XOFFSET 0x1D9C
65 #define R300_SE_VPORT_YSCALE 0x1DA0
66 #define R300_SE_VPORT_YOFFSET 0x1DA4
[all …]
/linux/lib/zlib_inflate/
H A Dinflate.c1 /* inflate.c -- zlib decompression
2 * Copyright (C) 1995-2005 Mark Adler
18 /* architecture-specific bits */
22 #define INFLATE_RESET_HOOK(strm) do {} while (0)
23 #define INFLATE_TYPEDO_HOOK(strm, flush) do {} while (0)
37 if (strm == NULL || strm->state == NULL) return Z_STREAM_ERROR; in zlib_inflateReset()
38 state = (struct inflate_state *)strm->state; in zlib_inflateReset()
39 strm->total_in = strm->total_out = state->total = 0; in zlib_inflateReset()
40 strm->msg = NULL; in zlib_inflateReset()
41 strm->adler = 1; /* to support ill-conceived Java test suite */ in zlib_inflateReset()
[all …]
/linux/Documentation/arch/m68k/
H A Dbuddha-driver.rst8 ------------------------------------------------------------------------
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/drivers/nvme/target/
H A Dzns.c1 // SPDX-License-Identifier: GPL-2.0
3 * NVMe ZNS-ZBD command implementation.
12 * We set the Memory Page Size Minimum (MPSMIN) for target controller to 0
21 * Zone Append Size Limit (zasl) is expressed as a power of 2 value in nvmet_zasl()
24 return ilog2(zone_append_sects >> (NVMET_MPSMIN_SHIFT - 9)); in nvmet_zasl()
27 static int validate_conv_zones_cb(struct blk_zone *z, in validate_conv_zones_cb() argument
30 if (z->type == BLK_ZONE_TYPE_CONVENTIONAL) in validate_conv_zones_cb()
31 return -EOPNOTSUPP; in validate_conv_zones_cb()
32 return 0; in validate_conv_zones_cb()
37 u8 zasl = nvmet_zasl(bdev_max_zone_append_sectors(ns->bdev)); in nvmet_bdev_zns_enable()
[all …]

12345678910>>...19