Home
last modified time | relevance | path

Searched refs:maxdev (Results 1 – 4 of 4) sorted by relevance

/drivers/net/can/
Dslcan.c67 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()
[all …]
DKconfig48 can be changed by the 'maxdev=xx' module option. This driver can
/drivers/scsi/
DBusLogic.c1387 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 …]
DBusLogic.h1027 unsigned short maxdev; member