Lines Matching refs:mapind
226 int i, mapind, nummaps = 0; in of_iio_channel_get_all() local
247 for (mapind = 0; mapind < nummaps; mapind++) { in of_iio_channel_get_all()
248 ret = __of_iio_channel_get(&chans[mapind], dev->of_node, in of_iio_channel_get_all()
249 mapind); in of_iio_channel_get_all()
256 for (i = 0; i < mapind; i++) in of_iio_channel_get_all()
410 int mapind = 0; in iio_channel_get_all() local
446 chans[mapind].indio_dev = c->indio_dev; in iio_channel_get_all()
447 chans[mapind].data = c->map->consumer_data; in iio_channel_get_all()
448 chans[mapind].channel = in iio_channel_get_all()
449 iio_chan_spec_from_name(chans[mapind].indio_dev, in iio_channel_get_all()
451 if (chans[mapind].channel == NULL) { in iio_channel_get_all()
455 iio_device_get(chans[mapind].indio_dev); in iio_channel_get_all()
456 mapind++; in iio_channel_get_all()
458 if (mapind == 0) { in iio_channel_get_all()