Lines Matching refs:ports
32 * - hwports is between 1 and 8, which specifies the number of hardware ports.
33 * The three global ports, computer, adat and broadcast ports, are created
34 * always after h/w and remote ports.
67 static int hwports = MTPAV_MAX_PORTS; /* use hardware ports 1-8 */
78 MODULE_PARM_DESC(hwports, "Hardware ports # for MotuMTPAV MIDI.");
133 int num_ports; /* number of hw ports (1-8) */
134 struct mtpav_port ports[NUMPORTS]; /* all ports including computer, adat and bc */
144 * possible hardware ports (selected by 0xf5 port message)
145 * 0x00 all ports
146 * 0x01 .. 0x08 this MTP's ports 1..8
147 * 0x09 .. 0x10 networked MTP's ports (9..16)
152 * subdevice 0 - (X-1) ports
153 * X - (2*X-1) networked ports
156 * X+2 all ports
178 return 0; /* all ports */
184 if (hwport <= 0x00) /* all ports */
310 struct mtpav_port *portp = &mtp_card->ports[substream->number];
340 struct mtpav_port *portp = &mtp_card->ports[substream->number];
358 struct mtpav_port *portp = &mtp_card->ports[substream->number];
376 struct mtpav_port *portp = &mtp_card->ports[substream->number];
404 struct mtpav_port *portp = &chip->ports[p];
429 struct mtpav_port *portp = &mtp_card->ports[substream->number];
445 struct mtpav_port *portp = &mtp_card->ports[substream->number];
461 struct mtpav_port *portp = &mtp_card->ports[substream->number];
493 portp = &mcrd->ports[mcrd->inmidiport];
649 mcard->ports[substream->number].hwport = translate_subdevice_to_hwport(mcard, substream->number);