Home
last modified time | relevance | path

Searched +full:sub +full:- +full:spaces (Results 1 – 25 of 60) sorted by relevance

123

/linux/tools/testing/selftests/drivers/net/hw/
H A Dethtool_lib.sh2 # 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/Documentation/devicetree/bindings/remoteproc/
H A Dti,omap-remoteproc.yaml1 # 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 Dti,k3-r5f-rproc.yaml1 # 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 Dcleanfile2 # 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 Dcleanpatch2 # 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 Dcheckpatch.pl2 # 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 DMakefile.build1 # 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 Dnetlink-raw.yaml1 # 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 Dgenetlink.yaml1 # 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/tools/lib/python/kdoc/
H A Dkdoc_parser.py2 # 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), ' '),
115 # - a recursive pattern: (?1)
116 # - an atomic grouping: (?>...)
147 re.S), r'unsigned long \1[1 << ((\2) - 1)]'),
202 text = search.sub(subst, text)
[all …]
H A Dparse_data_structs.py2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2016-2025 by Mauro Carvalho Chehab <mchehab@kernel.org>.
13 enums and enum symbols and create cross-references for all of them.
31 Creates an enriched version of a Kernel header file with cross-links
35 uAPI headers will create cross-reference links to the code.
38 enums and enum symbols and create cross-references for all of them.
58 - A simple symbol name;
59 - A full Sphinx reference.
65 Sets C namespace to be used during cross-reference generation. Can
69 - ioctl: for defines that end with _IO*, e.g. ioctl definitions
[all …]
H A Dkdoc_output.py2 # 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-exported symbols
114 Apply the RST highlights to a sub-block of text.
117 for r, sub in self.highlights:
[all …]
/linux/tools/lib/python/abi/
H A Dabi_parser.py4 # SPDX-License-Identifier: GPL-2.0
59 self.re_what = re.compile(r"(\/?(?:[\w\-]+\/?){1,2})")
60 self.re_escape = re.compile(r"([\.\x01-\x08\x0e-\x1f\x21-\x2f\x3a-\x40\x7b-\xff])")
61 self.re_unprintable = re.compile(r"([\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xff]+)")
62 self.re_title_mark = re.compile(r"\n[\-\*\=\^\~]+\n")
64 self.re_abi = re.compile(r"(Documentation/ABI/)([\w\/\-]+)")
145 fdata.key = self.re_unprintable.sub("_", key).strip("_")
155 char += ord("a") - ord("Z") - 1
210 # Preserve initial spaces for the first line
226 if self.re_whitespace.sub("", content) == "":
[all …]
H A Dabi_regex.py4 # SPDX-License-Identifier: GPL-2.0
22 escape_symbols = r"([\x21-\x29\x2b-\x2d\x3a-\x40\x5c\x60\x7b-\x7e])"
33 # Temporarily change [0-9]+ type of patterns
34 (re.compile(r"\[0\-9\]\+"), "\xff"),
36 # Temporarily change [\d+-\d+] type of patterns
37 (re.compile(r"\[0\-\d+\]"), "\xff"),
41 # Temporarily change [0-9] type of patterns
42 (re.compile(r"\[(\d)\-(\d)\]"), "\xf4\1-\2\xf5"),
56 (re.compile(r"([^A-Z])[XYZ]([^A-Z])"), "\\1\\\\w\xf7\\2"),
57 (re.compile(r"([^A-Z])[XYZ]$"), "\\1\\\\w\xf7"),
[all …]
/linux/Documentation/devicetree/bindings/pci/
H A Dsnps,dw-pcie-common.yaml1 # 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 Dppc-xlate.pl2 # 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 Dperf-archive.sh2 # 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 Dcompiler.h1 /* 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 Duaccess.h1 /* 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/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_kms.c1 // 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 Dperf-report.txt1 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 Dkunit_parser.py1 # 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/Documentation/edac/
H A Dscrub.rst1 .. 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/tools/testing/ktest/
H A Dktest.pl1 #!/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/drivers/md/dm-vdo/
H A Dfunnel-workqueue.c1 // 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 …]

123