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.");622 if (hwports < 1) in snd_mtpav_get_RAWMIDI()623 hwports = 1; in snd_mtpav_get_RAWMIDI()624 else if (hwports > 8) in snd_mtpav_get_RAWMIDI()625 hwports = 8; in snd_mtpav_get_RAWMIDI()626 mcard->num_ports = hwports; in snd_mtpav_get_RAWMIDI()
3087 int hwports = adap->params.nports; in set_nqsets() local3091 if (hwports == 2 && in set_nqsets()3092 (hwports * nqsets > SGE_QSETS || in set_nqsets()3093 num_cpus >= nqsets / hwports)) in set_nqsets()3094 nqsets /= hwports; in set_nqsets()3097 if (nqsets < 1 || hwports == 4) in set_nqsets()
1643 hwports