Searched refs:maxdev (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/net/can/
H A Dslcan.c66 static int maxdev = 10; /* MAX number of SLCAN channels; variable
68 insmod slcan.ko maxdev=nnn */
69 module_param(maxdev, int, 0);
70 MODULE_PARM_DESC(maxdev, "Maximum number of slcan interfaces");
497 for (i = 0; i < maxdev; i++) { slc_sync()
518 for (i = 0; i < maxdev; i++) { slc_alloc()
526 if (i >= maxdev) slc_alloc()
700 if (maxdev < 4) slcan_init()
701 maxdev = 4; /* Sanity */ slcan_init()
704 pr_info("slcan: %d dynamic interface channels.\n", maxdev); slcan_init()
706 slcan_devs = kzalloc(sizeof(struct net_device *)*maxdev, GFP_KERNEL); slcan_init()
737 for (i = 0; i < maxdev; i++) { slcan_exit()
754 for (i = 0; i < maxdev; i++) { slcan_exit()
/linux-4.1.27/drivers/scsi/
H A DBusLogic.c1392 adapter->maxdev = (adapter->wide ? 16 : 8); blogic_rdconfig()
1664 adapter->maxdev = (adapter->wide ? 16 : 8); blogic_rdconfig()
1829 unsigned short alltgt_mask = (1 << adapter->maxdev) - 1; blogic_reportconfig()
1896 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) blogic_reportconfig()
1899 syncstr[adapter->maxdev] = '\0'; blogic_reportconfig()
1909 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) blogic_reportconfig()
1912 widestr[adapter->maxdev] = '\0'; blogic_reportconfig()
1920 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) blogic_reportconfig()
1923 discon_str[adapter->maxdev] = '\0'; blogic_reportconfig()
1931 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) blogic_reportconfig()
1934 tagq_str[adapter->maxdev] = '\0'; blogic_reportconfig()
1947 for (tgt_id = 1; tgt_id < adapter->maxdev; tgt_id++) blogic_reportconfig()
2077 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) { blogic_initadapter()
2225 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) blogic_inquiry()
2254 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) blogic_inquiry()
2257 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) blogic_inquiry()
2275 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) blogic_inquiry()
2278 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) blogic_inquiry()
2299 host->max_id = adapter->maxdev; blogic_inithoststruct()
2338 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) blogic_slaveconfig()
3364 for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) { blogic_resetadapter()
3493 for (tgt = 0; tgt < adapter->maxdev; tgt++) { blogic_show_info()
3506 for (tgt = 0; tgt < adapter->maxdev; tgt++) { blogic_show_info()
3523 for (tgt = 0; tgt < adapter->maxdev; tgt++) { blogic_show_info()
3539 for (tgt = 0; tgt < adapter->maxdev; tgt++) { blogic_show_info()
3559 for (tgt = 0; tgt < adapter->maxdev; tgt++) { blogic_show_info()
H A DBusLogic.h1034 unsigned short maxdev; member in struct:blogic_adapter

Completed in 140 milliseconds