| /linux/arch/mips/cavium-octeon/executive/ |
| H A D | octeon-model.c | 66 const char *suffix; in octeon_model_get_string_buffer() local 101 suffix = "CP"; in octeon_model_get_string_buffer() 103 suffix = "SCP"; in octeon_model_get_string_buffer() 105 suffix = "EXP"; in octeon_model_get_string_buffer() 107 suffix = "NSP"; in octeon_model_get_string_buffer() 270 if ((num_cores == 4) && l2d_fus3 && !strncmp(suffix, "CP", 2)) in octeon_model_get_string_buffer() 298 suffix = "SP"; in octeon_model_get_string_buffer() 300 suffix = "SSP"; in octeon_model_get_string_buffer() 303 suffix = "CP"; in octeon_model_get_string_buffer() 305 suffix = "NSP"; in octeon_model_get_string_buffer() [all …]
|
| /linux/tools/testing/selftests/kvm/x86/ |
| H A D | fastops_test.c | 143 #define guest_test_fastops(type_t, suffix) \ argument 148 guest_test_fastop_1("dec" suffix, type_t, vals[i]); \ 149 guest_test_fastop_1("inc" suffix, type_t, vals[i]); \ 150 guest_test_fastop_1("neg" suffix, type_t, vals[i]); \ 151 guest_test_fastop_1("not" suffix, type_t, vals[i]); \ 154 guest_test_fastop_2("add" suffix, type_t, vals[i], vals[j]); \ 155 guest_test_fastop_2("adc" suffix, type_t, vals[i], vals[j]); \ 156 guest_test_fastop_2("and" suffix, type_t, vals[i], vals[j]); \ 158 guest_test_fastop_2("bsf" suffix, type_t, vals[i], vals[j]); \ 159 guest_test_fastop_2("bsr" suffix, type_t, vals[i], vals[j]); \ [all …]
|
| /linux/rust/syn/ |
| H A D | lit.rs | 95 suffix: Box<str>, field 108 suffix: Box<str>, field 123 suffix: Box<str>, field 141 suffix: Box::<str>::default(), in new() 247 let suffix = self.suffix(); in parse_with() localVariable 248 if !suffix.is_empty() { in parse_with() 251 format!("unexpected suffix `{}` on string literal", suffix), in parse_with() 266 pub fn suffix(&self) -> &str { in suffix() method 267 &self.repr.suffix in suffix() 282 suffix: Box::<str>::default(), in new() [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-retrode.c | 23 const char *suffix; in retrode_input_configured() local 29 suffix = "SNES Mouse"; in retrode_input_configured() 33 suffix = "SNES / N64"; in retrode_input_configured() 38 suffix = "Mega Drive"; in retrode_input_configured() 43 suffix = "Unknown"; in retrode_input_configured() 49 suffix, number); in retrode_input_configured() 52 "%s %s", CONTROLLER_NAME_BASE, suffix); in retrode_input_configured()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | rbtree.c | 164 #define BTF_FAIL_TEST(suffix) \ 165 void test_rbtree_btf_fail__##suffix(void) \ 167 struct rbtree_btf_fail__##suffix *skel; \ 169 skel = rbtree_btf_fail__##suffix##__open_and_load(); \ 171 "rbtree_btf_fail__" #suffix "__open_and_load unexpected success")) \ 172 rbtree_btf_fail__##suffix##__destroy(skel); \ 175 #define RUN_BTF_FAIL_TEST(suffix) \ 176 if (test__start_subtest("rbtree_btf_fail__" #suffix)) \ 177 test_rbtree_btf_fail__##suffix(); 162 BTF_FAIL_TEST(suffix) global() argument 173 RUN_BTF_FAIL_TEST(suffix) global() argument
|
| /linux/arch/powerpc/include/asm/ |
| H A D | atomic.h | 49 #define ATOMIC_OP(op, asm_op, suffix, sign, ...) \ argument 56 #asm_op "%I2" suffix " %0,%0,%2\n" \ 64 #define ATOMIC_OP_RETURN_RELAXED(op, asm_op, suffix, sign, ...) \ argument 71 #asm_op "%I2" suffix " %0,%0,%2\n" \ 81 #define ATOMIC_FETCH_OP_RELAXED(op, asm_op, suffix, sign, ...) \ argument 88 #asm_op "%I3" suffix " %1,%0,%3\n" \ 98 #define ATOMIC_OPS(op, asm_op, suffix, sign, ...) \ argument 99 ATOMIC_OP(op, asm_op, suffix, sign, ##__VA_ARGS__) \ 100 ATOMIC_OP_RETURN_RELAXED(op, asm_op, suffix, sign, ##__VA_ARGS__)\ 101 ATOMIC_FETCH_OP_RELAXED(op, asm_op, suffix, sign, ##__VA_ARGS__) [all …]
|
| /linux/rust/kernel/ |
| H A D | print.rs | 64 let suffix: &[u8; LENGTH - LENGTH_PREFIX] = if is_cont { 71 prefix[0], prefix[1], suffix[0], suffix[1], suffix[2], suffix[3], suffix[4], suffix[5], 72 suffix[6], suffix[7], 59 let suffix: &[u8; LENGTH - LENGTH_PREFIX] = if is_cont { global() localVariable
|
| /linux/tools/iio/ |
| H A D | iio_utils.h | 53 static inline int iioutils_check_suffix(const char *str, const char *suffix) in iioutils_check_suffix() argument 55 return strlen(str) >= strlen(suffix) && in iioutils_check_suffix() 56 strncmp(str+strlen(str)-strlen(suffix), in iioutils_check_suffix() 57 suffix, strlen(suffix)) == 0; in iioutils_check_suffix()
|
| /linux/scripts/atomic/ |
| H A D | gen-atomic-fallback.sh | 228 local suffix="$1"; shift; 234 ___r = raw_${prefix}${cmpxchg}${suffix}((_ptr), ___o, (_new)); \\ 280 local suffix="$1"; shift 282 printf "#define raw_${prefix}${cmpxchg}${suffix} arch_${prefix}${cmpxchg}${suffix}\n\n" 283 printf "#ifdef arch_${prefix}try_${cmpxchg}${suffix}\n" 284 printf "#define raw_${prefix}try_${cmpxchg}${suffix} arch_${prefix}try_${cmpxchg}${suffix}\n" 286 gen_try_cmpxchg_fallback "${prefix}" "${cmpxchg}" "${suffix}"
|
| /linux/arch/loongarch/include/asm/ |
| H A D | atomic-amo.h | 25 #define ATOMIC_OP_RETURN(op, I, asm_op, c_op, mb, suffix) \ argument 26 static inline int arch_atomic_##op##_return##suffix(int i, atomic_t *v) \ 39 #define ATOMIC_FETCH_OP(op, I, asm_op, mb, suffix) \ argument 40 static inline int arch_atomic_fetch_##op##suffix(int i, atomic_t *v) \ 121 #define ATOMIC64_OP_RETURN(op, I, asm_op, c_op, mb, suffix) \ argument 122 static inline long arch_atomic64_##op##_return##suffix(long i, atomic64_t *v) \ 134 #define ATOMIC64_FETCH_OP(op, I, asm_op, mb, suffix) \ argument 135 static inline long arch_atomic64_fetch_##op##suffix(long i, atomic64_t *v) \
|
| /linux/arch/x86/include/asm/ |
| H A D | rmwcc.h | 35 #define GEN_UNARY_SUFFIXED_RMWcc(op, suffix, var, cc, clobbers...) \ argument 36 __GEN_RMWcc(op " %[var]\n\t" suffix, var, cc, \ 39 #define GEN_BINARY_SUFFIXED_RMWcc(op, suffix, var, cc, vcon, _val, clobbers...)\ argument 40 __GEN_RMWcc(op " %[val], %[var]\n\t" suffix, var, cc, \
|
| /linux/arch/x86/boot/compressed/ |
| H A D | Makefile | 150 suffix-$(CONFIG_KERNEL_GZIP) := gz 151 suffix-$(CONFIG_KERNEL_BZIP2) := bz2 152 suffix-$(CONFIG_KERNEL_LZMA) := lzma 153 suffix-$(CONFIG_KERNEL_XZ) := xz 154 suffix-$(CONFIG_KERNEL_LZO) := lzo 155 suffix-$(CONFIG_KERNEL_LZ4) := lz4 156 suffix-$(CONFIG_KERNEL_ZSTD) := zst 162 $(obj)/piggy.S: $(obj)/vmlinux.bin.$(suffix-y) $(obj)/mkpiggy FORCE
|
| /linux/scripts/ |
| H A D | Makefile.package | 29 cmd_archive = git -C $(srctree) $(git-config-tar$(suffix $@)) archive \ 32 suffix-gzip := .gz 33 suffix-bzip2 := .bz2 34 suffix-lzma := .lzma 35 suffix-xz := .xz 95 debian-orig-suffix := \ 97 $(suffix-$(KDEB_SOURCE_COMPRESS)),.unsupported-deb-src-compress)) 108 debian-orig: private orig-name = $(source)_$(version).orig.tar$(debian-orig-suffix) 110 debian-orig: linux.tar$(debian-orig-suffix) debian 174 … cmd_tar = cd $<; tar cf ../$@ $(compress-tar$(suffix $@)) --owner=root --group=root --sort=name *
|
| H A D | Makefile.modinst | 55 suffix-y := 57 suffix-$(CONFIG_MODULE_COMPRESS_GZIP) := .gz 58 suffix-$(CONFIG_MODULE_COMPRESS_XZ) := .xz 59 suffix-$(CONFIG_MODULE_COMPRESS_ZSTD) := .zst 62 modules := $(patsubst %.o, $(dst)/%.ko$(suffix-y), $(modules))
|
| /linux/tools/testing/selftests/firmware/ |
| H A D | fw_filesystem.sh | 442 suffix="$2" 445 test_batched_request_firmware$suffix $i $mode 449 test_batched_request_firmware_into_buf$suffix $i $mode 453 test_batched_request_firmware_direct$suffix $i $mode 457 test_request_firmware_nowait_uevent$suffix $i $mode 461 test_request_firmware_nowait_custom$suffix $i $mode
|
| /linux/arch/arm/kernel/ |
| H A D | entry-ftrace.S | 36 .macro __mcount suffix argument 46 bne ftrace_graph_caller\suffix 51 bne ftrace_graph_caller\suffix 139 .macro __ftrace_caller suffix argument 151 .globl ftrace_call\suffix 152 ftrace_call\suffix: 156 .globl ftrace_graph_call\suffix 157 ftrace_graph_call\suffix:
|
| /linux/sound/soc/intel/avs/ |
| H A D | utils.h | 74 #define AVS_STRING_FMT(prefix, suffix, ssp, tdm) \ argument 75 (tdm) ? prefix "%d:%d" suffix : prefix "%d" suffix, (ssp), (tdm)
|
| /linux/tools/net/ynl/pyynl/ |
| H A D | ynl_gen_c.py | 130 def get_limit_str(self, limit, default=None, suffix=''): argument 135 return str(value) + suffix 1767 def write_func_prot(self, qual_ret, name, args=None, doc=None, suffix=''): argument 1807 self.p(v + ')' + suffix) 1930 suffix = f"_{ri.type_name}" 1935 suffix += f"{direction_to_suffix[direction]}" 1938 suffix += '_req' 1940 suffix += '_dump' 1944 suffix += f"{direction_to_suffix[direction]}" 1946 suffix += op_mode_to_wrapper[ri.op_mode] [all …]
|
| /linux/drivers/net/phy/ |
| H A D | phy_led_triggers.c | 63 size_t size, const char *suffix) in phy_led_trigger_format_name() argument 66 phy->mdio.bus->id, phy->mdio.addr, suffix); in phy_led_trigger_format_name() 72 const char *suffix) in phy_led_trigger_register() argument 75 phy_led_trigger_format_name(phy, plt->name, sizeof(plt->name), suffix); in phy_led_trigger_register()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | intf.c | 66 const char *suffix; member 113 const char *suffix = mlx4_adev_devices[idx].suffix; in add_adev() local 124 adev->name = suffix; in add_adev() 225 mlx4_adev_devices[i].suffix); in mlx4_do_bond() 286 mlx4_adev_devices[i].suffix); in add_drivers()
|
| /linux/fs/afs/ |
| H A D | super.c | 227 const char *cellname, *suffix, *name = param->string; in afs_parse_source() local 270 suffix = strrchr(ctx->volname, '.'); in afs_parse_source() 271 if (suffix) { in afs_parse_source() 272 if (strcmp(suffix, ".readonly") == 0) { in afs_parse_source() 275 } else if (strcmp(suffix, ".backup") == 0) { in afs_parse_source() 278 } else if (suffix[1] == 0) { in afs_parse_source() 280 suffix = NULL; in afs_parse_source() 284 ctx->volnamesz = suffix ? in afs_parse_source() 285 suffix - ctx->volname : strlen(ctx->volname); in afs_parse_source() 308 suffix ?: "-", ctx->type, ctx->force ? " FORCE" : ""); in afs_parse_source()
|
| /linux/sound/pci/ac97/ |
| H A D | ac97_patch.h | 64 const char *suffix); 66 const char *dst, const char *suffix); 68 const char *s2, const char *suffix);
|
| /linux/drivers/dpll/zl3073x/ |
| H A D | prop.c | 88 const char *prefix, *suffix; in zl3073x_prop_pin_package_label_set() local 106 suffix = zl3073x_is_p_pin(id) ? "P" : "N"; in zl3073x_prop_pin_package_label_set() 108 suffix = ""; /* No suffix for differential one */ in zl3073x_prop_pin_package_label_set() 111 prefix, id / 2, suffix); in zl3073x_prop_pin_package_label_set()
|
| /linux/drivers/bluetooth/ |
| H A D | btqca.c | 260 const char *suffix = strrchr(filename, '.'); in qca_filename_has_extension() local 263 if (!suffix || suffix == filename || *(suffix + 1) == '\0') in qca_filename_has_extension() 267 return !strchr(suffix, '/'); in qca_filename_has_extension() 273 const char *suffix; in qca_get_alt_nvm_file() local 277 suffix = strrchr(filename, '.'); in qca_get_alt_nvm_file() 278 strscpy(fwname, filename, suffix - filename + 1); in qca_get_alt_nvm_file() 279 snprintf(fwname + (suffix - filename), in qca_get_alt_nvm_file() 280 sizeof(fwname) - (suffix - filename), ".bin"); in qca_get_alt_nvm_file()
|
| /linux/rust/zerocopy/src/ |
| H A D | ref.rs | 235 let (bytes, suffix) = bytes.split_at(mem::size_of::<T>()).map_err( in sized_from_prefix() 245 Ok((r, suffix)) in sized_from_prefix() 383 let (bytes, suffix) = source.split_at(split_at).map_err(|b| SizeError::new(b).into())?; in from_prefix() 389 Ok((r, suffix)) in from_prefix() 604 let (bytes, suffix) = unsafe { source.split_at_unchecked(split_at) }; in from_suffix_with_elems() 605 Self::from_bytes(suffix).map(move |l| (bytes, l)) in from_suffix_with_elems() 1099 let (r, suffix) = Ref::<_, AU64>::from_prefix(&mut buf.t[..]).unwrap(); in test_new_aligned_sized() 1100 assert!(suffix.is_empty()); in test_new_aligned_sized() 1132 let (r, suffix) = Ref::<_, [AU64]>::from_prefix_with_elems(&mut buf.t[..], 1).unwrap(); in test_new_aligned_sized() 1133 assert_eq!(suffix, &ascending[8..]); in test_new_aligned_sized() [all …]
|