Searched refs:iio_dir (Results 1 – 5 of 5) sorted by relevance
/linux-5.19.10/tools/iio/ |
D | lsiio.c | 64 ret = sscanf(dev_dir_name + strlen(iio_dir) + strlen(type_device), "%i", in dump_one_device() 87 ret = sscanf(dev_dir_name + strlen(iio_dir) + strlen(type_trigger), in dump_one_trigger() 107 dp = opendir(iio_dir); in dump_devices() 117 if (asprintf(&dev_dir_name, "%s%s", iio_dir, in dump_devices() 139 if (asprintf(&dev_dir_name, "%s%s", iio_dir, in dump_devices()
|
D | iio_utils.h | 21 extern const char *iio_dir;
|
D | iio_utils.c | 15 const char *iio_dir = "/sys/bus/iio/devices/"; variable 577 dp = opendir(iio_dir); in find_type_by_name() 606 filename = malloc(strlen(iio_dir) + strlen(type) in find_type_by_name() 613 ret = sprintf(filename, "%s%s%d/name", iio_dir, in find_type_by_name()
|
D | iio_generic_buffer.c | 464 ret = asprintf(&dev_dir_name, "%siio:device%d", iio_dir, dev_num); in main() 485 ret = asprintf(&trig_dev_name, "%strigger%d", iio_dir, trig_num); in main() 598 "%siio:device%d/buffer%d", iio_dir, dev_num, buffer_idx); in main()
|
D | iio_event_monitor.c | 357 ret = asprintf(&dev_dir_name, "%siio:device%d", iio_dir, dev_num); in main()
|