Searched refs:iio_dir (Results 1 – 4 of 4) sorted by relevance
/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 | 20 extern const char *iio_dir;
|
D | iio_utils.c | 15 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()
|
D | iio_generic_buffer.c | 456 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()
|