Searched refs:nummaps (Results 1 – 1 of 1) sorted by relevance
294 int i, mapind, nummaps = 0; in fwnode_iio_channel_get_all() local300 nummaps, NULL); in fwnode_iio_channel_get_all()303 } while (++nummaps); in fwnode_iio_channel_get_all()305 if (nummaps == 0) in fwnode_iio_channel_get_all()309 chans = kcalloc(nummaps + 1, sizeof(*chans), GFP_KERNEL); in fwnode_iio_channel_get_all()314 for (mapind = 0; mapind < nummaps; mapind++) { in fwnode_iio_channel_get_all()454 int nummaps = 0; in iio_channel_get_all() local477 nummaps++; in iio_channel_get_all()479 if (nummaps == 0) { in iio_channel_get_all()485 chans = kcalloc(nummaps + 1, sizeof(*chans), GFP_KERNEL); in iio_channel_get_all()[all …]