Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/net/wan/
Dcycx_main.c90 static int ncards = CONFIG_CYCLOMX_CARDS; variable
115 ncards = min_t(int, ncards, MAX_CARDS); in cyclomx_init()
116 ncards = max_t(int, ncards, 1); in cyclomx_init()
117 card_array = kmalloc(sizeof(cycx_t) * ncards, GFP_KERNEL); in cyclomx_init()
121 memset(card_array, 0, sizeof(cycx_t) * ncards); in cyclomx_init()
124 for (cnt = 0; cnt < ncards; ++cnt) { in cyclomx_init()
151 ncards = cnt; /* adjust actual number of cards */ in cyclomx_init()
164 for (; i < ncards; ++i) { in cyclomx_cleanup()
Dsdlamain.c228 static int ncards = 0; variable
291 ncards = wanpipe_hw_probe(); in init_module()
292 if (ncards){ in init_module()
293 …intk(KERN_INFO "wanpipe: Allocating maximum %i devices: wanpipe%i - wanpipe%i.\n",ncards,1,ncards); in init_module()
300 card_array = kmalloc(sizeof(sdla_t) * ncards, GFP_KERNEL); in init_module()
304 memset(card_array, 0, sizeof(sdla_t) * ncards); in init_module()
307 for (cnt = 0; cnt < ncards; ++ cnt) { in init_module()
329 ncards = cnt; /* adjust actual number of cards */ in init_module()
349 if (!ncards) in cleanup_module()
352 for (i = 0; i < ncards; ++i) { in cleanup_module()
[all …]
/linux-2.4.37.9/drivers/isdn/avmb1/
Dt1pci.c229 static int ncards = 0; variable
281 ncards++; in t1pci_init()
283 if (ncards) { in t1pci_init()
285 driver->name, ncards); in t1pci_init()
Db1pci.c404 static int ncards = 0; variable
509 ncards++; in b1pci_init()
511 if (ncards) { in b1pci_init()
513 driver->name, ncards); in b1pci_init()
Dc4.c1293 static int ncards = 0; variable
1349 ncards++; in search_cards()
1373 if (retval && ncards == 0) { in c4_init()
1380 if (retval && ncards == 0) { in c4_init()
1387 if (ncards) { in c4_init()
1389 c4_driver.name, ncards); in c4_init()
Dkcapi.c118 static int ncards = 0; variable
993 ncards++; in drivercb_attach_ctr()
1012 ncards--; in drivercb_detach_ctr()
1175 if (ncards == 0) in capi_put_message()
1291 profp->ncontroller = ncards; in capi_get_profile()