Searched refs:chan_num (Results 1 – 2 of 2) sorted by relevance
70 return dev->chan_num; in mraa_iio_get_channel_count()78 int chan_num = 0; in mraa_iio_get_channel_data() local95 chan_num++; in mraa_iio_get_channel_data()99 dev->chan_num = chan_num; in mraa_iio_get_channel_data()101 if (chan_num == 0) { in mraa_iio_get_channel_data()106 dev->channels = calloc(chan_num, sizeof(mraa_iio_channel)); in mraa_iio_get_channel_data()117 chan_num = ((int) strtol(readbuf, NULL, 10)); in mraa_iio_get_channel_data()118 chan = &dev->channels[chan_num]; in mraa_iio_get_channel_data()119 chan->index = chan_num; in mraa_iio_get_channel_data()587 int chan_num = 0; in mraa_iio_update_channels() local[all …]
143 int chan_num; member