Searched refs:ndevs (Results 1 – 4 of 4) sorted by relevance
35 static void agp_3_5_dev_list_sort(struct agp_3_5_dev *list, unsigned int ndevs) in agp_3_5_dev_list_sort() argument64 struct agp_3_5_dev *dev_list, unsigned int ndevs) in agp_3_5_isochronous_node_enable() argument95 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 …]
162 unsigned ndevs; member271 devpriv->nchans, devpriv->ndevs); in bonding_attach()309 for (i = 0; num_done < nchans && i < devpriv->ndevs; ++i) { in bonding_dio_insn_bits()466 tmp = devpriv->ndevs * sizeof(bdev); in doDevConfig()469 ++devpriv->ndevs * sizeof(bdev), tmp); in doDevConfig()476 devpriv->devs[devpriv->ndevs - 1] = bdev; in doDevConfig()505 while (devpriv->ndevs-- && devpriv->devs) { in doDevUnconfig()508 bdev = devpriv->devs[devpriv->ndevs]; in doDevUnconfig()
413 static struct nozomi *ndevs[NOZOMI_MAX_CARDS]; variable421 return tty ? ndevs[tty->index / MAX_PORT] : NULL; in get_dc_by_tty()1375 for (ndev_idx = 0; ndev_idx < ARRAY_SIZE(ndevs); ndev_idx++) in nozomi_card_init()1376 if (!ndevs[ndev_idx]) in nozomi_card_init()1379 if (ndev_idx >= ARRAY_SIZE(ndevs)) { in nozomi_card_init()1451 ndevs[ndev_idx] = dc; in nozomi_card_init()1545 ndevs[dc->index_start / MAX_PORT] = NULL; in nozomi_card_exit()
1917 static int ndevs; variable1930 for( i=0; i<ndevs; i++ ) { in ewrk3_exit_module()1957 ewrk3_devs[ndevs++] = dev; in ewrk3_init_module()1961 return ndevs ? 0 : -EIO; in ewrk3_init_module()