Lines Matching refs:mapind
294 int i, mapind, nummaps = 0; in fwnode_iio_channel_get_all() local
314 for (mapind = 0; mapind < nummaps; mapind++) { in fwnode_iio_channel_get_all()
315 ret = __fwnode_iio_channel_get(&chans[mapind], fwnode, mapind); in fwnode_iio_channel_get_all()
322 for (i = 0; i < mapind; i++) in fwnode_iio_channel_get_all()
455 int mapind = 0; in iio_channel_get_all() local
495 chans[mapind].indio_dev = c->indio_dev; in iio_channel_get_all()
496 chans[mapind].data = c->map->consumer_data; in iio_channel_get_all()
497 chans[mapind].channel = in iio_channel_get_all()
498 iio_chan_spec_from_name(chans[mapind].indio_dev, in iio_channel_get_all()
500 if (!chans[mapind].channel) { in iio_channel_get_all()
504 iio_device_get(chans[mapind].indio_dev); in iio_channel_get_all()
505 mapind++; in iio_channel_get_all()
507 if (mapind == 0) { in iio_channel_get_all()