Searched refs:nbdevs (Results 1 - 2 of 2) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/
H A Dpcxx.c129 static int nbdevs = 0; variable
259 if (ch >= digi_channels && ch < digi_channels+nbdevs) {
410 if(line < 0 || line >= nbdevs) {
1182 nbdevs += boards[i].numports;
1184 if (nbdevs <= 0)
1194 digi_channels = kmalloc(sizeof(struct channel) * nbdevs, GFP_KERNEL);
1199 memset(digi_channels, 0, sizeof(struct channel) * nbdevs);
1201 pcxe_table = kmalloc(sizeof(struct tty_struct *) * nbdevs, GFP_KERNEL);
1206 memset(pcxe_table, 0, sizeof(struct tty_struct *) * nbdevs);
1208 pcxe_termios = kmalloc(sizeof(struct termios *) * nbdevs, GFP_KERNE
[all...]
H A Depca.c85 static int pc_refcount, nbdevs, num_cards, liloconfig; variable
465 if ((ch >= &digi_channels[0]) && (ch < &digi_channels[nbdevs]))
1391 if (line < 0 || line >= nbdevs)
1661 nbdevs = NBDEVS;
1670 nbdevs and num_cards will equal 0 at this point. This is
1976 nbdevs += (bd->numports);
1988 epcaassert(ch <= &digi_channels[nbdevs - 1], "ch out of range");
2292 epcaassert(chan0 <= &digi_channels[nbdevs - 1], "ch out of range");
3699 nbdevs = 0;
3747 nbdevs
[all...]

Completed in 82 milliseconds