Searched refs:mcrd (Results 1 – 1 of 1) sorted by relevance
485 static void snd_mtpav_inmidi_process(struct mtpav *mcrd, u8 inbyte) in snd_mtpav_inmidi_process() argument489 if ((int)mcrd->inmidiport > mcrd->num_ports * 2 + MTPAV_PIDX_BROADCAST) in snd_mtpav_inmidi_process()492 portp = &mcrd->ports[mcrd->inmidiport]; in snd_mtpav_inmidi_process()497 static void snd_mtpav_inmidi_h(struct mtpav *mcrd, u8 inbyte) in snd_mtpav_inmidi_h() argument501 snd_mtpav_inmidi_process(mcrd, inbyte); in snd_mtpav_inmidi_h()505 if (mcrd->inmidistate == 0) { // awaiting command in snd_mtpav_inmidi_h()507 mcrd->inmidistate = 1; in snd_mtpav_inmidi_h()509 snd_mtpav_inmidi_process(mcrd, inbyte); in snd_mtpav_inmidi_h()510 } else if (mcrd->inmidistate) { in snd_mtpav_inmidi_h()511 mcrd->inmidiport = translate_hwport_to_subdevice(mcrd, inbyte); in snd_mtpav_inmidi_h()[all …]