Home
last modified time | relevance | path

Searched +full:name +full:- +full:prefix (Results 1 – 25 of 983) sorted by relevance

12345678910>>...40

/linux/drivers/usb/gadget/function/
H A Df_mass_storage.h1 /* 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 …]
/linux/drivers/firmware/broadcom/
H A Dbcm47xx_sprom.c6 * 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 …]
/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-g12.dtsi1 // 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 Dmeson-sm1.dtsi1 // 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 …]
/linux/tools/include/linux/
H A Dbtf_ids.h1 /* 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 …]
/linux/scripts/
H A Dsyscallhdr.sh2 # 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 Dsyscallnr.sh2 # 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 …]
/linux/drivers/clk/qcom/
H A Dlcc-msm8960.c1 // 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 …]
/linux/sound/soc/generic/
H A Dsimple-card.c1 // SPDX-License-Identifier: GPL-2.0
17 #include <sound/soc-dai.h>
22 #define DAI "sound-dai"
23 #define CELL "#sound-dai-cells"
24 #define PREFIX "simple-audio-card," macro
41 * Get node via "sound-dai = <&phandle port>" in simple_parse_platform()
50 dlc->of_node = args.np; in simple_parse_platform()
68 * Get node via "sound-dai = <&phandle port>" in simple_parse_dai()
80 dlc->dai_name = snd_soc_dai_name_get(dai); in simple_parse_dai()
81 dlc->dai_args = snd_soc_copy_dai_args(dev, &args); in simple_parse_dai()
[all …]
/linux/drivers/regulator/
H A Dmc13xxx.h1 /* 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 …]
/linux/Documentation/netlink/
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)?$
16 len-or-limit:
17 # literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc.
19 pattern: ^[su](8|16|32|64)-(min|max)$
26 required: [ name, doc, attribute-sets, operations ]
[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)?$
16 len-or-limit:
17 # literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc.
19 pattern: ^[su](8|16|32|64)-(min|max)$
26 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
12 len-or-define:
14 pattern: ^[0-9A-Za-z_-]+( - 1)?$
16 len-or-limit:
17 # literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc.
19 pattern: ^[su](8|16|32|64)-(min|max)$
26 required: [ name, doc, attribute-sets, operations ]
[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 ]
24 name:
25 description: Name of the netlink family.
31 enum: [ netlink-raw ] # Trim
[all …]
/linux/arch/riscv/include/asm/
H A Dsyscall_wrapper.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * syscall_wrapper.h - riscv specific wrappers to syscall definitions
17 #define __SYSCALL_SE_DEFINEx(x, prefix, name, ...) \ argument
18 static long __se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__)); \
19 static long __se_##prefix##name(__MAP(x,__SC_LONG,__VA_ARGS__))
23 ,,regs->orig_a0,,regs->a1,,regs->a2 \
24 ,,regs->a3,,regs->a4,,regs->a5,,regs->a6)
28 * Use type aliasing to ensure registers a0-a6 are correctly passed to the syscall
29 * implementation when >word-size arguments are used.
31 #define __SYSCALL_SE_DEFINEx(x, prefix, name, ...) \ argument
[all …]
/linux/fs/erofs/
H A Dxattr.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2017-2018 HUAWEI, Inc.
5 * Copyright (C) 2021-2022, Alibaba Cloud
22 struct qstr name; member
34 struct super_block *sb = inode->i_sb; in erofs_init_inode_xattrs()
38 if (test_bit(EROFS_I_EA_INITED_BIT, &vi->flags)) { in erofs_init_inode_xattrs()
47 if (wait_on_bit_lock(&vi->flags, EROFS_I_BL_XATTR_BIT, TASK_KILLABLE)) in erofs_init_inode_xattrs()
48 return -ERESTARTSYS; in erofs_init_inode_xattrs()
51 if (test_bit(EROFS_I_EA_INITED_BIT, &vi->flags)) in erofs_init_inode_xattrs()
55 * bypass all xattr operations if ->xattr_isize is not greater than in erofs_init_inode_xattrs()
[all …]
/linux/include/sound/
H A Dsimple_card_utils.h1 /* SPDX-License-Identifier: GPL-2.0
14 #define simple_util_init_hp(card, sjack, prefix) \ argument
15 simple_util_init_jack(card, sjack, 1, prefix, NULL)
16 #define simple_util_init_mic(card, sjack, prefix) \ argument
17 simple_util_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 …]
/linux/drivers/md/dm-vdo/
H A Dlogger.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #include "thread-device.h"
17 #include "thread-utils.h"
47 * emit_log_message_to_kernel() - Emit a log message to the kernel at the specified priority.
92 * emit_log_message() - Emit a log message to the kernel log in a format suited to the current
102 * Fields: module name, interrupt level, process name, device ID.
105 * @module: The name of the module doing the logging
106 * @prefix: The prefix of the log message
110 static void emit_log_message(int priority, const char *module, const char *prefix, in emit_log_message() argument
123 prefix, vaf1, vaf2); in emit_log_message()
[all …]
/linux/Documentation/netlink/specs/
H A Dnlctrl.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 name: nlctrl
4 protocol: genetlink-legacy
5 uapi-header: linux/genetlink.h
8 genetlink meta-family that exposes information about all genetlink
12 -
13 name: op-flags
15 enum-name:
17 - admin-perm
18 - cmd-cap-do
[all …]
H A Dovs_flow.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 name: ovs_flow
5 protocol: genetlink-legacy
6 uapi-header: linux/openvswitch.h
12 -
13 name: ovs-header
18 -
19 name: dp-ifindex
24 -
25 name: ovs-flow-stats
[all …]
/linux/fs/squashfs/
H A Dxattr.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Squashfs - a compressed read only filesystem for Linux
30 struct super_block *sb = inode->i_sb; in squashfs_listxattr()
31 struct squashfs_sb_info *msblk = sb->s_fs_info; in squashfs_listxattr()
32 u64 start = SQUASHFS_XATTR_BLK(squashfs_i(inode)->xattr) in squashfs_listxattr()
33 + msblk->xattr_table; in squashfs_listxattr()
34 int offset = SQUASHFS_XATTR_OFFSET(squashfs_i(inode)->xattr); in squashfs_listxattr()
35 int count = squashfs_i(inode)->xattr_count; in squashfs_listxattr()
40 if (msblk->xattr_id_table == NULL) in squashfs_listxattr()
41 return -EOPNOTSUPP; in squashfs_listxattr()
[all …]
/linux/fs/xfs/
H A Dxfs_xattr.c1 // SPDX-License-Identifier: GPL-2.0
4 * Portions Copyright (C) 2000-2008 Silicon Graphics, Inc.
25 * Get permission to use log-assisted atomic exchange of file extents.
45 return -EOPNOTSUPP; in xfs_attr_grab_log_assist()
47 /* Enable log-assisted xattrs. */ in xfs_attr_grab_log_assist()
74 * initialize the inode, attr_filter, name, namelen, value, and valuelen fields
82 struct xfs_mount *mp = args->dp->i_mount; in xfs_attr_change()
86 return -EIO; in xfs_attr_change()
88 error = xfs_qm_dqattach(args->dp); in xfs_attr_change()
94 * to remove, so we have to allow the name lookup prior to attribute in xfs_attr_change()
[all …]
/linux/tools/testing/selftests/powerpc/pmu/ebb/
H A Dtrace.c1 // SPDX-License-Identifier: GPL-2.0-only
25 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in trace_buffer_allocate()
31 tb->size = size; in trace_buffer_allocate()
32 tb->tail = tb->data; in trace_buffer_allocate()
33 tb->overflow = false; in trace_buffer_allocate()
40 return p < ((void *)tb + tb->size); in trace_check_bounds()
51 if (tb->overflow) in trace_check_alloc()
55 tb->overflow = true; in trace_check_alloc()
66 p = tb->tail; in trace_alloc()
67 newtail = tb->tail + bytes; in trace_alloc()
[all …]
/linux/fs/bcachefs/
H A Dxattr.c1 // SPDX-License-Identifier: GPL-2.0
25 bch2_str_hash_update(&ctx, info, &key->type, sizeof(key->type)); in bch2_xattr_hash()
26 bch2_str_hash_update(&ctx, info, key->name.name, key->name.len); in bch2_xattr_hash()
41 &X_SEARCH(x.v->x_type, x.v->x_name, x.v->x_name_len)); in xattr_hash_bkey()
49 return l.v->x_type != r->type || in xattr_cmp_key()
50 l.v->x_name_len != r->name.len || in xattr_cmp_key()
51 memcmp(l.v->x_name, r->name.name, r->name.len); in xattr_cmp_key()
59 return l.v->x_type != r.v->x_type || in xattr_cmp_bkey()
60 l.v->x_name_len != r.v->x_name_len || in xattr_cmp_bkey()
61 memcmp(l.v->x_name, r.v->x_name, r.v->x_name_len); in xattr_cmp_bkey()
[all …]
/linux/Documentation/userspace-api/netlink/
H A Dc-code-gen.rst1 .. SPDX-License-Identifier: BSD-3-Clause
9 allowed in older families by the ``genetlink-c`` protocol level,
12 For brevity this document refers to ``name`` properties of various
14 of ``name`` in an attribute, and ``$family`` is the name of the
15 family (the global ``name`` property).
17 The upper case is used to denote literal values, e.g. ``$family-CMD``
22 and with dashes (``-``) replaced by underscores (``_``).
24 If the constructed name is a C keyword, an extra underscore is
25 appended (``do`` -> ``do_``).
30 ``c-family-name`` controls the name of the ``#define`` for the family
[all …]

12345678910>>...40