Searched refs:maxdev (Results 1 – 4 of 4) sorted by relevance
66 static int maxdev = 10; /* MAX number of SLCAN channels; variable69 module_param(maxdev, int, 0);70 MODULE_PARM_DESC(maxdev, "Maximum number of slcan interfaces");497 for (i = 0; i < maxdev; i++) { in slc_sync()518 for (i = 0; i < maxdev; i++) { in slc_alloc()526 if (i >= maxdev) in slc_alloc()700 if (maxdev < 4) in slcan_init()701 maxdev = 4; /* Sanity */ in slcan_init()704 pr_info("slcan: %d dynamic interface channels.\n", maxdev); in slcan_init()706 slcan_devs = kzalloc(sizeof(struct net_device *)*maxdev, GFP_KERNEL); in slcan_init()[all …]
29 can be changed by the 'maxdev=xx' module option. This driver can
1392 adapter->maxdev = (adapter->wide ? 16 : 8); in blogic_rdconfig()1664 adapter->maxdev = (adapter->wide ? 16 : 8); in blogic_rdconfig()1829 unsigned short alltgt_mask = (1 << adapter->maxdev) - 1; in blogic_reportconfig()1896 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) in blogic_reportconfig()1899 syncstr[adapter->maxdev] = '\0'; in blogic_reportconfig()1909 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) in blogic_reportconfig()1912 widestr[adapter->maxdev] = '\0'; in blogic_reportconfig()1920 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) in blogic_reportconfig()1923 discon_str[adapter->maxdev] = '\0'; in blogic_reportconfig()1931 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) in blogic_reportconfig()[all …]
1034 unsigned short maxdev; member