portp 272 sound/drivers/mtpav.c struct mtpav_port *portp, portp 284 sound/drivers/mtpav.c if (portp->hwport != mtp_card->outmidihwport) { portp 285 sound/drivers/mtpav.c mtp_card->outmidihwport = portp->hwport; portp 288 sound/drivers/mtpav.c snd_mtpav_send_byte(mtp_card, portp->hwport); portp 293 sound/drivers/mtpav.c if (!(outbyte & 0x80) && portp->running_status) portp 294 sound/drivers/mtpav.c snd_mtpav_send_byte(mtp_card, portp->running_status); portp 301 sound/drivers/mtpav.c portp->running_status = outbyte; portp 310 sound/drivers/mtpav.c struct mtpav_port *portp = &mtp_card->ports[substream->number]; portp 314 sound/drivers/mtpav.c snd_mtpav_output_port_write(mtp_card, portp, substream); portp 340 sound/drivers/mtpav.c struct mtpav_port *portp = &mtp_card->ports[substream->number]; portp 344 sound/drivers/mtpav.c portp->mode |= MTPAV_MODE_INPUT_OPENED; portp 345 sound/drivers/mtpav.c portp->input = substream; portp 358 sound/drivers/mtpav.c struct mtpav_port *portp = &mtp_card->ports[substream->number]; portp 362 sound/drivers/mtpav.c portp->mode &= ~MTPAV_MODE_INPUT_OPENED; portp 363 sound/drivers/mtpav.c portp->input = NULL; portp 376 sound/drivers/mtpav.c struct mtpav_port *portp = &mtp_card->ports[substream->number]; portp 381 sound/drivers/mtpav.c portp->mode |= MTPAV_MODE_INPUT_TRIGGERED; portp 383 sound/drivers/mtpav.c portp->mode &= ~MTPAV_MODE_INPUT_TRIGGERED; portp 404 sound/drivers/mtpav.c struct mtpav_port *portp = &chip->ports[p]; portp 405 sound/drivers/mtpav.c if ((portp->mode & MTPAV_MODE_OUTPUT_TRIGGERED) && portp->output) portp 406 sound/drivers/mtpav.c snd_mtpav_output_port_write(chip, portp, portp->output); portp 429 sound/drivers/mtpav.c struct mtpav_port *portp = &mtp_card->ports[substream->number]; portp 433 sound/drivers/mtpav.c portp->mode |= MTPAV_MODE_OUTPUT_OPENED; portp 434 sound/drivers/mtpav.c portp->output = substream; portp 445 sound/drivers/mtpav.c struct mtpav_port *portp = &mtp_card->ports[substream->number]; portp 449 sound/drivers/mtpav.c portp->mode &= ~MTPAV_MODE_OUTPUT_OPENED; portp 450 sound/drivers/mtpav.c portp->output = NULL; portp 461 sound/drivers/mtpav.c struct mtpav_port *portp = &mtp_card->ports[substream->number]; portp 466 sound/drivers/mtpav.c if (! (portp->mode & MTPAV_MODE_OUTPUT_TRIGGERED)) { portp 469 sound/drivers/mtpav.c portp->mode |= MTPAV_MODE_OUTPUT_TRIGGERED; portp 472 sound/drivers/mtpav.c portp->mode &= ~MTPAV_MODE_OUTPUT_TRIGGERED; portp 488 sound/drivers/mtpav.c struct mtpav_port *portp; portp 493 sound/drivers/mtpav.c portp = &mcrd->ports[mcrd->inmidiport]; portp 494 sound/drivers/mtpav.c if (portp->mode & MTPAV_MODE_INPUT_TRIGGERED) portp 495 sound/drivers/mtpav.c snd_rawmidi_receive(portp->input, &inbyte, 1);