/linux/scripts/ |
H A D | markup_oops.pl | 2 # SPDX-License-Identifier: GPL-2.0-only 22 'cross-compile|c=s' => \$cross_compile, 28 my $kerver = `uname -r`; 49 if ($line =~ /EAX: ([0-9a-f]+) EBX: ([0-9a-f]+) ECX: ([0-9a-f]+) EDX: ([0-9a-f]+)/) { 50 $regs{"%eax"} = $1; 55 if ($line =~ /ESI: ([0-9a-f]+) EDI: ([0-9a-f]+) EBP: ([0-9a-f]+) ESP: ([0-9a-f]+)/) { 56 $regs{"%esi"} = $1; 60 if ($line =~ /RAX: ([0-9a-f]+) RBX: ([0-9a-f]+) RCX: ([0-9a-f]+)/) { 61 $regs{"%eax"} = $1; 65 if ($line =~ /RDX: ([0-9a-f]+) RSI: ([0-9a-f]+) RDI: ([0-9a-f]+)/) { [all …]
|
H A D | recordmcount.pl | 2 # SPDX-License-Identifier: GPL-2.0-only 5 # recordmcount.pl - makes a section called __mcount_loc that holds 9 # What we want to end up with this is that each object file will have a 22 # functions in a section that has a call site to mcount, will have the 30 # The trick is to change the call offset referring the start of a section to 31 # referring a function symbol in this section. During the link step, 'ld' will 54 # offset from .sched.text. If we choose global symbol func2 as a reference and 58 # .quad func2 - 0x10 66 # in this section. In such a case we have to select a local one. E.g. func1: 83 # an undefined reference to func1 or a wrong reference to another global [all …]
|
H A D | cleanpatch | 2 # SPDX-License-Identifier: GPL-2.0 4 # Clean a patch file -- or directory of patch files -- of stealth whitespace. 5 # WARNING: this can be a highly destructive operation. Use with caution. 15 # Clean up space-tab sequences, either by removing spaces or 28 $c = substr($li, $i, 1); 31 my $ntab = ($npos >> 3) - ($pos >> 3); 55 # Compute the visual width of a string 65 $c = substr($li,$i,1); 84 while (defined($a = shift(@ARGV))) { 85 if ($a =~ /^-/) { [all …]
|
/linux/arch/powerpc/crypto/ |
H A D | aes-tab-4k.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 10 * crypto/aes_generic.c and are designed to be simply accessed by a combination 11 * of rlwimi/lwz instructions with a minimum of table registers (usually only 16 * For the safety-conscious it has to be noted that they might be vulnerable 19 * This is a quite good tradeoff for low power devices (e.g. routers) without 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 */ 36 .long R(de, 6f, 6f, b1), R(91, c5, c5, 54) 40 .long R(4d, ab, ab, e6), R(ec, 76, 76, 9a) [all …]
|
H A D | md5-asm.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 #include <asm/asm-offsets.h> 9 #include <asm/asm-compat.h> 40 PPC_STLU r1,-INT_FRAME_SIZE(r1); \ 61 #define R_00_15(a, b, c, d, w0, w1, p, q, off, k0h, k0l, k1h, k1l) \ argument 63 and rT0,b,c; /* 1: f = b and c */ \ 65 andc rT1,d,b; /* 1: f' = ~b and d */ \ 67 or rT0,rT0,rT1; /* 1: f = f or f' */ \ 68 addi w0,w0,k0l; /* 1: wk = w + k */ \ 69 add a,a,rT0; /* 1: a = a + f */ \ [all …]
|
/linux/arch/csky/lib/ |
H A D | usercopy.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. 13 "0: cmpnei %1, 0 \n" in raw_copy_from_user() 14 " bf 7f \n" in raw_copy_from_user() 15 " mov %3, %1 \n" in raw_copy_from_user() 19 " bf 1f \n" in raw_copy_from_user() 20 " br 5f \n" in raw_copy_from_user() 21 "1: cmplti %0, 16 \n" in raw_copy_from_user() 22 " bt 3f \n" in raw_copy_from_user() 25 " stw %3, (%1, 0) \n" in raw_copy_from_user() [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | qcom,spmi-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm SPMI PMICs multi-function device 13 16-bit SPMI peripheral address space into 256 smaller fixed-size regions, 256 bytes 14 each. A function can consume one or more of these fixed-size register regions. 17 PMICs. These PMICs use a "QPNP" scheme through SPMI interface. 18 QPNP is effectively a partitioning scheme for dividing the SPMI extended 24 - Stephen Boyd <sboyd@kernel.org> [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | nvidia,tegra210-ahub.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-ahub.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The Audio Hub (AHUB) comprises a collection of hardware accelerators 11 for audio pre-processing, post-processing and a programmable full 17 - Jon Hunter <jonathanh@nvidia.com> 18 - Sameer Pujar <spujar@nvidia.com> 22 pattern: "^ahub@[0-9a-f]*$" 26 - enum: [all …]
|
/linux/arch/m68k/math-emu/ |
H A D | fp_util.S | 9 * 1. Redistributions of source code must retain the above copyright 22 * necessary due to a potential bad interaction between the GPL and 23 * the restrictions contained in a BSD-style copyright.) 27 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 63 tst.l (TASK_MM-8,%a2) 64 jmi 1f 65 tst.l (TASK_MM-4,%a2) 66 jmi 1f 68 jpl 2f 69 1: printf ,"oops:%p,%p,%p\n",3,%a2@(TASK_MM-8),%a2@(TASK_MM-4),%a2@(TASK_MM) [all …]
|
/linux/arch/mips/kernel/ |
H A D | mips-r2-to-r6-emul.c | 28 #include <asm/mips-r2-to-r6-emul.h> 63 mipsr2_emulation = 1; in mipsr2emu_enable() 65 pr_info("MIPS R2-to-R6 Emulator Enabled!"); in mipsr2emu_enable() 67 return 1; in mipsr2emu_enable() 72 * mipsr6_emul - Emulate some frequent R2/R5/R6 instructions in delay slot 73 * for performance instead of the traditional way of using a stack trampoline 83 regs->regs[MIPSInst_RT(ir)] = in mipsr6_emul() 84 (s32)regs->regs[MIPSInst_RS(ir)] + in mipsr6_emul() 92 regs->regs[MIPSInst_RT(ir)] = in mipsr6_emul() 93 (s64)regs->regs[MIPSInst_RS(ir)] + in mipsr6_emul() [all …]
|
/linux/Documentation/devicetree/bindings/usb/ |
H A D | usb-device.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/usb-device.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Greg Kroah-Hartman <gregkh@linuxfoundation.org> 15 http://www.devicetree.org/open-firmware/bindings/usb/usb-1_0.ps 17 Four types of device-tree nodes are defined: "host-controller nodes" 22 A combined node shall be used instead of a device node and an interface node 23 for devices of class 0 or 9 (hub) with a single configuration and a single 26 A "hub node" is a combined node or an interface node that represents a USB [all …]
|
/linux/Documentation/devicetree/bindings/display/msm/ |
H A D | qcom,mdss.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org> 11 - Rob Clark <robdclark@gmail.com> 15 encapsulates sub-blocks like MDP5, DSI, HDMI, eDP, etc. 19 pattern: "^display-subsystem@[0-9a-f]+$" 23 - qcom,mdss 29 reg-names: 32 - const: mdss_phys [all …]
|
/linux/arch/powerpc/kernel/vdso/ |
H A D | sigtramp32.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Signal trampolines for 32 bits processes in a ppc64 kernel for 16 /* The nop here is a hack. The dwarf2 unwind routines subtract 1 from 18 call instruction. Since we don't have a call here, we artificially 19 extend the range covered by the unwind info by adding a nop before 23 .Lsig_start = . - 4 37 .section .eh_frame,"a",@progbits 39 /* Register r1 can be found at offset 4 of a pt_regs structure. 40 A pointer to the pt_regs is stored in memory at the old sp plus PTREGS. */ 43 .uleb128 9f - 1f; /* length */ \ [all …]
|
H A D | sigtramp64.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Signal trampoline for 64 bits processes in a ppc64 kernel for 39 chosen in such a way that older libgcc unwind code returns a zero 40 for a sigcontext pointer. */ 42 .quad 0,-21*8 44 /* Register r1 can be found at offset 8 of a pt_regs structure. 45 A pointer to the pt_regs is stored in memory at the old sp plus PTREGS. */ 48 .uleb128 9f - 1f; /* length */ \ 49 1: \ 54 9: [all …]
|
/linux/arch/powerpc/lib/ |
H A D | copy_32.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Memory copy functions for 32-bit PowerPC. 5 * Copyright (C) 1996-2005 Paul Mackerras. 12 #include <asm/code-patching-asm.h> 28 8 ## n ## 1: \ 44 9 ## n ## 0: \ 45 addi r5,r5,-(16 * n); \ 46 b 104f; \ 47 9 ## n ## 1: \ 48 addi r5,r5,-(16 * n); \ [all …]
|
/linux/Documentation/devicetree/bindings/soundwire/ |
H A D | soundwire-controller.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soundwire/soundwire-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 11 - Vinod Koul <vkoul@kernel.org> 14 SoundWire busses can be described with a node for the SoundWire controller 15 device and a set of child nodes for each SoundWire slave on the bus. 21 "#address-cells": 24 "#size-cells": [all …]
|
/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp13-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2021 - All Rights Reserved 6 #include <dt-bindings/pinctrl/stm32-pinfunc.h> 9 /omit-if-no-ref/ 10 adc1_pins_a: adc1-pins-0 { 12 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; /* ADC1 in12 */ 16 /omit-if-no-ref/ 17 adc1_usb_cc_pins_a: adc1-usb-cc-pins-0 { 19 pinmux = <STM32_PINMUX('F', 12, ANALOG)>, /* ADC1 in6 */ 20 <STM32_PINMUX('A', 3, ANALOG)>; /* ADC1 in12 */ [all …]
|
/linux/tools/testing/selftests/ftrace/test.d/trigger/ |
H A D | trigger-hist.tc | 2 # SPDX-License-Identifier: GPL-2.0 3 # description: event trigger - test histogram trigger 8 echo $1 15 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done 26 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done 35 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done 45 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done 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 [all …]
|
/linux/arch/sh/lib/ |
H A D | memmove.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 bf 1f 20 mov.l 2f,r0 25 1: 28 bt/s 9f ! if n=0, do nothing 33 bt/s 8f ! if it's too small, copy a byte at once 34 add #-1,r4 35 add #1,r4 40 ! r0+r4--> [ ... ] r0 --> [ ... ] 43 ! r5 --> [all …]
|
/linux/net/netfilter/ |
H A D | nft_set_pipapo_avx2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2019-2020 Red Hat GmbH 29 /* Load from memory into YMM register with non-temporal hint ("stream load"), 33 * - loading buckets from lookup tables, as they are not going to be used 36 * - loading the result bitmap from the previous field, as it's never used 42 /* Stream a single lookup table bucket into YMM register given lookup table, 55 #define NFT_PIPAPO_AVX2_AND(dst, a, b) \ argument 56 asm volatile("vpand %ymm" #a ", %ymm" #b ", %ymm" #dst) 70 /* Zero out a complete YMM register, @reg */ 75 * nft_pipapo_avx2_prepare() - Prepare before main algorithm body [all …]
|
/linux/crypto/ |
H A D | sm3.c | 1 /* 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> 35 * Transform the message X which consists of 16 32-bit-words. See 36 * GM/T 004-2012 for details. 38 #define R(i, a, b, c, d, e, f, g, h, t, w1, w2) \ argument 40 ss1 = rol32((rol32((a), 12) + (e) + (t)), 7); \ 41 ss2 = ss1 ^ rol32((a), 12); \ 42 d += FF ## i(a, b, c) + ss2 + ((w1) ^ (w2)); \ [all …]
|
/linux/Documentation/devicetree/bindings/leds/ |
H A D | awinic,aw200xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Martin Kurbanov <mmkurbanov@sberdevices.ru> 13 It is a matrix LED driver programmed via an I2C interface. Devices have 14 a set of individually controlled leds and support 3 pattern controllers 16 - AW20036 (3x12) 36 LEDs 17 - AW20054 (6x9) 54 LEDs 18 - AW20072 (6x12) 72 LEDs 19 - AW20108 (9x12) 108 LEDs [all …]
|
/linux/Documentation/devicetree/bindings/slimbus/ |
H A D | slimbus.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 13 SLIMbus is a 2-wire bus, and is used to communicate with peripheral 14 components like audio-codec. 18 pattern: "^slim(@.*|-([0-9]|[1-9][0-9]+))?$" 20 "#address-cells": 23 "#size-cells": 27 "^.*@[0-9a-f]+,[0-9a-f]+$": [all …]
|
/linux/arch/x86/tools/ |
H A D | objdump_reformat.awk | 1 #!/bin/awk -f 2 # SPDX-License-Identifier: GPL-2.0 3 # Usage: objdump -d a.out | awk -f objdump_reformat.awk | ./insn_decoder_test 5 # - Removes all lines except the disassembled instructions. 6 # - For instructions that exceed 1 line (7 bytes), crams all the hex bytes 7 # into a single line. 8 # - Remove bad(or prefix only) instructions 15 fwait_expr = "^9b[ \t]*fwait" 16 fwait_str="9b\tfwait" 19 /^ *[0-9a-f]+ <[^>]*>:/ { [all …]
|
/linux/tools/perf/pmu-events/arch/x86/ |
H A D | mapfile.csv | 1 Family-model,Version,Filename,EventType 2 GenuineIntel-6-(97|9A|B7|BA|BF),v1.27,alderlake,core 3 GenuineIntel-6-BE,v1.27,alderlaken,core 4 GenuineIntel-6-(1C|26|27|35|36),v5,bonnell,core 5 GenuineIntel-6-(3D|47),v29,broadwell,core 6 GenuineIntel-6-56,v11,broadwellde,core 7 GenuineIntel-6-4F,v22,broadwellx,core 8 GenuineIntel-6-55-[56789ABCDEF],v1.22,cascadelakex,core 9 GenuineIntel-6-9[6C],v1.05,elkhartlake,core 10 GenuineIntel-6-CF,v1.09,emeraldrapids,core [all …]
|