Home
last modified time | relevance | path

Searched refs:input (Results 1 – 25 of 80) sorted by relevance

1234

/tools/iio/
Diio_generic_buffer.c84 static void print1byte(uint8_t input, struct iio_channel_info *info) in print1byte() argument
90 input >>= info->shift; in print1byte()
91 input &= info->mask; in print1byte()
93 int8_t val = (int8_t)(input << (8 - info->bits_used)) >> in print1byte()
97 printf("%05f ", ((float)input + info->offset) * info->scale); in print1byte()
101 static void print2byte(uint16_t input, struct iio_channel_info *info) in print2byte() argument
105 input = be16toh(input); in print2byte()
107 input = le16toh(input); in print2byte()
113 input >>= info->shift; in print2byte()
114 input &= info->mask; in print2byte()
[all …]
/tools/perf/util/
Dzstd.c62 ZSTD_inBuffer input = { src, src_size, 0 }; in zstd_compress_stream_to_records() local
66 while (input.pos < input.size) { in zstd_compress_stream_to_records()
74 ret = ZSTD_compressStream(data->cstream, &output, &input); in zstd_compress_stream_to_records()
96 ZSTD_inBuffer input = { src, src_size, 0 }; in zstd_decompress_stream() local
99 while (input.pos < input.size) { in zstd_decompress_stream()
100 ret = ZSTD_decompressStream(data->dstream, &output, &input); in zstd_decompress_stream()
Dlzma.c35 int lzma_decompress_to_file(const char *input, int output_fd) in lzma_decompress_to_file() argument
46 infile = fopen(input, "rb"); in lzma_decompress_to_file()
49 input, strerror(errno)); in lzma_decompress_to_file()
110 bool lzma_is_compressed(const char *input) in lzma_is_compressed() argument
112 int fd = open(input, O_RDONLY); in lzma_is_compressed()
Dcompress.h11 int gzip_decompress_to_file(const char *input, int output_fd);
12 bool gzip_is_compressed(const char *input);
16 int lzma_decompress_to_file(const char *input, int output_fd);
17 bool lzma_is_compressed(const char *input);
Dzlib.c16 int gzip_decompress_to_file(const char *input, int output_fd) in gzip_decompress_to_file() argument
32 input_fd = open(input, O_RDONLY); in gzip_decompress_to_file()
83 bool gzip_is_compressed(const char *input) in gzip_is_compressed() argument
85 int fd = open(input, O_RDONLY); in gzip_is_compressed()
/tools/testing/selftests/bpf/benchs/
Dbench_count.c11 static void *count_global_producer(void *input) in count_global_producer() argument
21 static void *count_global_consumer(void *input) in count_global_consumer() argument
48 static void *count_local_producer(void *input) in count_local_producer() argument
51 int idx = (long)input; in count_local_producer()
59 static void *count_local_consumer(void *input) in count_local_consumer() argument
Dbench_trigger.c21 static void *trigger_base_producer(void *input) in trigger_base_producer() argument
35 static void *trigger_producer(void *input) in trigger_producer() argument
105 static void *trigger_consumer(void *input) in trigger_consumer() argument
Dbench_rename.c26 static void *producer(void *input) in producer() argument
109 static void *consumer(void *input) in consumer() argument
Dbench_ringbufs.c109 static void *bufs_sample_producer(void *input) in bufs_sample_producer() argument
190 static void *ringbuf_libbpf_consumer(void *input) in ringbuf_libbpf_consumer() argument
325 static void *ringbuf_custom_consumer(void *input) in ringbuf_custom_consumer() argument
439 static void *perfbuf_libbpf_consumer(void *input) in perfbuf_libbpf_consumer() argument
479 static void *perfbuf_custom_consumer(void *input) in perfbuf_custom_consumer() argument
/tools/wmi/
Ddell-smbios-example.c36 buffer->std.input[0], buffer->std.input[1], in show_buffer()
37 buffer->std.input[2], buffer->std.input[3], in show_buffer()
101 buffer->std.input[0] = *location; in token_is_active()
137 buffer->std.input[0] = location; in activate_token()
138 buffer->std.input[1] = 1; in activate_token()
179 buffer->std.input[0] = 2; in main()
/tools/perf/arch/arm64/entry/syscalls/
Dmksyscalltbl15 input=$4
17 if ! test -r $input; then
59 $gcc -E -dM -x c -I $incpath/include/uapi $input \
/tools/testing/selftests/bpf/progs/
Dfor_each_hash_map_elem.c24 int input; member
44 data->output = data->input; in check_hash_elem()
69 data.input = 100; in check_percpu_elem()
87 data.input = 10; in test_pkt_access()
Dtest_stack_var_off.c8 char input[4] = {}; variable
25 __builtin_memcpy(stack_buf, input, 4); in probe()
Dtest_core_autosize.c50 struct test_struct___real input = { variable
89 struct test_struct___samesize *in = (void *)&input; in handle_samesize()
110 struct test_struct___downsize *in = (void *)&input; in handle_downsize()
141 struct test_struct___downsize *in = (void *)&input; in handle_probed()
170 struct test_struct___signed *in = (void *)&input; in handle_signed()
Dtest_btf_map_in_map.c121 int input = 0; variable
132 val = input; in handle__sys_enter()
138 val = input + 1; in handle__sys_enter()
144 val = input + 2; in handle__sys_enter()
/tools/testing/selftests/bpf/prog_tests/
Dstack_var_off.c20 skel->bss->input[0] = 2; in test_stack_var_off()
21 skel->bss->input[1] = 42; /* This will be returned in probe_res. */ in test_stack_var_off()
Dcore_reloc.c17 .input = "", \
50 .input = FLAVORS_DATA(core_reloc_##name), \
73 .input = NESTING_DATA(core_reloc_##name), \
98 .input = ARRAYS_DATA(core_reloc_##name), \
130 .input = PRIMITIVES_DATA(core_reloc_##name), \
145 .input = STRUCT_TO_CHAR_PTR(core_reloc_##name) { \
167 .input = (const char *)&(struct core_reloc_##name []){ \
197 .input = INTS_DATA(core_reloc_##name), \
221 .input = STRUCT_TO_CHAR_PTR(core_reloc_##name) __VA_ARGS__, \
229 .input = STRUCT_TO_CHAR_PTR(core_reloc_##name) __VA_ARGS__, \
[all …]
Dbtf_map_in_map.c51 skel->bss->input = 1; in test_lookup_update()
64 skel->bss->input = 3; in test_lookup_update()
75 skel->bss->input = 5; in test_lookup_update()
/tools/testing/selftests/powerpc/vphn/
Dtest-vphn.c23 long input[VPHN_REGISTER_COUNT]; member
371 vphn_unpack_associativity(test->input, output); in test_one()
/tools/perf/Documentation/
Dperf-buildid-list.txt20 file using -i/--input.
28 --input=::
Dperf-inject.txt37 --input=::
64 found in the jitdumps files captured in the input perf.data file. Use this option
75 that an output file is not specified, and instead the input file is
/tools/testing/selftests/gpio/
Dgpio-mockup.sh212 set_line input active-high
223 set_line input pull-up
229 set_line input pull-down
Dgpio-mockup-sysfs.sh56 input)
/tools/testing/kunit/qemu_configs/
Driscv.py12 response = input('yes/[no]: ')
/tools/testing/selftests/bpf/
Dtest_lirc_mode2.sh25 INPUTDEV=$(grep DEVNAME= $i/input*/event*/uevent | sed sQDEVNAME=Q/dev/Q)

1234