Home
last modified time | relevance | path

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

/hardware/bsp/intel/peripheral/libmraa/src/iio/
Diio.c80 char readbuf[32]; in mraa_iio_get_channel_data() local
113 if (read(fd, readbuf, 2 * sizeof(char)) != 2) { in mraa_iio_get_channel_data()
117 chan_num = ((int) strtol(readbuf, NULL, 10)); in mraa_iio_get_channel_data()
128 read(fd, readbuf, 31 * sizeof(char)); in mraa_iio_get_channel_data()
129 ret = sscanf(readbuf, "%ce:%c%u/%u>>%u", &shortbuf, &signchar, &chan->bits_used, in mraa_iio_get_channel_data()
158 if (read(fd, readbuf, 2 * sizeof(char)) != 2) { in mraa_iio_get_channel_data()
164 chan->enabled = (int) strtol(readbuf, NULL, 10); in mraa_iio_get_channel_data()
368 char readbuf[32]; in mraa_iio_get_event_data() local
375 memset(readbuf, 0, 32); in mraa_iio_get_event_data()
405 if (read(fd, readbuf, 2 * sizeof(char)) != 2) { in mraa_iio_get_event_data()
[all …]