Searched refs:nummaps (Results 1 – 1 of 1) sorted by relevance
231 int i, mapind, nummaps = 0; in of_iio_channel_get_all() local238 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()414 int nummaps = 0; in iio_channel_get_all() local433 nummaps++; in iio_channel_get_all()435 if (nummaps == 0) { in iio_channel_get_all()441 chans = kcalloc(nummaps + 1, sizeof(*chans), GFP_KERNEL); in iio_channel_get_all()[all …]