Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/iio/
A Dinkern.c294 int i, mapind, nummaps = 0; in fwnode_iio_channel_get_all() local
300 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() local
477 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 …]

Completed in 5 milliseconds