Lines Matching refs:maxdev
67 static int maxdev = 10; /* MAX number of SLCAN channels; variable
70 module_param(maxdev, int, 0);
71 MODULE_PARM_DESC(maxdev, "Maximum number of slcan interfaces");
500 for (i = 0; i < maxdev; i++) { in slc_sync()
523 for (i = 0; i < maxdev; i++) { in slc_alloc()
531 if (i >= maxdev) in slc_alloc()
714 if (maxdev < 4) in slcan_init()
715 maxdev = 4; /* Sanity */ in slcan_init()
718 pr_info("slcan: %d dynamic interface channels.\n", maxdev); in slcan_init()
720 slcan_devs = kcalloc(maxdev, sizeof(struct net_device *), GFP_KERNEL); in slcan_init()
751 for (i = 0; i < maxdev; i++) { in slcan_exit()
768 for (i = 0; i < maxdev; i++) { in slcan_exit()