Home
last modified time | relevance | path

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

/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.h20 extern const char *iio_dir;
Diio_utils.c15 const char *iio_dir = "/sys/bus/iio/devices/"; variable
566 dp = opendir(iio_dir); in find_type_by_name()
595 filename = malloc(strlen(iio_dir) + strlen(type) in find_type_by_name()
602 ret = sprintf(filename, "%s%s%d/name", iio_dir, in find_type_by_name()
Diio_generic_buffer.c456 ret = asprintf(&dev_dir_name, "%siio:device%d", iio_dir, dev_num); in main()
477 ret = asprintf(&trig_dev_name, "%strigger%d", iio_dir, trig_num); in main()
590 "%siio:device%d/buffer", iio_dir, dev_num); in main()