/linux/tools/testing/selftests/drivers/net/hw/ |
H A D | ethtool_lib.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 {sub(/,$/, "") \ 8 sub(/ETHTOOL_LINK_MODE_/,"") \ 9 sub(/_BIT/,"") \ 10 sub(/_Full/,"/Full") \ 11 sub(/_Half/,"/Half");\ 20 local out=$(ethtool -s $cmd 2>&1 | wc -l) 29 local -a linkmodes_params 39 local -a dev_linkmodes=($(dev_speeds_get $dev 1 $adver)) 41 linkmodes_params[$i]=$(echo -e "${dev_linkmodes[$i]}" | \ [all …]
|
/linux/scripts/lib/kdoc/ |
H A D | kdoc_parser.py | 2 # SPDX-License-Identifier: GPL-2.0 23 # Regular expressions used to parse kernel-doc markups at KernelDoc class. 43 # @{section-name}: 61 type_param = KernRe(r"@(\w*((\.\w+)|(->\w+))*(\.\.\.)?)", cache=False) 72 r'(?:[-:].*)?$', # description (not captured) 83 (KernRe(r"__attribute__\s*\(\([a-z0-9,_\*\s\(\)]*\)\)", flags=re.I | re.S, cache=False), ' '), 113 # - [all...] |
H A D | kdoc_output.py | 2 # SPDX-License-Identifier: GPL-2.0 8 Implement output filters to print kernel-doc documentation. 30 type_constant2 = KernRe(r"\%([-_*\w]+)", cache=False) 32 type_param_ref = KernRe(r"([\!~\*]?)\@(\w*((\.\w+)|(->\w+))*(\.\.\.)?)", cache=False) 38 type_fp_param2 = KernRe(r"\@(\w+->\S+)\(\)", cache=False) 45 type_member = KernRe(r"\&([_\w]+)(\.|->)([_\w]+)", cache=False) 52 Base class for OutputFormat. If used as-is, it means that only 60 OUTPUT_INTERNAL = 3 # output non-exporte [all...] |
/linux/Documentation/devicetree/bindings/remoteproc/ |
H A D | ti,omap-remoteproc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/ti,omap-remoteproc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Suman Anna <s-anna@ti.com> 13 The OMAP family of SoCs usually have one or more slave processor sub-systems 14 that are used to offload some of the processor-intensive tasks, or to manage 17 The processor cores in the sub-system are usually behind an IOMMU, and may 18 contain additional sub-modules like Internal RAM and/or ROMs, L1 and/or L2 21 The OMAP SoCs usually have a DSP processor sub-system and/or an IPU processor [all …]
|
H A D | ti,k3-r5f-rproc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/ti,k3-r5f-rproc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Suman Anna <s-anna@ti.com> 13 The TI K3 family of SoCs usually have one or more dual-core Arm Cortex R5F 20 AM64x SoCs do not support LockStep mode, but rather a new non-safety mode 21 called "Single-CPU" mode, where only Core0 is used, but with ability to use 27 Each Dual-Core R5F sub-system is represented as a single DTS node 40 - ti,am62-r5fss [all …]
|
/linux/scripts/ |
H A D | kernel-doc.pl | 2 # SPDX-License-Identifier: GPL-2.0 11 ## Copyright (C) 2005-2012 Randy Dunlap ## 23 kernel-doc - Print formatted kernel documentation to stdout 27 …kernel-doc [-h] [-v] [-Werror] [-Wall] [-Wreturn] [-Wshort-desc[ription]] [-Wcontents-before-secti… 28 [ -man | 29 -rst [-enable-lineno] | 30 -none 33 -export | 34 -internal | 35 [-function NAME] ... | [all …]
|
H A D | cleanfile | 2 # SPDX-License-Identifier: GPL-2.0 4 # Clean a text file -- or directory of text files -- of stealth whitespace. 15 # Clean up space-tab sequences, either by removing spaces or 17 sub clean_space_tabs($) 31 my $ntab = ($npos >> 3) - ($pos >> 3); 56 sub strwidth($) { 85 if ($a =~ /^-/) { 86 if ($a eq '-width' || $a eq '-w') { 89 print STDERR "Usage: $name [-width #] files...\n"; 100 if (! -f $f) { [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. 15 # Clean up space-tab sequences, either by removing spaces or 17 sub clean_space_tabs($) 31 my $ntab = ($npos >> 3) - ($pos >> 3); 56 sub strwidth($) { 85 if ($a =~ /^-/) { 86 if ($a eq '-width' || $a eq '-w') { 89 print STDERR "Usage: $name [-width #] files...\n"; 100 if (! -f $f) { [all …]
|
H A D | checkpatch.pl | 2 # SPDX-License-Identifier: GPL-2.0 7 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com> 8 # (c) 2010-2018 Joe Perches <joe@perches.com> 69 my $docsfile = "$D/../Documentation/dev-tools/checkpatch.rst"; 72 my $allow_c99_comments = 1; # Can be overridden by --ignore C99_COMMENT_TOLERANCE 74 my $git_command ='export LANGUAGE=en_US.UTF-8; git'; 80 sub help { 88 -q, --quiet quiet 89 -v, --verbose verbose mode 90 --no-tree run without a kernel tree [all …]
|
H A D | Makefile.build | 1 # SPDX-License-Identifier: GPL-2.0 14 obj-y := 15 obj-m := 16 lib-y := 17 lib-m := 18 always-y := 19 always-m := 21 subdir-y := 22 subdir-m := 23 asflags-y := [all …]
|
/linux/Documentation/netlink/ |
H A D | netlink-raw.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml# 5 $schema: https://json-schema.org/draft-07/schema 11 pattern: ^[0-9a-z-]+$ 12 name-cap: 14 pattern: ^[0-9a-zA-Z-]+$ 18 len-or-define: 20 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 27 required: [ name, doc, attribute-sets, operations ] [all …]
|
H A D | genetlink.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml# 5 $schema: https://json-schema.org/draft-07/schema 11 pattern: ^[0-9a-z-]+$ 15 len-or-define: 17 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 19 len-or-limit: 20 # literal int, const name, or limit based on fixed-width type 21 # e.g. u8-min, u16-max, etc. [all …]
|
/linux/Documentation/devicetree/bindings/pci/ |
H A D | snps,dw-pcie-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/snps,dw-pcie-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jingoo Han <jingoohan1@gmail.com> 11 - Gustavo Pimentel <gustavo.pimentel@synopsys.com> 23 Interface - DBI. In accordance with the reference manual the register 24 configuration space belongs to the Configuration-Dependent Module (CDM) 25 and is split up into several sub-parts Standard PCIe configuration 26 space, Port Logic Registers (PL), Shadow Config-space Registers, [all …]
|
/linux/arch/powerpc/crypto/ |
H A D | ppc-xlate.pl | 2 # SPDX-License-Identifier: GPL-2.0 16 my $globl = sub { 41 my $text = sub { 46 my $machine = sub { 51 $arch = ($flavour=~/64/) ? "ppc970-64" : "ppc970" if ($arch eq "any"); 55 my $size = sub { 59 my $ret = ".size $name,.-".($flavour=~/64$/?".":"").$name; 60 $ret .= "\n.size .$name,.-.$name" if ($flavour=~/64$/); 66 my $asciz = sub { 74 my $quad = sub { [all …]
|
/linux/tools/perf/ |
H A D | perf-archive.sh | 2 # SPDX-License-Identifier: GPL-2.0 12 while [ $# -gt 0 ] ; do 13 if [ $1 == "--all" ]; then 16 elif [ $1 == "--unpack" ]; then 19 elif [ $1 == "--exclude-buildids" ]; then 21 if [ ! -e "$EXCLUDE_BUILDIDS" ]; then 22 echo "Provided exclude-buildids file $EXCLUDE_BUILDIDS does not exist" 33 if [ $UNPACK -eq 1 ]; then 34 if [ ! -z "$UNPACK_TAR" ]; then # tar given as an argument 35 if [ ! -e "$UNPACK_TAR" ]; then [all …]
|
/linux/lib/zstd/common/ |
H A D | compiler.h | 1 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ 6 * This source code is licensed under both the BSD-style license (found in the 9 * You may select, at your option, one of the above-listed licenses. 19 /*-******************************************************* 61 * gcc-4.8 and gcc-4.9 have been shown to benefit from leaving off the 125 * older GCC (pre gcc-4.3 picked as the cutoff) uses a different syntax, 129 # define DONT_VECTORIZE __attribute__((optimize("no-tree-vectorize"))) 131 # define DONT_VECTORIZE _Pragma("GCC optimize(\"no-tree-vectorize\")") 155 /* C-language Attributes are added in C23. */ 168 * - C23: https://en.cppreference.com/w/c/language/attributes/fallthrough [all …]
|
/linux/arch/m68k/include/asm/ |
H A D | uaccess.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #include <asm-generic/access_ok.h> 16 * Not all varients of the 68k family support the notion of address spaces. 70 : "r" (x), "i" (-EFAULT) \ 75 * These are the main single-value transfer routines. They automatically 86 __put_user_asm(MOVES, __pu_err, __pu_val, ptr, b, d, -EFAULT); \ 89 __put_user_asm(MOVES, __pu_err, __pu_val, ptr, w, r, -EFAULT); \ 92 __put_user_asm(MOVES, __pu_err, __pu_val, ptr, l, r, -EFAULT); \ 113 " sub.l %1,%1\n" \ 141 " sub.l %1,%1\n" \ [all …]
|
/linux/sound/firewire/dice/ |
H A D | dice-transaction.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * dice_transaction.c - a part of driver for Dice based devices 16 offset += dice->tx_offset; in get_subaddr() 19 offset += dice->rx_offset; in get_subaddr() 22 offset += dice->sync_offset; in get_subaddr() 25 offset += dice->rsrv_offset; in get_subaddr() 29 offset += dice->global_offse in get_subaddr() [all...] |
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_kms.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2014-2018, The Linux Foundation. All rights reserved. 5 * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. 13 #include <linux/dma-buf.h> 66 struct dpu_kms *kms = s->private; in _dpu_danger_signal_status() 69 if (!kms->hw_mdp) { in _dpu_danger_signal_status() 76 pm_runtime_get_sync(&kms->pdev->dev); in _dpu_danger_signal_status() 79 if (kms->hw_mdp->ops.get_danger_status) in _dpu_danger_signal_status() 80 kms->hw_mdp->ops.get_danger_status(kms->hw_mdp, in _dpu_danger_signal_status() 84 if (kms->hw_mdp->ops.get_safe_status) in _dpu_danger_signal_status() [all …]
|
/linux/tools/perf/Documentation/ |
H A D | perf-report.txt | 1 perf-report(1) 5 ---- 6 perf-report - Read perf.data (created by perf record) and display the profile 9 -------- 11 'perf report' [-i <file> | --input=file] 14 ----------- 19 ------- 20 -i:: 21 --input=:: 24 -v:: [all …]
|
/linux/tools/testing/kunit/ |
H A D | kunit_parser.py | 1 # SPDX-License-Identifier: GPL-2.0 4 # results with reader-friendly format. Stores and returns test results in a 29 status : TestStatus - status of the test 30 name : str - name of the test 31 expected_count : int - expected number of subtests (0 if single 33 subtests : List[Test] - list of subtests 34 log : List[str] - log of KTAP lines that correspond to the test 35 counts : TestCounts - count [all...] |
/linux/tools/testing/ktest/ |
H A D | ktest.pl | 1 #!/usr/bin/perl -w 2 # SPDX-License-Identifier: GPL-2.0-only 4 # Copyright 2010 - Steven Rostedt <srostedt@redhat.com>, Red Hat Inc. 69 "GRUB_REBOOT" => "grub2-reboot", 70 "GRUB_BLS_GET" => "grubby --info=ALL", 78 "LOCALVERSION" => "-test", 81 "TARGET_IMAGE" => "/boot/vmlinuz-test", 426 i.e. -j20 437 …POWER_CYCLE = wget --no-proxy -O /dev/null -q --auth-no-challenge 'http://admin:admin\@power/outl… 448 CONSOLE = nc -d localhost 3001 [all …]
|
/linux/Documentation/edac/ |
H A D | scrub.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.2-no-invariants-or-later 7 Copyright (c) 2024-2025 HiSilicon Limited. 11 Invariant Sections, Front-Cover Texts nor Back-Cover Texts. 14 - Written for: 6.15 17 ------------ 24 Memory scrubbing is a feature where an ECC (Error-Correcting Code) engine 49 2. On-demand scrubbing for a specific address range or region of memory. 65 ----------------------------------------- 70 and software-based memory scrubbers. 74 on-demand scrubbing (e.g., ACPI RAS2, ACPI ARS). However, the scrub control [all …]
|
/linux/mm/ |
H A D | sparse.c | 1 // SPDX-License-Identifier: GPL-2.0 24 * 1) mem_section - memory sections, mem_map's for valid memory 88 * An existing section is possible in the sub-section hotplug in sparse_index_init() 89 * case. First hot-add instantiates, follow-on hot-add reuses in sparse_index_init() 99 return -ENOMEM; in sparse_index_init() 125 return (section->section_mem_map >> SECTION_NID_SHIFT); in sparse_early_nid() 135 * Sanity checks - do not allow an architecture to pass in mminit_validate_memmodel_limits() 140 "Start of range %lu -> %lu exceeds SPARSEMEM max %lu\n", in mminit_validate_memmodel_limits() 147 "End of range %lu -> %lu exceeds SPARSEMEM max %lu\n", in mminit_validate_memmodel_limits() 157 * large physical address spaces, NR_MEM_SECTIONS can also be [all …]
|
/linux/drivers/md/dm-vdo/ |
H A D | funnel-workqueue.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "funnel-workqueue.h" 15 #include "funnel-queue.h" 17 #include "memory-alloc.h" 20 #include "string-utils.h" 23 #include "status-codes.h" 30 * There are two types of work queues: simple, with one worker thread, and round-robin, which uses 31 * a group of the former to do the work, and assigns work to them in round-robin fashion (roughly). 32 * Externally, both are represented via the same common sub-structure, though there's actually not 51 * caching -- and if the max priority is 2, just fit in one x86-64 cache line if aligned. [all …]
|