/openbmc/qemu/block/ |
H A D | crypto.h | 4 * Copyright (c) 2015-2017 Red Hat, Inc. 24 #define BLOCK_CRYPTO_OPT_DEF_KEY_SECRET(prefix, helpstr) \ argument 26 .name = prefix BLOCK_CRYPTO_OPT_QCOW_KEY_SECRET, \ 31 #define BLOCK_CRYPTO_OPT_QCOW_KEY_SECRET "key-secret" 33 #define BLOCK_CRYPTO_OPT_DEF_QCOW_KEY_SECRET(prefix) \ argument 34 BLOCK_CRYPTO_OPT_DEF_KEY_SECRET(prefix, \ 37 #define BLOCK_CRYPTO_OPT_LUKS_KEY_SECRET "key-secret" 38 #define BLOCK_CRYPTO_OPT_LUKS_CIPHER_ALG "cipher-alg" 39 #define BLOCK_CRYPTO_OPT_LUKS_CIPHER_MODE "cipher-mode" 40 #define BLOCK_CRYPTO_OPT_LUKS_IVGEN_ALG "ivgen-alg" [all …]
|
/openbmc/qemu/scripts/ |
H A D | mtest2make.py | 20 return [base if speed == 'quick' else f'{base}-{speed}' for speed in self.speeds] 26 .speed.quick = $(foreach s,$(sort $(filter-out %-slow %-thorough, $1)), --suite $s) 27 .speed.slow = $(foreach s,$(sort $(filter-out %-thorough, $1)), --suite $s) 28 .speed.thorough = $(foreach s,$(sort $1), --suite $s) 31 .mtestargs = --no-rebuild -t $(TIMEOUT_MULTIPLIER) 33 .mtestargs += --setup $(SPEED) 35 .mtestargs += $(subst -j,--num-processes , $(filter-out -j, $(lastword -j1 $(filter -j%, $(MAKEFLAG… 37 .check.mtestargs = $(MTESTARGS) $(.mtestargs) $(if $(V),--verbose,--print-errorlogs) 38 .bench.mtestargs = $(MTESTARGS) $(.mtestargs) --benchmark --verbose''') 55 # The suite name in the introspection info is "PROJECT" or "PROJECT:SUITE" [all …]
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | f_mass_storage.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 21 #define _FSG_MODULE_PARAM_ARRAY(prefix, params, name, type, desc) \ argument 22 module_param_array_named(prefix ## name, params.name, type, \ 23 &prefix ## params.name ## _count, \ 25 MODULE_PARM_DESC(prefix ## name, desc) 27 #define _FSG_MODULE_PARAM(prefix, params, name, type, desc) \ argument 28 module_param_named(prefix ## name, params.name, type, \ 30 MODULE_PARM_DESC(prefix ## name, desc) 32 #define __FSG_MODULE_PARAMETERS(prefix, params) \ argument 33 _FSG_MODULE_PARAM_ARRAY(prefix, params, file, charp, \ [all …]
|
/openbmc/linux/include/linux/ |
H A D | btf_ids.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 51 #define __ID(prefix) \ argument 52 __PASTE(__PASTE(prefix, __COUNTER__), __LINE__) 58 #define BTF_ID(prefix, name) \ argument 59 __BTF_ID(__ID(__BTF_ID__##prefix##__##name##__), "") 61 #define ____BTF_ID_FLAGS(prefix, name, flags) \ argument 62 __BTF_ID(__ID(__BTF_ID__##prefix##__##name##__), ".long " #flags "\n") 63 #define __BTF_ID_FLAGS(prefix, name, flags, ...) \ argument 64 ____BTF_ID_FLAGS(prefix, name, flags) 65 #define BTF_ID_FLAGS(prefix, name, ...) \ argument [all …]
|
/openbmc/linux/tools/testing/selftests/tc-testing/tc-tests/actions/ |
H A D | xt.json | 4 "name": "Add xt action with log-prefix", string 17 "cmdUnderTest": "$TC action add action xt -j LOG --log-prefix PONG index 100", 20 … "matchPattern": "action order [0-9]*:.*target LOG level warning prefix \"PONG\".*index 100 ref", 28 "name": "Replace xt action log-prefix", string 41 "$TC action add action xt -j LOG --log-prefix PONG index 1", 47 "cmdUnderTest": "$TC action replace action xt -j LOG --log-prefix WIN index 1", 50 … "matchPattern": "action order [0-9]*:.*target LOG level warning prefix \"WIN\".*index 1 ref", 58 "name": "Delete xt action with valid index", string 71 "$TC action add action xt -j LOG --log-prefix PONG index 1000", 80 … "matchPattern": "action order [0-9]*:.*target LOG level warning prefix \"PONG\".*index 1000 ref", [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/regulator/ |
H A D | regulator.txt | 5 by the prefix of regulator node's name, or, if this fails, by the prefix of the 6 regulator's "regulator-name" property. Usually the pmic I/O driver will provide 13 For the node name e.g.: "prefix[:alpha:]num { ... }": 14 - the driver prefix should be: "prefix" - case sensitive 15 - the node name's "num" is set as "dev->driver_data" on bind 17 Example the prefix "ldo" will pass for: "ldo1", "ldo@1", "ldoreg@1, ... 19 Binding by means of the node's name is preferred. However if the node names 21 can't or do not want to change them then binding against the "regulator-name" 22 property is possible. The syntax for the prefix of the "regulator-name" property 23 is the same as the one for the regulator's node name. [all …]
|
/openbmc/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-g12.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "meson-g12-common.dtsi" 8 #include <dt-bindings/clock/axg-audio-clkc.h> 9 #include <dt-bindings/power/meson-g12a-power.h> 10 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h> 11 #include <dt-bindings/reset/amlogic,meson-g12a-audio-reset.h> 14 tdmif_a: audio-controller-0 { 15 compatible = "amlogic,axg-tdm-iface"; 16 #sound-dai-cells = <0>; 17 sound-name-prefix = "TDM_A"; [all …]
|
H A D | meson-sm1.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "meson-g12-common.dtsi" 8 #include <dt-bindings/clock/axg-audio-clkc.h> 9 #include <dt-bindings/power/meson-sm1-power.h> 10 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h> 11 #include <dt-bindings/reset/amlogic,meson-g12a-audio-reset.h> 16 tdmif_a: audio-controller-0 { 17 compatible = "amlogic,axg-tdm-iface"; 18 #sound-dai-cells = <0>; 19 sound-name-prefix = "TDM_A"; [all …]
|
/openbmc/linux/scripts/ |
H A D | syscallhdr.sh | 2 # SPDX-License-Identifier: GPL-2.0-only 8 # NR ABI NAME [NATIVE] [COMPAT] 11 # ABI ABI name 12 # NAME syscall name 16 set -e 19 …echo >&2 "usage: $0 [--abis ABIS] [--emit-nr] [--offset OFFSET] [--prefix PREFIX] INFILE OUTFILE" … 25 echo >&2 " --abis ABIS ABI(s) to handle (By default, all lines are handled)" 26 echo >&2 " --emit-nr Emit the macro of the number of syscalls (__NR_syscalls)" 27 echo >&2 " --offset OFFSET The offset of syscall numbers" 28 echo >&2 " --prefix PREFIX The prefix to the macro like __NR_<PREFIX><NAME>" [all …]
|
H A D | syscallnr.sh | 2 # SPDX-License-Identifier: GPL-2.0-only 8 # NR ABI NAME [NATIVE] [COMPAT] 11 # ABI ABI name 12 # NAME syscall name 15 set -e 18 echo >&2 "usage: $0 [--abis ABIS] [--prefix PREFIX] INFILE OUTFILE" >&2 24 echo >&2 " --abis ABIS ABI(s) to handle (By default, all lines are handled)" 25 echo >&2 " --prefix PREFIX The prefix to the macro like __NR_<PREFIX><NAME>" 31 prefix= 33 while [ $# -gt 0 ] [all …]
|
/openbmc/linux/tools/include/linux/ |
H A D | btf_ids.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 51 #define __ID(prefix) \ argument 52 __PASTE(__PASTE(prefix, __COUNTER__), __LINE__) 58 #define BTF_ID(prefix, name) \ argument 59 __BTF_ID(__ID(__BTF_ID__##prefix##__##name##__)) 76 #define __BTF_ID_LIST(name, scope) \ argument 79 "." #scope " " #name "; \n" \ 80 #name ":; \n" \ 83 #define BTF_ID_LIST(name) \ argument 84 __BTF_ID_LIST(name, local) \ [all …]
|
/openbmc/linux/drivers/firmware/broadcom/ |
H A D | bcm47xx_sprom.c | 6 * Copyright (C) 2010-2012 Hauke Mehrtens <hauke@hauke-m.de> 36 static void create_key(const char *prefix, const char *postfix, in create_key() argument 37 const char *name, char *buf, int len) in create_key() argument 39 if (prefix && postfix) in create_key() 40 snprintf(buf, len, "%s%s%s", prefix, name, postfix); in create_key() 41 else if (prefix) in create_key() 42 snprintf(buf, len, "%s%s", prefix, name); in create_key() 44 snprintf(buf, len, "%s%s", name, postfix); in create_key() 46 snprintf(buf, len, "%s", name); in create_key() 49 static int get_nvram_var(const char *prefix, const char *postfix, in get_nvram_var() argument [all …]
|
/openbmc/linux/drivers/clk/qcom/ |
H A D | lcc-msm8960.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/clk-provider.h> 15 #include <dt-bindings/clock/qcom,lcc-msm8960.h> 18 #include "clk-regmap.h" 19 #include "clk-pll.h" 20 #include "clk-rcg.h" 21 #include "clk-branch.h" 22 #include "clk-regmap-divider.h" 23 #include "clk-regmap-mux.h" 26 .fw_name = "pxo", .name = "pxo_board", [all …]
|
/openbmc/linux/Documentation/netlink/ |
H A D | genetlink-c.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-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 ] 24 name: 25 description: Name of the genetlink family. 35 enum: [ genetlink, genetlink-c ] [all …]
|
H A D | genetlink-legacy.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 12 len-or-define: 14 pattern: ^[0-9A-Za-z_]+( - 1)?$ 21 required: [ name, doc, attribute-sets, operations ] 24 name: 25 description: Name of the genetlink family. 35 enum: [ genetlink, genetlink-c, genetlink-legacy ] # Trim [all …]
|
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 12 len-or-define: 14 pattern: ^[0-9A-Za-z_]+( - 1)?$ 21 required: [ name, doc, attribute-sets, operations ] 24 name: 25 description: Name of the netlink family. 31 enum: [ netlink-raw ] # Trim [all …]
|
/openbmc/telemetry/tests/src/ |
H A D | test_make_id_name.cpp | 24 auto makeIdName(std::string_view id, std::string_view name) const in makeIdName() 26 return utils::makeIdName(id, name, defaultName, conflicts); in makeIdName() 32 EXPECT_THROW(this->makeIdName("", getTooLongName()), in TEST_F() 41 const std::string name = "name"; in TEST_F() local 43 EXPECT_THAT(this->makeIdName("id0", name), Eq(std::pair{"id0"s, name})); in TEST_F() 44 EXPECT_THAT(this->makeIdName("prefix/id2", name), in TEST_F() 45 Eq(std::pair{"prefix/id2"s, name})); in TEST_F() 50 this->defaultName = "def"; in TEST_F() 52 EXPECT_THAT(this->makeIdName("", ""), Eq(std::pair{"def"s, "def"s})); in TEST_F() 53 EXPECT_THAT(this->makeIdName("abc/", ""), in TEST_F() [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | mc13xxx.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * mc13xxx.h - regulators for the Freescale mc13xxx PMIC 41 return -ENODEV; in mc13xxx_get_num_regulators_dt() 55 #define MC13xxx_DEFINE(prefix, _name, _node, _reg, _vsel_reg, _voltages, _ops) \ argument 56 [prefix ## _name] = { \ 58 .name = #_node, \ 63 .id = prefix ## _name, \ 66 .reg = prefix ## _reg, \ 67 .enable_bit = prefix ## _reg ## _ ## _name ## EN, \ 68 .vsel_reg = prefix ## _vsel_reg, \ [all …]
|
/openbmc/qemu/scripts/qapi/ |
H A D | events.py | 5 Copyright (c) 2015-2018 Red Hat Inc. 12 See the COPYING file in the top-level directory. 30 def build_event_send_proto(name: str, 32 boxed: bool) -> str: 34 'c_name': c_name(name.lower()), 38 def gen_event_send_decl(name: str, 40 boxed: bool) -> str: 45 proto=build_event_send_proto(name, arg_type, boxed)) 48 def gen_param_var(typ: QAPISchemaObjectType) -> str: 64 ret += 'has_' + c_name(memb.name) + sep [all …]
|
H A D | types.py | 5 Copyright (c) 2013-2018 Red Hat Inc. 13 # See the COPYING file in the top-level directory. 44 def gen_enum_lookup(name: str, 46 prefix: Optional[str] = None) -> str: 47 max_index = c_enum_const(name, '_MAX', prefix) 54 c_name=c_name(name)) 57 index = c_enum_const(name, memb.name, prefix) 59 [%(index)s] = "%(name)s", 61 index=index, name=memb.name) 88 def gen_enum(name: str, [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/python/python3-setuptools/ |
H A D | 0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch | 5 prefix to target sysroot 11 meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch 16 Upstream-Status: Inappropriate [oe-core specific] 17 Signed-off-by: Alexander Kanavin <alex@linutronix.de> 18 --- 19 setuptools/_distutils/sysconfig.py | 12 ++++++++++-- 20 1 file changed, 10 insertions(+), 2 deletions(-) 22 diff --git a/setuptools/_distutils/sysconfig.py b/setuptools/_distutils/sysconfig.py 24 --- a/setuptools/_distutils/sysconfig.py 26 @@ -121,6 +121,8 @@ def get_python_inc(plat_specific=False, prefix=None): [all …]
|
/openbmc/linux/sound/soc/generic/ |
H A D | simple-card.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <sound/soc-dai.h> 21 #define DAI "sound-dai" 22 #define CELL "#sound-dai-cells" 23 #define PREFIX "simple-audio-card," macro 41 * Get node via "sound-dai = <&phandle port>" in asoc_simple_parse_platform() 50 dlc->of_node = args.np; in asoc_simple_parse_platform() 68 * Get node via "sound-dai = <&phandle port>" in asoc_simple_parse_dai() 80 dlc->dai_name = snd_soc_dai_name_get(dai); in asoc_simple_parse_dai() 81 dlc->dai_args = snd_soc_copy_dai_args(dev, &args); in asoc_simple_parse_dai() [all …]
|
/openbmc/qemu/util/ |
H A D | path.c | 1 /* Code to mangle pathnames into those matching a given prefix. 2 eg. open("/lib/foo.so") => open("/usr/gnemul/i386-linux/lib/foo.so"); 17 void init_paths(const char *prefix) in init_paths() argument 19 if (prefix[0] == '\0' || !strcmp(prefix, "/")) { in init_paths() 23 if (prefix[0] == '/') { in init_paths() 24 base = g_strdup(prefix); in init_paths() 27 base = g_build_filename(cwd, prefix, NULL); in init_paths() 35 /* Look for path in emulation dir, otherwise return name. */ 36 const char *path(const char *name) in path() argument 42 if (!base || !name || name[0] != '/') { in path() [all …]
|
/openbmc/linux/include/sound/ |
H A D | simple_card_utils.h | 1 /* SPDX-License-Identifier: GPL-2.0 14 #define asoc_simple_init_hp(card, sjack, prefix) \ argument 15 asoc_simple_init_jack(card, sjack, 1, prefix, NULL) 16 #define asoc_simple_init_mic(card, sjack, prefix) \ argument 17 asoc_simple_init_jack(card, sjack, 0, prefix, NULL) 26 const char *name; member 79 #define simple_priv_to_card(priv) (&(priv)->snd_card) 80 #define simple_priv_to_props(priv, i) ((priv)->dai_props + (i)) 81 #define simple_priv_to_dev(priv) (simple_priv_to_card(priv)->dev) 82 #define simple_priv_to_link(priv, i) (simple_priv_to_card(priv)->dai_link + (i)) [all …]
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_variable.c | 1 // SPDX-License-Identifier: GPL-2.0+ 19 * Mapping between EFI variables and u-boot variables: 25 * efi_8be4df61-93ca-11d2-aa0d-00e098032b8c_OsIndicationsSupported= 27 * efi_8be4df61-93ca-11d2-aa0d-00e098032b8c_BootOrder= 33 * + ro - read-only 34 * + boot - boot-services access 35 * + run - runtime access 44 * + utf8 - raw utf8 string 45 * + blob - arbitrary length hex string 51 #define PREFIX_LEN (strlen("efi_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx_")) [all …]
|