Home
last modified time | relevance | path

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

/drivers/char/agp/
Disoch.c35 static void agp_3_5_dev_list_sort(struct agp_3_5_dev *list, unsigned int ndevs) in agp_3_5_dev_list_sort() argument
64 struct agp_3_5_dev *dev_list, unsigned int ndevs) in agp_3_5_isochronous_node_enable() argument
95 if ((master = kmalloc(ndevs * sizeof(*master), GFP_KERNEL)) == NULL) { in agp_3_5_isochronous_node_enable()
116 agp_3_5_dev_list_sort(dev_list, ndevs); in agp_3_5_isochronous_node_enable()
181 for (cdev=0; cdev<ndevs; cdev++) { in agp_3_5_isochronous_node_enable()
208 for (cdev=0; cdev<ndevs; cdev++) { in agp_3_5_isochronous_node_enable()
222 master[ndevs-1].n += rem; in agp_3_5_isochronous_node_enable()
242 step = rq_async / ndevs; in agp_3_5_isochronous_node_enable()
243 rem_async = step + (rq_async % ndevs); in agp_3_5_isochronous_node_enable()
248 for (cdev=0; cdev<ndevs; cdev++) { in agp_3_5_isochronous_node_enable()
[all …]
/drivers/staging/comedi/drivers/
Dcomedi_bond.c66 unsigned ndevs; member
252 (devpriv->ndevs + 1) * sizeof(*devs), in do_dev_config()
261 devpriv->devs[devpriv->ndevs++] = bdev; in do_dev_config()
318 devpriv->nchans, devpriv->ndevs); in bonding_attach()
331 while (devpriv->ndevs--) { in bonding_detach()
334 bdev = devpriv->devs[devpriv->ndevs]; in bonding_detach()
/drivers/staging/board/
Dboard.c204 unsigned int ndevs) in board_staging_register_devices() argument
208 for (i = 0; i < ndevs; i++) in board_staging_register_devices()
Dboard.h32 unsigned int ndevs);
/drivers/vme/
Dvme.c1474 struct vme_bridge *bridge, unsigned int ndevs) in __vme_register_driver_bus() argument
1481 for (i = 0; i < ndevs; i++) { in __vme_register_driver_bus()
1520 static int __vme_register_driver(struct vme_driver *drv, unsigned int ndevs) in __vme_register_driver() argument
1534 err = __vme_register_driver_bus(drv, bridge, ndevs); in __vme_register_driver()
1542 int vme_register_driver(struct vme_driver *drv, unsigned int ndevs) in vme_register_driver() argument
1554 err = __vme_register_driver(drv, ndevs); in vme_register_driver()
/drivers/tty/
Dnozomi.c410 static struct nozomi *ndevs[NOZOMI_MAX_CARDS]; variable
420 return tty ? ndevs[tty->index / MAX_PORT] : NULL; in get_dc_by_tty()
1362 for (ndev_idx = 0; ndev_idx < ARRAY_SIZE(ndevs); ndev_idx++) in nozomi_card_init()
1363 if (!ndevs[ndev_idx]) in nozomi_card_init()
1366 if (ndev_idx >= ARRAY_SIZE(ndevs)) { in nozomi_card_init()
1448 ndevs[ndev_idx] = dc; in nozomi_card_init()
1560 ndevs[dc->index_start / MAX_PORT] = NULL; in nozomi_card_exit()