Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/iio/
Dinkern.c231 int i, mapind, nummaps = 0; in of_iio_channel_get_all() local
238 nummaps, NULL); in of_iio_channel_get_all()
241 } while (++nummaps); in of_iio_channel_get_all()
243 if (nummaps == 0) /* no error, return NULL to search map table */ in of_iio_channel_get_all()
247 chans = kcalloc(nummaps + 1, sizeof(*chans), GFP_KERNEL); in of_iio_channel_get_all()
252 for (mapind = 0; mapind < nummaps; mapind++) { in of_iio_channel_get_all()
364 int nummaps = 0; in iio_channel_get_all() local
383 nummaps++; in iio_channel_get_all()
385 if (nummaps == 0) { in iio_channel_get_all()
391 chans = kzalloc(sizeof(*chans)*(nummaps + 1), GFP_KERNEL); in iio_channel_get_all()
[all …]