/linux/drivers/firmware/broadcom/ |
A D | bcm47xx_sprom.c | 39 if (prefix && postfix) in create_key() 41 else if (prefix) in create_key() 109 prefix, name, buf, err); in NVRAM_READ_VAL() 130 prefix, name, buf, err); in nvram_read_leddc() 191 const char *pre = prefix; in bcm47xx_sprom_fill_auto() 596 char prefix[10]; in bcm47xx_get_sprom_ssb() local 604 snprintf(prefix, sizeof(prefix), "pci/%u/%u/", in bcm47xx_get_sprom_ssb() 654 char *prefix; in bcm47xx_get_sprom_bcma() local 670 prefix = buf; in bcm47xx_get_sprom_bcma() 678 prefix = buf; in bcm47xx_get_sprom_bcma() [all …]
|
/linux/drivers/usb/gadget/function/ |
A D | f_mass_storage.h | 23 &prefix ## params.name ## _count, \ 25 MODULE_PARM_DESC(prefix ## name, desc) 30 MODULE_PARM_DESC(prefix ## name, desc) 32 #define __FSG_MODULE_PARAMETERS(prefix, params) \ argument 35 _FSG_MODULE_PARAM_ARRAY(prefix, params, ro, bool, \ 43 _FSG_MODULE_PARAM(prefix, params, luns, uint, \ 45 _FSG_MODULE_PARAM(prefix, params, stall, bool, \ 50 #define FSG_MODULE_PARAMETERS(prefix, params) \ argument 51 __FSG_MODULE_PARAMETERS(prefix, params); \ 56 #define FSG_MODULE_PARAMETERS(prefix, params) \ argument [all …]
|
/linux/drivers/regulator/ |
A D | mc13xxx.h | 56 [prefix ## _name] = { \ 63 .id = prefix ## _name, \ 66 .reg = prefix ## _reg, \ 67 .enable_bit = prefix ## _reg ## _ ## _name ## EN, \ 68 .vsel_reg = prefix ## _vsel_reg, \ 74 [prefix ## _name] = { \ 81 .id = prefix ## _name, \ 84 .reg = prefix ## _reg, \ 89 [prefix ## _name] = { \ 96 .id = prefix ## _name, \ [all …]
|
/linux/arch/riscv/include/asm/ |
A D | atomic.h | 56 void arch_atomic##prefix##_##op(c_type i, atomic##prefix##_t *v) \ 102 c_type arch_atomic##prefix##_fetch_##op(c_type i, atomic##prefix##_t *v) \ 121 c_type arch_atomic##prefix##_##op##_return(c_type i, atomic##prefix##_t *v) \ 247 c_t arch_atomic##prefix##_xchg_relaxed(atomic##prefix##_t *v, c_t n) \ 252 c_t arch_atomic##prefix##_xchg_acquire(atomic##prefix##_t *v, c_t n) \ 257 c_t arch_atomic##prefix##_xchg_release(atomic##prefix##_t *v, c_t n) \ 262 c_t arch_atomic##prefix##_xchg(atomic##prefix##_t *v, c_t n) \ 267 c_t arch_atomic##prefix##_cmpxchg_relaxed(atomic##prefix##_t *v, \ 273 c_t arch_atomic##prefix##_cmpxchg_acquire(atomic##prefix##_t *v, \ 279 c_t arch_atomic##prefix##_cmpxchg_release(atomic##prefix##_t *v, \ [all …]
|
/linux/tools/testing/selftests/powerpc/pmu/ebb/ |
A D | trace.c | 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() 258 *prefix = BASE_PREFIX; in trace_print_entry() 259 trace_print_header(seq, *prefix); in trace_print_entry() 272 int i, prefix; in trace_buffer_print() local [all …]
|
/linux/net/ipv6/ |
A D | addrlabel.c | 33 struct in6_addr prefix; member 67 const struct in6_addr *prefix; member 72 .prefix = &in6addr_any, 103 .prefix = &in6addr_any, 107 .prefix = &in6addr_loopback, 193 ipv6_addr_prefix(&newp->prefix, prefix, prefixlen); in ip6addrlbl_alloc() 216 ipv6_addr_equal(&p->prefix, &newp->prefix)) { in __ip6addrlbl_add() 274 __func__, prefix, prefixlen, ifindex); in __ip6addrlbl_del() 279 ipv6_addr_equal(&p->prefix, prefix)) { in __ip6addrlbl_del() 297 __func__, prefix, prefixlen, ifindex); in ip6addrlbl_del() [all …]
|
/linux/include/linux/ |
A D | btf_ids.h | 40 #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 name[1]; argument [all …]
|
/linux/tools/perf/util/ |
A D | stat-display.c | 148 const char *prefix; member 169 fputs(os->prefix, os->fh); in do_new_line_std() 209 if (os->prefix) in new_line_csv() 416 .prefix = prefix ? prefix : "", in printout() 710 char *prefix) in print_aggr() argument 816 if (prefix) in print_aggr_thread() 908 if (prefix) in print_counter() 923 char *prefix) in print_no_aggr_metric() argument 936 if (prefix) in print_no_aggr_metric() 985 if (prefix) in print_metric_headers() [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | soc15_common.h | 105 #define WREG32_RLC_EX(prefix, reg, value) \ argument 110 …uint32_t r0 = adev->reg_offset[GC_HWIP][0][prefix##SCRATCH_REG0_BASE_IDX] + prefix##SCRATCH_REG0; \ 111 …uint32_t r1 = adev->reg_offset[GC_HWIP][0][prefix##SCRATCH_REG1_BASE_IDX] + prefix##SCRATCH_REG1; \ 112 …uint32_t spare_int = adev->reg_offset[GC_HWIP][0][prefix##RLC_SPARE_INT_BASE_IDX] + prefix##RLC_SP… 143 #define WREG32_SOC15_RLC_SHADOW_EX(prefix, ip, inst, reg, value) \ argument 147 …uint32_t r2 = adev->reg_offset[GC_HWIP][0][prefix##SCRATCH_REG1_BASE_IDX] + prefix##SCRATCH_REG2; \ 148 …uint32_t r3 = adev->reg_offset[GC_HWIP][0][prefix##SCRATCH_REG1_BASE_IDX] + prefix##SCRATCH_REG3; \ 149 …uint32_t grbm_cntl = adev->reg_offset[GC_HWIP][0][prefix##GRBM_GFX_CNTL_BASE_IDX] + prefix##GRBM_G… 150 …uint32_t grbm_idx = adev->reg_offset[GC_HWIP][0][prefix##GRBM_GFX_INDEX_BASE_IDX] + prefix##GRBM_G… 170 #define WREG32_SOC15_RLC_EX(prefix, ip, inst, reg, value) \ argument [all …]
|
/linux/drivers/clk/qcom/ |
A D | lcc-mdm9615.c | 221 .name = #prefix "_osr_src", \ 231 #prefix "_osr_src", \ 242 .name = #prefix "_osr_clk", \ 243 .parent_names = lcc_##prefix##_parents, \ 257 .name = #prefix "_div_clk", \ 258 .parent_names = lcc_##prefix##_parents, \ 273 .name = #prefix "_bit_div_clk", \ 275 #prefix "_div_clk" \ 290 .name = #prefix "_bit_clk", \ 292 #prefix "_bit_div_clk", \ [all …]
|
A D | lcc-msm8960.c | 219 .name = #prefix "_osr_src", \ 229 #prefix "_osr_src", \ 240 .name = #prefix "_osr_clk", \ 241 .parent_names = lcc_##prefix##_parents, \ 255 .name = #prefix "_div_clk", \ 256 .parent_names = lcc_##prefix##_parents, \ 271 .name = #prefix "_bit_div_clk", \ 273 #prefix "_div_clk" \ 288 .name = #prefix "_bit_clk", \ 290 #prefix "_bit_div_clk", \ [all …]
|
/linux/drivers/gpu/drm/i915/ |
A D | i915_syncmap.c | 74 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() 294 next->prefix = __sync_branch_prefix(next, id); in __sync_set() 305 idx = p->prefix >> (above - SHIFT) & MASK; in __sync_set() [all …]
|
/linux/samples/pktgen/ |
A D | functions.sh | 215 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/sound/soc/generic/ |
A D | simple-card-utils.c | 41 if (!prefix) in asoc_simple_parse_convert() 42 prefix = ""; in asoc_simple_parse_convert() 118 if (!prefix) in asoc_simple_parse_card_name() 119 prefix = ""; in asoc_simple_parse_card_name() 468 if (!prefix) in asoc_simple_parse_routing() 469 prefix = ""; in asoc_simple_parse_routing() 486 if (!prefix) in asoc_simple_parse_widgets() 487 prefix = ""; in asoc_simple_parse_widgets() 510 if (!prefix) in asoc_simple_parse_pin_switches() 511 prefix = ""; in asoc_simple_parse_pin_switches() [all …]
|
/linux/fs/xfs/ |
A D | xfs_xattr.c | 66 .prefix = XATTR_USER_PREFIX, 73 .prefix = XATTR_TRUSTED_PREFIX, 80 .prefix = XATTR_SECURITY_PREFIX, 100 char *prefix, in __xfs_xattr_put_listent() argument 121 strncpy(offset, prefix, prefix_len); in __xfs_xattr_put_listent() 140 char *prefix; in xfs_xattr_put_listent() local 173 prefix = XATTR_TRUSTED_PREFIX; in xfs_xattr_put_listent() 176 prefix = XATTR_SECURITY_PREFIX; in xfs_xattr_put_listent() 179 prefix = XATTR_USER_PREFIX; in xfs_xattr_put_listent() 183 __xfs_xattr_put_listent(context, prefix, prefix_len, name, in xfs_xattr_put_listent()
|
/linux/drivers/net/ethernet/sfc/ |
A D | ef100_rx.c | 34 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() 62 u32 *prefix; in __ef100_rx_packet() local 64 prefix = (u32 *)(eh - ESE_GZ_RX_PKT_PREFIX_LEN); in __ef100_rx_packet() 66 if (ef100_has_fcs_error(channel, prefix) && in __ef100_rx_packet() 70 rx_buf->len = le16_to_cpu((__force __le16)PREFIX_FIELD(prefix, LENGTH)); in __ef100_rx_packet() 80 if (PREFIX_FIELD(prefix, NT_OR_INNER_L3_CLASS) == 1) { in __ef100_rx_packet() 83 u16 sum = be16_to_cpu((__force __be16)PREFIX_FIELD(prefix, CSUM_FRAME)); in __ef100_rx_packet()
|
/linux/tools/include/linux/ |
A D | btf_ids.h | 40 #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) 147 #define BTF_ID(prefix, name) argument 150 #define BTF_ID_LIST_SINGLE(name, prefix, typename) static u32 name[1]; argument
|
/linux/tools/lib/ |
A D | string.c | 196 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/arch/arm64/boot/dts/amlogic/ |
A D | meson-g12.dtsi | 17 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 …]
|
A D | meson-sm1.dtsi | 19 sound-name-prefix = "TDM_A"; 30 sound-name-prefix = "TDM_B"; 41 sound-name-prefix = "TDM_C"; 202 sound-name-prefix = "TODDR_A"; 217 sound-name-prefix = "TODDR_B"; 232 sound-name-prefix = "TODDR_C"; 247 sound-name-prefix = "FRDDR_A"; 262 sound-name-prefix = "FRDDR_B"; 277 sound-name-prefix = "FRDDR_C"; 299 sound-name-prefix = "TDMIN_A"; [all …]
|
/linux/tools/perf/trace/beauty/ |
A D | mmap_prot.sh | 16 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/drivers/s390/net/ |
A D | smsgiucv.c | 22 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/fs/squashfs/ |
A D | xattr.c | 58 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/net/netfilter/ |
A D | nft_log.c | 26 char *prefix; member 118 priv->prefix); in nft_log_eval() 166 priv->prefix = kmalloc(nla_len(nla) + 1, GFP_KERNEL); in nft_log_init() 167 if (priv->prefix == NULL) in nft_log_init() 169 nla_strscpy(priv->prefix, nla, nla_len(nla) + 1); in nft_log_init() 171 priv->prefix = (char *)nft_log_null_prefix; in nft_log_init() 224 if (priv->prefix != nft_log_null_prefix) in nft_log_init() 225 kfree(priv->prefix); in nft_log_init() 235 if (priv->prefix != nft_log_null_prefix) in nft_log_destroy() 236 kfree(priv->prefix); in nft_log_destroy() [all …]
|
/linux/scripts/ |
A D | syscallhdr.sh | 36 prefix= 50 --prefix) 51 prefix=$2 86 echo "#define __NR_$prefix$name $nr" 92 echo "#define __NR_${prefix}syscalls $(($max + 1))"
|