Searched refs:buffer_idx (Results 1 – 6 of 6) sorted by relevance
| /linux/tools/iio/ |
| H A D | iio_generic_buffer.c | 267 static int enable_disable_all_channels(char *dev_dir_name, int buffer_idx, int enable) in print_usage() 275 FORMAT_SCAN_ELEMENTS_DIR, dev_dir_name, buffer_idx); 330 static int buffer_idx = 0; in register_cleanup() 358 ret = enable_disable_all_channels(dev_dir_name, buffer_idx, 0); in main() 438 buffer_idx = strtoll(optarg, &dummy, 10); in main() 443 if (buffer_idx < 0) { in main() 609 ret = build_channel_array(dev_dir_name, buffer_idx, &channels, &num_channels); in main() 626 ret = enable_disable_all_channels(dev_dir_name, buffer_idx, 1); in main() 635 ret = build_channel_array(dev_dir_name, buffer_idx, &channels, in main() 656 "try again.\n", dev_dir_name, buffer_idx); in main() 213 enable_disable_all_channels(char * dev_dir_name,int buffer_idx,int enable) enable_disable_all_channels() argument 276 static int buffer_idx = 0; global() variable [all...] |
| H A D | iio_utils.c | 80 * @buffer_idx: the IIO buffer index 89 const char *device_dir, int buffer_idx, in iioutils_get_type() argument 100 ret = asprintf(&scan_el_dir, FORMAT_SCAN_ELEMENTS_DIR, device_dir, buffer_idx); in iioutils_get_type() 309 * @buffer_idx: the IIO buffer for this channel array 315 int build_channel_array(const char *device_dir, int buffer_idx, in build_channel_array() argument 328 ret = asprintf(&scan_el_dir, FORMAT_SCAN_ELEMENTS_DIR, device_dir, buffer_idx); in build_channel_array() 497 buffer_idx, in build_channel_array()
|
| H A D | iio_utils.h | 65 int build_channel_array(const char *device_dir, int buffer_idx,
|
| /linux/tools/perf/util/ |
| H A D | ordered-events.c | 144 new = &oe->buffer->event[oe->buffer_idx]; in alloc_event() 145 if (++oe->buffer_idx == MAX_SAMPLE_BUFFER) in alloc_event() 160 oe->buffer_idx = 1; in alloc_event() 400 ordered_events_buffer__free(oe->buffer, oe->buffer_idx, oe); in ordered_events__free()
|
| H A D | ordered-events.h | 48 int buffer_idx; member
|
| /linux/drivers/platform/goldfish/ |
| H A D | goldfish_pipe.c | 300 int buffer_idx = 0; in populate_rw_params() local 312 command->rw_params.sizes[buffer_idx] += size_on_page; in populate_rw_params() 314 ++buffer_idx; in populate_rw_params() 315 command->rw_params.ptrs[buffer_idx] = (u64)xaddr; in populate_rw_params() 316 command->rw_params.sizes[buffer_idx] = size_on_page; in populate_rw_params() 320 command->rw_params.buffers_count = buffer_idx + 1; in populate_rw_params()
|