Home
last modified time | relevance | path

Searched refs:iio_dir (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/tools/iio/
Dlsiio.c64 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()
Diio_utils.h21 extern const char *iio_dir;
Diio_utils.c15 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()
Diio_generic_buffer.c464 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()
Diio_event_monitor.c357 ret = asprintf(&dev_dir_name, "%siio:device%d", iio_dir, dev_num); in main()