Searched refs:hwports (Results 1 - 2 of 2) sorted by relevance

/linux-master/sound/drivers/
H A Dmtpav.c32 * - hwports is between 1 and 8, which specifies the number of hardware ports.
66 static int hwports = MTPAV_MAX_PORTS; /* use hardware ports 1-8 */ variable
76 module_param(hwports, int, 0444);
77 MODULE_PARM_DESC(hwports, "Hardware ports # for MotuMTPAV MIDI.");
628 if (hwports < 1)
629 hwports = 1;
630 else if (hwports > 8)
631 hwports = 8;
632 mcard->num_ports = hwports;
/linux-master/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_main.c3087 int hwports = adap->params.nports; local
3091 if (hwports == 2 &&
3092 (hwports * nqsets > SGE_QSETS ||
3093 num_cpus >= nqsets / hwports))
3094 nqsets /= hwports;
3097 if (nqsets < 1 || hwports == 4)

Completed in 118 milliseconds