Searched refs:hwports (Results 1 – 3 of 3) sorted by relevance
82 static int hwports = MTPAV_MAX_PORTS; /* use hardware ports 1-8 */ variable92 module_param(hwports, int, 0444);93 MODULE_PARM_DESC(hwports, "Hardware ports # for MotuMTPAV MIDI.");643 if (hwports < 1) in snd_mtpav_get_RAWMIDI()644 hwports = 1; in snd_mtpav_get_RAWMIDI()645 else if (hwports > 8) in snd_mtpav_get_RAWMIDI()646 hwports = 8; in snd_mtpav_get_RAWMIDI()647 mcard->num_ports = hwports; in snd_mtpav_get_RAWMIDI()
3074 int hwports = adap->params.nports; in set_nqsets() local3078 if (hwports == 2 && in set_nqsets()3079 (hwports * nqsets > SGE_QSETS || in set_nqsets()3080 num_cpus >= nqsets / hwports)) in set_nqsets()3081 nqsets /= hwports; in set_nqsets()3084 if (nqsets < 1 || hwports == 4) in set_nqsets()
1375 hwports - number of supported hardware ports, default=8.