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");498 for (i = 0; i < maxdev; i++) { in slc_sync()520 for (i = 0; i < maxdev; i++) { in slc_alloc()528 if (i >= maxdev) in slc_alloc()705 if (maxdev < 4) in slcan_init()706 maxdev = 4; /* Sanity */ in slcan_init()709 pr_info("slcan: %d dynamic interface channels.\n", maxdev); in slcan_init()711 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
1386 adapter->maxdev = (adapter->wide ? 16 : 8); in blogic_rdconfig()1658 adapter->maxdev = (adapter->wide ? 16 : 8); in blogic_rdconfig()1823 unsigned short alltgt_mask = (1 << adapter->maxdev) - 1; in blogic_reportconfig()1890 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) in blogic_reportconfig()1893 syncstr[adapter->maxdev] = '\0'; in blogic_reportconfig()1903 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) in blogic_reportconfig()1906 widestr[adapter->maxdev] = '\0'; in blogic_reportconfig()1914 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) in blogic_reportconfig()1917 discon_str[adapter->maxdev] = '\0'; in blogic_reportconfig()1925 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) in blogic_reportconfig()[all …]
1027 unsigned short maxdev; member