Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/parport/
Ddaisy.c41 static int numdevs = 0; variable
140 add_dev (numdevs++, port, -1); in parport_daisy_init()
145 if (parport_device_id (numdevs - 1, deviceid, 1000) > 2) in parport_daisy_init()
176 if (!topology) numdevs = 0; in parport_daisy_fini()
458 int thisdev = numdevs; in assign_addrs()
512 add_dev (numdevs++, port, daisy); in assign_addrs()
516 detected = numdevs - thisdev; in assign_addrs()
524 for (daisy = 0; thisdev < numdevs; thisdev++, daisy++) in assign_addrs()
/linux-2.4.37.9/drivers/char/drm/
Ddrm_drv.h156 static int DRM(numdevs) = 0;
559 DRM(numdevs) = drm_count_cards(); in drm_init()
561 if (DRM(numdevs) <= 0) in drm_init()
562 DRM(numdevs) = 1; in drm_init()
564 DRM(device) = kmalloc(sizeof(*DRM(device)) * DRM(numdevs), GFP_KERNEL); in drm_init()
568 DRM(minor) = kmalloc(sizeof(*DRM(minor)) * DRM(numdevs), GFP_KERNEL); in drm_init()
578 for (i = 0; i < DRM(numdevs); i++) { in drm_init()
640 for (i = DRM(numdevs) - 1; i >= 0; i--) { in drm_cleanup()
677 DRM(numdevs) = 0; in drm_cleanup()
725 for (i = 0; i < DRM(numdevs); i++) { in DRM()
Dffb_drv.c353 for (i = 0; i < DRM(numdevs); i++) { in ffb_presetup()
359 if (i == DRM(numdevs)) in ffb_presetup()