Home
last modified time | relevance | path

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

123456

/openbmc/linux/tools/testing/selftests/net/forwarding/
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 …]
/openbmc/qemu/target/hexagon/
H A Dgen_printinsn.py4 ## Copyright(c) 2019-2024 Qualcomm Innovation Center, Inc. All Rights Reserved.
42 opswithequal_re = "[-+^&|!<>=]?="
44 assignment_re = "[-+^&|]?="
47 # assignment, spaces will be added around it, unless it's enclosed within
48 # parentheses, or spaces are already present.
62 pc -= 1
67 # match is also an assignment operator, add spaces around it if
81 if am and len(am.group(0)) == me - ms:
82 # Don't add spaces if they are already there.
83 if ms > 0 and s[ms - 1] != " ":
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dvar_funcs.py40 The print-out of the resulting var dictionary is:
249 key = re.sub(r" ", "_", key)
288 headers[0][0]: content-length
291 headers[1][0]: x-xss-protection
301 [content-length]: 559
302 [x-xss-protection]: 1; mode=block
304 Another example containing a sub-list (see process_indent description below):
313 …Note that the 2 qualifications for containing a sub-list are met: 1) 'Additional Device Support' h…
328 …process_indent This indicates that indented sub-dictionaries and sub-lists are to…
329 … processed as such. An entry may have a sub-dict or sub-list if 1) It has
[all …]
H A Dgen_misc.py86 - It will print an "Issuing: shutil.rmtree" message.
94 print_string = re.sub(
97 gp.qprintn(re.sub(r", quiet[ ]?=.*", ")", print_string))
106 - It will print an "Issuing: os.chdir" message.
213 "Programmer error - The mod_name passed to"
263 "Programmer error - The mod_name passed to"
312 # Make the property names case-sensitive.
332 … any that begin with 0 or more spaces followed by the pound sign ("#").
408 return re.sub("'", "'\\''", buffer)
421 # Spaces
[all …]
/openbmc/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 …]
/openbmc/u-boot/scripts/
H A Dkernel-doc2 # SPDX-License-Identifier: GPL-2.0
10 ## Copyright (C) 2005-2012 Randy Dunlap ##
19 # 18/01/2001 - Cleanups
22 # -- huggie@earth.li
24 # 27/06/2001 - Allowed whitespace after initial "/**" and
26 # -- Christian Kreibich <ck@whoop.org>
29 # - add perldoc documentation
30 # - Look more closely at some of the scarier bits :)
32 # 26/05/2001 - Support for separate source and object trees.
36 # 23/09/2001 - Added support for typedefs, structs, enums and unions
[all …]
H A Dcleanpatch1 #!/usr/bin/perl -w
3 # Clean a patch file -- or directory of patch files -- of stealth whitespace.
13 # Clean up space-tab sequences, either by removing spaces or
15 sub clean_space_tabs($)
29 my $ntab = ($npos >> 3) - ($pos >> 3);
54 sub strwidth($) {
83 if ($a =~ /^-/) {
84 if ($a eq '-width' || $a eq '-w') {
87 print STDERR "Usage: $name [-width #] files...\n";
98 if (! -f $f) {
[all …]
/openbmc/qemu/scripts/
H A Dkernel-doc2 # SPDX-License-Identifier: GPL-2.0-only
10 ## Copyright (C) 2005-2012 Randy Dunlap ##
19 # 18/01/2001 - Cleanups
22 # -- huggie@earth.li
24 # 27/06/2001 - Allowed whitespace after initial "/**" and
26 # -- Christian Kreibich <ck@whoop.org>
29 # - add perldoc documentation
30 # - Look more closely at some of the scarier bits :)
32 # 26/05/2001 - Support for separate source and object trees.
36 # 23/09/2001 - Added support for typedefs, structs, enums and unions
[all …]
H A Dcheckpatch.pl5 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com>
42 sub help {
49 $P [OPTION]... [GIT-REV-LIST]
54 -q, --quiet quiet
55 --no-tree run without a qemu tree
56 --no-signoff do not check for 'Signed-off-by' line
57 --patch treat FILE as patchfile
58 --branch treat args as GIT revision list
59 --emacs emacs compile window format
60 --terse one line per report
[all …]
/openbmc/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 Dkernel-doc2 # SPDX-License-Identifier: GPL-2.0
10 ## Copyright (C) 2005-2012 Randy Dunlap ##
22 kernel-doc - Print formatted kernel documentation to stdout
26 …kernel-doc [-h] [-v] [-Werror] [-Wall] [-Wreturn] [-Wshort-description] [-Wcontents-before-section…
27 [ -man |
28 -rst [-sphinx-version VERSION] [-enable-lineno] |
29 -none
32 -export |
33 -internal |
34 [-function NAME] ... |
[all …]
H A Dget_abi.pl2 # SPDX-License-Identifier: GPL-2.0
43 "enable-lineno" => \$enable_lineno,
44 "rst-source!" => \$description_is_rst,
47 "show-hints" => \$hint,
48 "search-string=s" => \$search_string,
53 pod2usage(-exitstatus => 0, -noperldoc, -verbose => 2) if $man;
70 sub parse_error($$$$) {
89 sub parse_abi {
104 $data{$nametag}->{what} = "File $name";
105 $data{$nametag}->{type} = "File";
[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 …]
/openbmc/qemu/scripts/qapi/
H A Dcommon.py5 # Copyright (c) 2013-2018 Red Hat Inc.
12 # See the COPYING file in the top-level directory.
30 def camel_to_upper(value: str) -> str:
36 ENUMName -> ENUM_NAME
37 EnumName1 -> ENUM_NAME1
38 ENUM_NAME -> ENUM_NAME
39 ENUM_NAME1 -> ENUM_NAME1
40 ENUM_Name2 -> ENUM_NAME2
41 ENUM24_Name -> ENUM24_NAME
54 if len(ret) > 2 and ret[-2].isalnum():
[all …]
/openbmc/linux/Documentation/netlink/
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
12 len-or-define:
14 pattern: ^[0-9A-Za-z_]+( - 1)?$
21 required: [ name, doc, attribute-sets, operations ]
36 uapi-header:
37 description: Path to the uAPI header, default is linux/${family-name}.h
51 description: For C-compatible languages, header which already defines this value.
[all …]
H A Dgenetlink-c.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-c.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_]+( - 1)?$
21 required: [ name, doc, attribute-sets, operations ]
35 enum: [ genetlink, genetlink-c ]
36 uapi-header:
37 description: Path to the uAPI header, default is linux/${family-name}.h
[all …]
H A Dgenetlink-legacy.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
12 len-or-define:
14 pattern: ^[0-9A-Za-z_]+( - 1)?$
21 required: [ name, doc, attribute-sets, operations ]
35 enum: [ genetlink, genetlink-c, genetlink-legacy ] # Trim
36 uapi-header:
37 description: Path to the uAPI header, default is linux/${family-name}.h
[all …]
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
12 len-or-define:
14 pattern: ^[0-9A-Za-z_]+( - 1)?$
21 required: [ name, doc, attribute-sets, operations ]
31 enum: [ netlink-raw ] # Trim
32 # Start netlink-raw
34 description: Protocol number to use for netlink-raw
[all …]
/openbmc/qemu/include/hw/i386/
H A Dintel_iommu.h2 * QEMU emulation of an Intel IOMMU (VT-d)
25 #include "hw/i386/x86-iommu.h"
26 #include "qemu/iova-tree.h"
29 #define TYPE_INTEL_IOMMU_DEVICE "intel-iommu"
32 #define TYPE_INTEL_IOMMU_MEMORY_REGION "intel-iommu-iommu-memory-region"
49 #define VTD_HAW_MASK(aw) ((1ULL << (aw)) - 1)
66 /* Context-Entry */
136 * registered drivers (e.g. vfio-pci) on either:
139 * VFIO_IOMMU_MAP_DMA, -EEXIST will trigger), or,
143 * That accuracy is not required for UNMAP-only notifiers, but it is a
[all …]
/openbmc/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 …]
/openbmc/linux/drivers/crypto/vmx/
H A Dppc-xlate.pl2 # SPDX-License-Identifier: GPL-2.0
12 my $elfv2abi=(($flavour =~ /linux-ppc64le/) or ($flavour =~ /linux-ppc64-elfv2/))?1:0;
18 my $globl = sub {
43 my $text = sub {
48 my $machine = sub {
53 $arch = ($flavour=~/64/) ? "ppc970-64" : "ppc970" if ($arch eq "any");
57 my $size = sub {
61 my $ret = ".size $name,.-".($dotfunctions?".":"").$name;
62 $ret .= "\n.size .$name,.-.$name" if ($dotfunctions);
68 my $asciz = sub {
[all …]
/openbmc/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 …]
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_kms.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
27 #define DRMID(x) ((x) ? (x)->base.id : -1)
30 * DPU_DEBUG - macro for kms/plane/crtc/encoder/connector logs
37 * DPU_DEBUG_DRIVER - macro for hardware driver logging
47 * ktime_compare_safe - compare two ktime structures
52 * Returns: -1 if A < B, 0 if A == B, 1 if A > B
63 /* io/register spaces: */
96 * release bandwidth. Each atomic update increments, and frame-
125 uint32_t pingpong_to_enc_id[PINGPONG_MAX - PINGPONG_0];
[all …]
/openbmc/linux/Documentation/admin-guide/
H A Dkernel-parameters.rst3 The kernel's command-line parameters
12 The kernel parses parameters from the kernel command line up to "``--``";
16 Everything after "``--``" is passed as an argument to init.
32 log_buf_len=1M print-fatal-signals=1
36 log-buf-len=1M print_fatal_signals=1
38 Double-quotes can be used to protect spaces in values, e.g.::
40 param="spaces in here"
43 ----------
52 <cpu number>-<cpu number>
57 <cpu number>,...,<cpu number>-<cpu number>
[all …]
/openbmc/openbmc-test-automation/
H A DCONTRIBUTING.md4 work-in-progress, feel free to propose changes.
8 - Reference
9 …ithub.com/openbmc/docs/blob/master/CONTRIBUTING.md#submitting-changes-via-gerrit-server-to-openbmc)
10 - Reference
11 …](https://github.com/openbmc/docs/blob/master/CONTRIBUTING.md#submitting-changes-via-gerrit-server)
15 - Reference
16 …t Messages](https://github.com/openbmc/docs/blob/master/CONTRIBUTING.md#formatting-commit-messages)
20 - [Redfish Coding Guidelines](docs/redfish_coding_guidelines.md)
24 - For this project, we will write Robot keyword definitions in either Robot or
30- [Quit Writing Ugly Robot Code](https://esalagea.wordpress.com/2014/11/24/robot-framework-quit-wr…
[all …]

123456