Searched refs:IIO_SYSFS_DEVICE (Results 1 – 1 of 1) sorted by relevance
/hardware/bsp/intel/peripheral/libmraa/src/iio/ |
D | iio.c | 38 #define IIO_SYSFS_DEVICE "/sys/bus/iio/devices/" IIO_DEVICE macro 90 snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_SCAN_ELEM, dev->num); in mraa_iio_get_channel_data() 110 … snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_SCAN_ELEM "/%s", dev->num, ent->d_name); in mraa_iio_get_channel_data() 244 snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/%s", dev->num, attr_name); in mraa_iio_read_string() 277 snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/%s", dev->num, attr_name); in mraa_iio_write_string() 376 snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_EVENTS, dev->num); in mraa_iio_get_event_data() 402 … snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_EVENTS "/%s", dev->num, ent->d_name); in mraa_iio_get_event_data() 549 snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_MOUNTING_MATRIX, dev->num); in mraa_iio_get_mounting_matrix() 595 snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_SCAN_ELEM, dev->num); in mraa_iio_update_channels() 600 … snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_SCAN_ELEM "/%s", dev->num, ent->d_name); in mraa_iio_update_channels()
|