Searched refs:nummaps (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/iio/ |
| H A D | inkern.c | 228 int i, mapind, nummaps = 0; in of_iio_channel_get_all() local 235 nummaps, NULL); in of_iio_channel_get_all() 238 } while (++nummaps); in of_iio_channel_get_all() 240 if (nummaps == 0) /* no error, return NULL to search map table */ in of_iio_channel_get_all() 244 chans = kcalloc(nummaps + 1, sizeof(*chans), GFP_KERNEL); in of_iio_channel_get_all() 249 for (mapind = 0; mapind < nummaps; mapind++) { in of_iio_channel_get_all() 392 int nummaps = 0; in iio_channel_get_all() local 411 nummaps++; in iio_channel_get_all() 413 if (nummaps == 0) { in iio_channel_get_all() 419 chans = kcalloc(nummaps + 1, sizeof(*chans), GFP_KERNEL); in iio_channel_get_all() [all …]
|
| /OK3568_Linux_fs/external/xserver/dix/ |
| H A D | dispatch.c | 2500 int nummaps, rc; in ProcListInstalledColormaps() local 2523 nummaps = (*pWin->drawable.pScreen->ListInstalledColormaps) in ProcListInstalledColormaps() 2525 preply->nColormaps = nummaps; in ProcListInstalledColormaps() 2526 preply->length = nummaps; in ProcListInstalledColormaps() 2529 WriteSwappedDataToClient(client, nummaps * sizeof(Colormap), &preply[1]); in ProcListInstalledColormaps()
|
| H A D | colormap.c | 2472 int imap, nummaps, found; in IsMapInstalled() local 2478 nummaps = (*pWin->drawable.pScreen->ListInstalledColormaps) in IsMapInstalled() 2481 for (imap = 0; imap < nummaps; imap++) { in IsMapInstalled()
|