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");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()[all …]
48 can be changed by the 'maxdev=xx' module option. This driver can
1387 adapter->maxdev = (adapter->wide ? 16 : 8); in blogic_rdconfig()1659 adapter->maxdev = (adapter->wide ? 16 : 8); in blogic_rdconfig()1824 unsigned short alltgt_mask = (1 << adapter->maxdev) - 1; in blogic_reportconfig()1891 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) in blogic_reportconfig()1894 syncstr[adapter->maxdev] = '\0'; in blogic_reportconfig()1904 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) in blogic_reportconfig()1907 widestr[adapter->maxdev] = '\0'; in blogic_reportconfig()1915 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) in blogic_reportconfig()1918 discon_str[adapter->maxdev] = '\0'; in blogic_reportconfig()1926 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) in blogic_reportconfig()[all …]
1027 unsigned short maxdev; member