rfile 166 include/sound/rawmidi.h int mode, struct snd_rawmidi_file *rfile); rfile 167 include/sound/rawmidi.h int snd_rawmidi_kernel_release(struct snd_rawmidi_file *rfile); rfile 297 sound/core/rawmidi.c struct snd_rawmidi_file *rfile) rfile 302 sound/core/rawmidi.c rfile->input = rfile->output = NULL; rfile 332 sound/core/rawmidi.c rfile->rmidi = rmidi; rfile 333 sound/core/rawmidi.c rfile->input = sinput; rfile 334 sound/core/rawmidi.c rfile->output = soutput; rfile 340 sound/core/rawmidi.c int mode, struct snd_rawmidi_file *rfile) rfile 345 sound/core/rawmidi.c if (snd_BUG_ON(!rfile)) rfile 359 sound/core/rawmidi.c err = rawmidi_open_priv(rmidi, subdevice, mode, rfile); rfile 502 sound/core/rawmidi.c static void rawmidi_release_priv(struct snd_rawmidi_file *rfile) rfile 506 sound/core/rawmidi.c rmidi = rfile->rmidi; rfile 508 sound/core/rawmidi.c if (rfile->input) { rfile 509 sound/core/rawmidi.c close_substream(rmidi, rfile->input, 1); rfile 510 sound/core/rawmidi.c rfile->input = NULL; rfile 512 sound/core/rawmidi.c if (rfile->output) { rfile 513 sound/core/rawmidi.c close_substream(rmidi, rfile->output, 1); rfile 514 sound/core/rawmidi.c rfile->output = NULL; rfile 516 sound/core/rawmidi.c rfile->rmidi = NULL; rfile 522 sound/core/rawmidi.c int snd_rawmidi_kernel_release(struct snd_rawmidi_file *rfile) rfile 526 sound/core/rawmidi.c if (snd_BUG_ON(!rfile)) rfile 529 sound/core/rawmidi.c rmidi = rfile->rmidi; rfile 530 sound/core/rawmidi.c rawmidi_release_priv(rfile); rfile 538 sound/core/rawmidi.c struct snd_rawmidi_file *rfile; rfile 542 sound/core/rawmidi.c rfile = file->private_data; rfile 543 sound/core/rawmidi.c rmidi = rfile->rmidi; rfile 544 sound/core/rawmidi.c rawmidi_release_priv(rfile); rfile 545 sound/core/rawmidi.c kfree(rfile); rfile 725 sound/core/rawmidi.c struct snd_rawmidi_file *rfile; rfile 728 sound/core/rawmidi.c rfile = file->private_data; rfile 743 sound/core/rawmidi.c return snd_rawmidi_info_user(rfile->input, info); rfile 745 sound/core/rawmidi.c return snd_rawmidi_info_user(rfile->output, info); rfile 758 sound/core/rawmidi.c if (rfile->output == NULL) rfile 760 sound/core/rawmidi.c return snd_rawmidi_output_params(rfile->output, ¶ms); rfile 762 sound/core/rawmidi.c if (rfile->input == NULL) rfile 764 sound/core/rawmidi.c return snd_rawmidi_input_params(rfile->input, ¶ms); rfile 778 sound/core/rawmidi.c if (rfile->output == NULL) rfile 780 sound/core/rawmidi.c err = snd_rawmidi_output_status(rfile->output, &status); rfile 783 sound/core/rawmidi.c if (rfile->input == NULL) rfile 785 sound/core/rawmidi.c err = snd_rawmidi_input_status(rfile->input, &status); rfile 804 sound/core/rawmidi.c if (rfile->output == NULL) rfile 806 sound/core/rawmidi.c return snd_rawmidi_drop_output(rfile->output); rfile 819 sound/core/rawmidi.c if (rfile->output == NULL) rfile 821 sound/core/rawmidi.c return snd_rawmidi_drain_output(rfile->output); rfile 823 sound/core/rawmidi.c if (rfile->input == NULL) rfile 825 sound/core/rawmidi.c return snd_rawmidi_drain_input(rfile->input); rfile 831 sound/core/rawmidi.c rmidi_dbg(rfile->rmidi, rfile 1014 sound/core/rawmidi.c struct snd_rawmidi_file *rfile; rfile 1018 sound/core/rawmidi.c rfile = file->private_data; rfile 1019 sound/core/rawmidi.c substream = rfile->input; rfile 1040 sound/core/rawmidi.c if (rfile->rmidi->card->shutdown) rfile 1343 sound/core/rawmidi.c struct snd_rawmidi_file *rfile; rfile 1347 sound/core/rawmidi.c rfile = file->private_data; rfile 1348 sound/core/rawmidi.c substream = rfile->output; rfile 1369 sound/core/rawmidi.c if (rfile->rmidi->card->shutdown) rfile 1412 sound/core/rawmidi.c struct snd_rawmidi_file *rfile; rfile 1416 sound/core/rawmidi.c rfile = file->private_data; rfile 1417 sound/core/rawmidi.c if (rfile->input != NULL) { rfile 1418 sound/core/rawmidi.c runtime = rfile->input->runtime; rfile 1419 sound/core/rawmidi.c snd_rawmidi_input_trigger(rfile->input, 1); rfile 1422 sound/core/rawmidi.c if (rfile->output != NULL) { rfile 1423 sound/core/rawmidi.c runtime = rfile->output->runtime; rfile 1427 sound/core/rawmidi.c if (rfile->input != NULL) { rfile 1428 sound/core/rawmidi.c if (snd_rawmidi_ready(rfile->input)) rfile 1431 sound/core/rawmidi.c if (rfile->output != NULL) { rfile 1432 sound/core/rawmidi.c if (snd_rawmidi_ready(rfile->output)) rfile 19 sound/core/rawmidi_compat.c static int snd_rawmidi_ioctl_params_compat(struct snd_rawmidi_file *rfile, rfile 33 sound/core/rawmidi_compat.c if (!rfile->output) rfile 35 sound/core/rawmidi_compat.c return snd_rawmidi_output_params(rfile->output, ¶ms); rfile 37 sound/core/rawmidi_compat.c if (!rfile->input) rfile 39 sound/core/rawmidi_compat.c return snd_rawmidi_input_params(rfile->input, ¶ms); rfile 52 sound/core/rawmidi_compat.c static int snd_rawmidi_ioctl_status_compat(struct snd_rawmidi_file *rfile, rfile 63 sound/core/rawmidi_compat.c if (!rfile->output) rfile 65 sound/core/rawmidi_compat.c err = snd_rawmidi_output_status(rfile->output, &status); rfile 68 sound/core/rawmidi_compat.c if (!rfile->input) rfile 70 sound/core/rawmidi_compat.c err = snd_rawmidi_input_status(rfile->input, &status); rfile 99 sound/core/rawmidi_compat.c static int snd_rawmidi_ioctl_status_x32(struct snd_rawmidi_file *rfile, rfile 110 sound/core/rawmidi_compat.c if (!rfile->output) rfile 112 sound/core/rawmidi_compat.c err = snd_rawmidi_output_status(rfile->output, &status); rfile 115 sound/core/rawmidi_compat.c if (!rfile->input) rfile 117 sound/core/rawmidi_compat.c err = snd_rawmidi_input_status(rfile->input, &status); rfile 144 sound/core/rawmidi_compat.c struct snd_rawmidi_file *rfile; rfile 147 sound/core/rawmidi_compat.c rfile = file->private_data; rfile 155 sound/core/rawmidi_compat.c return snd_rawmidi_ioctl_params_compat(rfile, argp); rfile 157 sound/core/rawmidi_compat.c return snd_rawmidi_ioctl_status_compat(rfile, argp); rfile 160 sound/core/rawmidi_compat.c return snd_rawmidi_ioctl_status_x32(rfile, argp);