Home
last modified time | relevance | path

Searched refs:prefix (Results 1 – 25 of 773) sorted by relevance

12345678910>>...31

/Linux-v6.1/drivers/usb/gadget/function/
Df_mass_storage.h21 #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, \
35 _FSG_MODULE_PARAM_ARRAY(prefix, params, ro, bool, \
[all …]
/Linux-v6.1/drivers/firmware/broadcom/
Dbcm47xx_sprom.c36 static void create_key(const char *prefix, const char *postfix, 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()
49 static int get_nvram_var(const char *prefix, const char *postfix, in get_nvram_var() argument
55 create_key(prefix, postfix, name, key, sizeof(key)); in get_nvram_var()
58 if (fallback && err == -ENOENT && prefix) { in get_nvram_var()
66 static void nvram_read_ ## type(const char *prefix, \
74 err = get_nvram_var(prefix, postfix, name, buf, sizeof(buf), \
[all …]
/Linux-v6.1/drivers/regulator/
Dmc13xxx.h55 #define MC13xxx_DEFINE(prefix, _name, _node, _reg, _vsel_reg, _voltages, _ops) \ argument
56 [prefix ## _name] = { \
63 .id = prefix ## _name, \
66 .reg = prefix ## _reg, \
67 .enable_bit = prefix ## _reg ## _ ## _name ## EN, \
68 .vsel_reg = prefix ## _vsel_reg, \
69 .vsel_shift = prefix ## _vsel_reg ## _ ## _name ## VSEL,\
70 .vsel_mask = prefix ## _vsel_reg ## _ ## _name ## VSEL_M,\
73 #define MC13xxx_FIXED_DEFINE(prefix, _name, _node, _reg, _voltages, _ops) \ argument
74 [prefix ## _name] = { \
[all …]
/Linux-v6.1/arch/riscv/include/asm/
Datomic.h54 #define ATOMIC_OP(op, asm_op, I, asm_type, c_type, prefix) \ argument
56 void arch_atomic##prefix##_##op(c_type i, atomic##prefix##_t *v) \
88 #define ATOMIC_FETCH_OP(op, asm_op, I, asm_type, c_type, prefix) \ in ATOMIC_OPS() argument
90 c_type arch_atomic##prefix##_fetch_##op##_relaxed(c_type i, \ in ATOMIC_OPS()
91 atomic##prefix##_t *v) \ in ATOMIC_OPS()
102 c_type arch_atomic##prefix##_fetch_##op(c_type i, atomic##prefix##_t *v) \
113 #define ATOMIC_OP_RETURN(op, asm_op, c_op, I, asm_type, c_type, prefix) \ argument
115 c_type arch_atomic##prefix##_##op##_return_relaxed(c_type i, \
116 atomic##prefix##_t *v) \
118 return arch_atomic##prefix##_fetch_##op##_relaxed(i, v) c_op I; \
[all …]
/Linux-v6.1/include/linux/
Dbtf_ids.h51 #define __ID(prefix) \ argument
52 __PASTE(prefix, __COUNTER__)
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
66 __BTF_ID_FLAGS(prefix, name, ##__VA_ARGS__, 0)
[all …]
/Linux-v6.1/drivers/clk/qcom/
Dlcc-msm8960.c91 #define CLK_AIF_OSR_SRC(prefix, _ns, _md) \ argument
92 static struct clk_rcg prefix##_osr_src = { \
116 .name = #prefix "_osr_src", \
125 #define CLK_AIF_OSR_CLK(prefix, _ns, hr, en_bit) \ argument
126 static struct clk_branch prefix##_osr_clk = { \
134 .name = #prefix "_osr_clk", \
136 &prefix##_osr_src.clkr.hw, \
145 #define CLK_AIF_OSR_DIV_CLK(prefix, _ns, _width) \ argument
146 static struct clk_regmap_div prefix##_div_clk = { \
152 .name = #prefix "_div_clk", \
[all …]
Dlcc-mdm9615.c196 #define CLK_AIF_OSR_DIV(prefix, _ns, _md, hr) \ argument
197 static struct clk_rcg prefix##_osr_src = { \
221 .name = #prefix "_osr_src", \
230 static const char * const lcc_##prefix##_parents[] = { \
231 #prefix "_osr_src", \
234 static struct clk_branch prefix##_osr_clk = { \
242 .name = #prefix "_osr_clk", \
243 .parent_names = lcc_##prefix##_parents, \
251 static struct clk_regmap_div prefix##_div_clk = { \
257 .name = #prefix "_div_clk", \
[all …]
/Linux-v6.1/tools/testing/selftests/powerpc/pmu/ebb/
Dtrace.c168 static void trace_print_header(int seq, int prefix) in trace_print_header() argument
170 printf("%*s[%d]: ", prefix, "", seq); in trace_print_header()
235 static void trace_print_entry(struct trace_entry *e, int seq, int *prefix) in trace_print_entry() argument
239 trace_print_header(seq, *prefix); in trace_print_entry()
243 trace_print_header(seq, *prefix); in trace_print_entry()
247 trace_print_header(seq, *prefix); in trace_print_entry()
251 trace_print_header(seq, *prefix); in trace_print_entry()
253 *prefix += PREFIX_DELTA; in trace_print_entry()
256 *prefix -= PREFIX_DELTA; in trace_print_entry()
257 if (*prefix < BASE_PREFIX) in trace_print_entry()
[all …]
/Linux-v6.1/net/ipv6/
Daddrlabel.c33 struct in6_addr prefix; member
67 const struct in6_addr *prefix; member
72 .prefix = &in6addr_any,
75 .prefix = &(struct in6_addr){ { { 0xfc } } } ,
79 .prefix = &(struct in6_addr){ { { 0xfe, 0xc0 } } },
83 .prefix = &(struct in6_addr){ { { 0x20, 0x02 } } },
87 .prefix = &(struct in6_addr){ { { 0x3f, 0xfe } } },
91 .prefix = &(struct in6_addr){ { { 0x20, 0x01 } } },
95 .prefix = &(struct in6_addr){ { { 0x20, 0x01, 0x00, 0x10 } } },
99 .prefix = &(struct in6_addr){ { { [10] = 0xff, [11] = 0xff } } },
[all …]
/Linux-v6.1/tools/include/linux/
Dbtf_ids.h40 #define __ID(prefix) \ argument
41 __PASTE(prefix, __COUNTER__)
47 #define BTF_ID(prefix, name) \ argument
48 __BTF_ID(__ID(__BTF_ID__##prefix##__##name##__))
82 #define BTF_ID_LIST_SINGLE(name, prefix, typename) \ argument
84 BTF_ID(prefix, typename)
85 #define BTF_ID_LIST_GLOBAL_SINGLE(name, prefix, typename) \ argument
87 BTF_ID(prefix, typename)
150 #define BTF_ID(prefix, name) argument
153 #define BTF_ID_LIST_SINGLE(name, prefix, typename) static u32 __maybe_unused name[1]; argument
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Dsoc15_common.h118 #define WREG32_RLC_EX(prefix, reg, value) \ argument
123 …uint32_t r0 = adev->reg_offset[GC_HWIP][0][prefix##SCRATCH_REG0_BASE_IDX] + prefix##SCRATCH_REG0; \
124 …uint32_t r1 = adev->reg_offset[GC_HWIP][0][prefix##SCRATCH_REG1_BASE_IDX] + prefix##SCRATCH_REG1; \
125 …uint32_t spare_int = adev->reg_offset[GC_HWIP][0][prefix##RLC_SPARE_INT_BASE_IDX] + prefix##RLC_SP…
156 #define WREG32_SOC15_RLC_SHADOW_EX(prefix, ip, inst, reg, value) \ argument
160 …uint32_t r2 = adev->reg_offset[GC_HWIP][0][prefix##SCRATCH_REG1_BASE_IDX] + prefix##SCRATCH_REG2; \
161 …uint32_t r3 = adev->reg_offset[GC_HWIP][0][prefix##SCRATCH_REG1_BASE_IDX] + prefix##SCRATCH_REG3; \
162 …uint32_t grbm_cntl = adev->reg_offset[GC_HWIP][0][prefix##GRBM_GFX_CNTL_BASE_IDX] + prefix##GRBM_G…
163 …uint32_t grbm_idx = adev->reg_offset[GC_HWIP][0][prefix##GRBM_GFX_INDEX_BASE_IDX] + prefix##GRBM_G…
183 #define WREG32_SOC15_RLC_EX(prefix, ip, inst, reg, value) \ argument
[all …]
/Linux-v6.1/tools/perf/trace/beauty/
Dmmap_prot.sh16 prefix="PROT"
19 …pace:]]*define[[:space:]]+%s_([[:alnum:]_]+)[[:space:]]+(0x[[:xdigit:]]+)[[:space:]]*.*' ${prefix}`
24 …xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef ${prefix}_%s\n#define ${prefix}_%s %s\n#endif\n…
29 …xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef ${prefix}_%s\n#define ${prefix}_%s %s\n#endif\n…
/Linux-v6.1/drivers/gpu/drm/i915/
Di915_syncmap.c74 u64 prefix; member
163 if (likely(__sync_leaf_prefix(p, id) == p->prefix)) in i915_syncmap_is_later()
172 if (__sync_branch_prefix(p, id) == p->prefix) in i915_syncmap_is_later()
185 if (__sync_branch_prefix(p, id) != p->prefix) in i915_syncmap_is_later()
210 p->prefix = __sync_leaf_prefix(p, id); in __sync_alloc_leaf()
244 GEM_BUG_ON(__sync_leaf_prefix(p, id) == p->prefix); in __sync_set()
253 if (__sync_branch_prefix(p, id) == p->prefix) in __sync_set()
281 if (__sync_branch_prefix(p, id) != p->prefix) { in __sync_set()
291 above = fls64(__sync_branch_prefix(p, id) ^ p->prefix); in __sync_set()
294 next->prefix = __sync_branch_prefix(next, id); in __sync_set()
[all …]
/Linux-v6.1/samples/pktgen/
Dfunctions.sh215 local net prefix
218 IFS='/' read net prefix <<< $1
222 if [[ -n $prefix ]]; then
223 if ! (in_between $prefix 0 $bitlen); then
224 err 5 "Invalid prefix: /$prefix"
255 local net prefix
258 IFS='/' read net prefix <<< $1
261 if [[ -z $prefix ]]; then
272 local remain=$[ bitlen-prefix ]
283 min_mask="$(printf '1%.s' $(seq $prefix))$(printf '0%.s' $(seq $remain))"
[all …]
/Linux-v6.1/tools/lib/
Dstring.c196 unsigned int words, prefix; in memchr_inv() local
206 prefix = (unsigned long)start % 8; in memchr_inv()
207 if (prefix) { in memchr_inv()
210 prefix = 8 - prefix; in memchr_inv()
211 r = check_bytes8(start, value, prefix); in memchr_inv()
214 start += prefix; in memchr_inv()
215 bytes -= prefix; in memchr_inv()
/Linux-v6.1/rust/kernel/
Dprint.rs48 const fn generate(is_cont: bool, prefix: &[u8; 3]) -> [u8; LENGTH] { in generate()
50 assert!(prefix[0] == b'\x01');
52 assert!(prefix[1] == b'c');
54 assert!(prefix[1] >= b'0' && prefix[1] <= b'7');
56 assert!(prefix[2] == b'\x00');
65 prefix[0], prefix[1], suffix[0], suffix[1], suffix[2], suffix[3], suffix[4], suffix[5],
/Linux-v6.1/tools/perf/util/
Dstat-display.c214 const char *prefix; member
235 fputs(os->prefix, os->fh); in do_new_line_std()
275 if (os->prefix) in new_line_csv()
276 fprintf(os->fh, "%s", os->prefix); in new_line_csv()
323 if (os->prefix) in new_line_json()
324 fprintf(os->fh, "%s", os->prefix); in new_line_json()
539 char *prefix, u64 run, u64 ena, double noise, in printout() argument
545 .prefix = prefix ? prefix : "", in printout()
831 char *prefix, bool metric_only, in print_counter_aggrdata() argument
858 if (prefix && !metric_only) in print_counter_aggrdata()
[all …]
/Linux-v6.1/drivers/net/ethernet/sfc/
Def100_rx.c34 bool ef100_rx_buf_hash_valid(const u8 *prefix) in ef100_rx_buf_hash_valid() argument
36 return PREFIX_FIELD(prefix, RSS_HASH_VALID); in ef100_rx_buf_hash_valid()
39 static bool ef100_has_fcs_error(struct efx_channel *channel, u32 *prefix) in ef100_has_fcs_error() argument
44 rxclass = le16_to_cpu((__force __le16)PREFIX_FIELD(prefix, CLASS)); in ef100_has_fcs_error()
66 u32 *prefix; in __ef100_rx_packet() local
68 prefix = (u32 *)(eh - ESE_GZ_RX_PKT_PREFIX_LEN); in __ef100_rx_packet()
70 if (ef100_has_fcs_error(channel, prefix) && in __ef100_rx_packet()
74 rx_buf->len = le16_to_cpu((__force __le16)PREFIX_FIELD(prefix, LENGTH)); in __ef100_rx_packet()
83 ing_port = le16_to_cpu((__force __le16) PREFIX_FIELD(prefix, INGRESS_MPORT)); in __ef100_rx_packet()
115 if (PREFIX_FIELD(prefix, NT_OR_INNER_L3_CLASS) == 1) { in __ef100_rx_packet()
[all …]
/Linux-v6.1/drivers/s390/net/
Dsmsgiucv.c22 const char *prefix; member
79 if (strncmp(buffer + 8, cb->prefix, cb->len) == 0) { in smsg_message_pending()
88 int smsg_register_callback(const char *prefix, in smsg_register_callback() argument
96 cb->prefix = prefix; in smsg_register_callback()
97 cb->len = strlen(prefix); in smsg_register_callback()
105 void smsg_unregister_callback(const char *prefix, in smsg_unregister_callback() argument
115 strcmp(tmp->prefix, prefix) == 0) { in smsg_unregister_callback()
/Linux-v6.1/arch/arm64/boot/dts/amlogic/
Dmeson-g12.dtsi17 sound-name-prefix = "TDM_A";
28 sound-name-prefix = "TDM_B";
39 sound-name-prefix = "TDM_C";
54 sound-name-prefix = "PDM";
104 sound-name-prefix = "TODDR_A";
119 sound-name-prefix = "TODDR_B";
134 sound-name-prefix = "TODDR_C";
149 sound-name-prefix = "FRDDR_A";
164 sound-name-prefix = "FRDDR_B";
179 sound-name-prefix = "FRDDR_C";
[all …]
/Linux-v6.1/scripts/
Dsyscallhdr.sh36 prefix=
50 --prefix)
51 prefix=$2
86 echo "#define __NR_$prefix$name $nr"
92 echo "#define __NR_${prefix}syscalls $(($max + 1))"
/Linux-v6.1/fs/xfs/
Dxfs_xattr.c158 .prefix = XATTR_USER_PREFIX,
165 .prefix = XATTR_TRUSTED_PREFIX,
172 .prefix = XATTR_SECURITY_PREFIX,
192 char *prefix, in __xfs_xattr_put_listent() argument
213 strncpy(offset, prefix, prefix_len); in __xfs_xattr_put_listent()
232 char *prefix; in xfs_xattr_put_listent() local
265 prefix = XATTR_TRUSTED_PREFIX; in xfs_xattr_put_listent()
268 prefix = XATTR_SECURITY_PREFIX; in xfs_xattr_put_listent()
271 prefix = XATTR_USER_PREFIX; in xfs_xattr_put_listent()
275 __xfs_xattr_put_listent(context, prefix, prefix_len, name, in xfs_xattr_put_listent()
/Linux-v6.1/fs/squashfs/
Dxattr.c58 const char *prefix = handler->prefix ?: handler->name; in squashfs_listxattr() local
59 size_t prefix_size = strlen(prefix); in squashfs_listxattr()
66 memcpy(buffer, prefix, prefix_size); in squashfs_listxattr()
125 int type, prefix, name_size; in squashfs_xattr_get() local
134 prefix = type & SQUASHFS_XATTR_PREFIX_MASK; in squashfs_xattr_get()
136 if (prefix == name_index && name_size == name_len) in squashfs_xattr_get()
145 if (prefix == name_index && name_size == name_len && in squashfs_xattr_get()
217 .prefix = XATTR_USER_PREFIX,
231 .prefix = XATTR_TRUSTED_PREFIX,
241 .prefix = XATTR_SECURITY_PREFIX,
/Linux-v6.1/tools/verification/dot2/
DMakefile3 prefix ?= /usr macro
4 bindir ?= $(prefix)/bin
5 mandir ?= $(prefix)/share/man
6 miscdir ?= $(prefix)/share/dot2
7 srcdir ?= $(prefix)/src
/Linux-v6.1/sound/soc/generic/
Dsimple-card-utils.c66 char *prefix, in asoc_simple_parse_convert() argument
71 if (!prefix) in asoc_simple_parse_convert()
72 prefix = ""; in asoc_simple_parse_convert()
75 snprintf(prop, sizeof(prop), "%s%s", prefix, "convert-rate"); in asoc_simple_parse_convert()
79 snprintf(prop, sizeof(prop), "%s%s", prefix, "convert-channels"); in asoc_simple_parse_convert()
83 snprintf(prop, sizeof(prop), "%s%s", prefix, "convert-sample-format"); in asoc_simple_parse_convert()
106 char *prefix, in asoc_simple_parse_daifmt() argument
113 daifmt = snd_soc_daifmt_parse_format(node, prefix); in asoc_simple_parse_daifmt()
115 snd_soc_daifmt_parse_clock_provider_as_phandle(node, prefix, &bitclkmaster, &framemaster); in asoc_simple_parse_daifmt()
208 char *prefix) in asoc_simple_parse_card_name() argument
[all …]

12345678910>>...31