Searched refs:maxdev (Results 1 – 4 of 4) sorted by relevance
67 static int maxdev = 10; /* MAX number of SLCAN channels; variable70 module_param(maxdev, int, 0);71 MODULE_PARM_DESC(maxdev, "Maximum number of slcan interfaces");501 for (i = 0; i < maxdev; i++) { in slc_sync()524 for (i = 0; i < maxdev; i++) { in slc_alloc()532 if (i >= maxdev) in slc_alloc()715 if (maxdev < 4) in slcan_init()716 maxdev = 4; /* Sanity */ in slcan_init()719 pr_info("slcan: %d dynamic interface channels.\n", maxdev); in slcan_init()721 slcan_devs = kcalloc(maxdev, sizeof(struct net_device *), GFP_KERNEL); in slcan_init()[all …]
48 can be changed by the 'maxdev=xx' module option. This driver can
1280 adapter->maxdev = (adapter->wide ? 16 : 8); in blogic_rdconfig()1544 adapter->maxdev = (adapter->wide ? 16 : 8); in blogic_rdconfig()1694 unsigned short alltgt_mask = (1 << adapter->maxdev) - 1; in blogic_reportconfig()1757 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) in blogic_reportconfig()1760 syncstr[adapter->maxdev] = '\0'; in blogic_reportconfig()1770 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) in blogic_reportconfig()1773 widestr[adapter->maxdev] = '\0'; in blogic_reportconfig()1781 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) in blogic_reportconfig()1784 discon_str[adapter->maxdev] = '\0'; in blogic_reportconfig()1792 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) in blogic_reportconfig()[all …]
1016 unsigned short maxdev; member