Home
last modified time | relevance | path

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

12345678910>>...37

/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/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 …]
/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/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/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/drivers/gpu/drm/xe/
H A Dxe_gen_wa_oob.c1 // SPDX-License-Identifier: MIT
14 "// SPDX-License-Identifier: MIT\n" \
33 fprintf(f, "usage: %s <input-rule-file> <generated-c-source-file> <generated-c-header-file>\n", in print_usage()
47 linelen--; in strip()
49 line[linelen - 1] = '\0'; in strip()
55 static int parse(FILE *input, FILE *csource, FILE *cheader, char *prefix) in parse() argument
58 char *name, *prev_name = NULL, *rules; in parse() local
73 return -EINVAL; in parse()
77 name = strip(line, linelen); in parse()
80 name = strtok(name, " \t"); in parse()
[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/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
9 name:
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
[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
9 name:
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)?$
[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)
2 ---
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
[all …]
H A Dmptcp_pm.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
3 name: mptcp_pm
4 protocol: genetlink-legacy
7 c-family-name: mptcp-pm-name
8 c-version-name: mptcp-pm-ver
9 max-by-define: true
10 kernel-policy: per-op
11 cmd-cnt-name: --mptcp-pm-cmd-after-last
14 -
[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/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/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/tools/bpf/resolve_btfids/
H A Dmain.c1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
8 * following name syntax:
14 * func - lookup BTF_KIND_FUNC symbol with <symbol> name
20 * struct - lookup BTF_KIND_STRUCT symbol with <symbol> name
26 * union - lookup BTF_KIND_UNION symbol with <symbol> name
32 * typedef - lookup BTF_KIND_TYPEDEF symbol with <symbol> name
38 * set - store symbol size into first 4 bytes and sort following
49 * set8 - store symbol size into first 4 bytes and sort following
79 #include <subcmd/parse-options.h>
103 char *name; member
[all …]
/linux/sound/soc/generic/
H A Dsimple-card-utils.c1 // SPDX-License-Identifier: GPL-2.0
3 // simple-card-utils.c
7 #include <dt-bindings/sound/audio-graph.h>
28 int val = -EINVAL; in simple_util_get_sample_fmt()
42 if (!strcmp(data->convert_sample_format, in simple_util_get_sample_fmt()
67 char *prefix, in simple_util_parse_convert() argument
75 if (!prefix) in simple_util_parse_convert()
76 prefix = ""; in simple_util_parse_convert()
79 snprintf(prop, sizeof(prop), "%s%s", prefix, "convert-rate"); in simple_util_parse_convert()
80 of_property_read_u32(np, prop, &data->convert_rate); in simple_util_parse_convert()
[all …]
/linux/scripts/atomic/
H A Dgen-atomic-fallback.sh2 # SPDX-License-Identifier: GPL-2.0
6 . ${ATOMICDIR}/atomic-tbl.sh
8 #gen_template_fallback(template, meta, pfx, name, sfx, order, atomic, int, args...)
14 local name="$1"; shift
28 #gen_order_fallback(meta, pfx, name, sfx, order, atomic, int, args...)
33 local name="$1"; shift
38 local tmpl="${ATOMICDIR}/fallbacks/${tmpl_order:-fence}"
39 gen_template_fallback "${tmpl}" "${meta}" "${pfx}" "${name}" "${sfx}" "${order}" "$@"
42 #gen_proto_fallback(meta, pfx, name, sfx, order, atomic, int, args...)
47 local name="$1"; shift
[all …]
/linux/drivers/acpi/acpica/
H A Dacapps.h1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
4 * Module Name: acapps - common include for ACPI applications/tools
6 * Copyright (C) 2000 - 2025, Intel Corp.
20 #define ACPICA_COPYRIGHT "Copyright (c) 2000 - 2025 Intel Corporation"
23 #define ACPI_WIDTH " (64-bit version)"
26 #define ACPI_WIDTH " (32-bit version)"
42 #define ACPI_COMMON_HEADER(utility_name, prefix) \ argument
44 prefix, ACPICA_NAME, \
45 prefix, utility_name, ((u32) ACPI_CA_VERSION), ACPI_WIDTH, \
46 prefix, ACPICA_COPYRIGHT, \
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dnxp,tfa989x.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Stephan Gerhold <stephan@gerhold.net>
13 - $ref: dai-common.yaml#
18 - nxp,tfa9890
19 - nxp,tfa9895
20 - nxp,tfa9897
25 '#sound-dai-cells':
28 rcv-gpios:
[all …]
/linux/tools/perf/tests/shell/
H A Dstat+std_output.sh3 # SPDX-License-Identifier: GPL-2.0
7 set -e
14 …(cpu-clock task-clock context-switches cpu-migrations page-faults stalled-cycles-frontend stalled-
19 rm -f "${stat_output}"
21 trap - EXIT TERM INT
32 local prefix=1
33 local -i metric_only=0
36 in "--interval") prefix=2
37 ;; "--per-thread") prefix=2
38 ;; "--system-wide-no-aggr") prefix=2
[all …]
/linux/drivers/hwmon/
H A Diio_hwmon.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #include <linux/hwmon-sysfs.h>
21 * struct iio_hwmon_state - device instance state
42 struct iio_channel *chan = &state->channels[sattr->index]; in iio_hwmon_read_label()
60 struct iio_channel *chan = &state->channels[sattr->index]; in iio_hwmon_read_val()
68 /* mili-Watts to micro-Watts conversion */ in iio_hwmon_read_val()
80 struct device *dev = &pdev->dev; in iio_hwmon_probe()
94 if (ret == -ENODEV) in iio_hwmon_probe()
95 ret = -EPROBE_DEFER; in iio_hwmon_probe()
103 return -ENOMEM; in iio_hwmon_probe()
[all …]

12345678910>>...37