Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/iio/
Dinkern.c229 int i, mapind, nummaps = 0; in of_iio_channel_get_all() local
236 nummaps, NULL); in of_iio_channel_get_all()
239 } while (++nummaps); in of_iio_channel_get_all()
241 if (nummaps == 0) /* no error, return NULL to search map table */ in of_iio_channel_get_all()
245 chans = kcalloc(nummaps + 1, sizeof(*chans), GFP_KERNEL); in of_iio_channel_get_all()
250 for (mapind = 0; mapind < nummaps; mapind++) { in of_iio_channel_get_all()
412 int nummaps = 0; in iio_channel_get_all() local
431 nummaps++; in iio_channel_get_all()
433 if (nummaps == 0) { in iio_channel_get_all()
439 chans = kcalloc(nummaps + 1, sizeof(*chans), GFP_KERNEL); in iio_channel_get_all()
[all …]