Searched refs:hwports (Results 1 – 3 of 3) sorted by relevance
66 static int hwports = MTPAV_MAX_PORTS; /* use hardware ports 1-8 */ variable76 module_param(hwports, int, 0444);77 MODULE_PARM_DESC(hwports, "Hardware ports # for MotuMTPAV MIDI.");628 if (hwports < 1) in snd_mtpav_get_RAWMIDI()629 hwports = 1; in snd_mtpav_get_RAWMIDI()630 else if (hwports > 8) in snd_mtpav_get_RAWMIDI()631 hwports = 8; in snd_mtpav_get_RAWMIDI()632 mcard->num_ports = hwports; in snd_mtpav_get_RAWMIDI()
3088 int hwports = adap->params.nports; in set_nqsets() local3092 if (hwports == 2 && in set_nqsets()3093 (hwports * nqsets > SGE_QSETS || in set_nqsets()3094 num_cpus >= nqsets / hwports)) in set_nqsets()3095 nqsets /= hwports; in set_nqsets()3098 if (nqsets < 1 || hwports == 4) in set_nqsets()
1626 hwports