rmidi 573 drivers/hid/hid-prodikeys.c struct pcmidi_snd *pm = substream->rmidi->private_data; rmidi 588 drivers/hid/hid-prodikeys.c struct pcmidi_snd *pm = substream->rmidi->private_data; rmidi 84 drivers/usb/gadget/function/f_midi.c struct snd_rawmidi *rmidi; rmidi 111 drivers/usb/gadget/function/f_midi.c static void f_midi_rmidi_free(struct snd_rawmidi *rmidi); rmidi 709 drivers/usb/gadget/function/f_midi.c struct f_midi *midi = substream->rmidi->private_data; rmidi 724 drivers/usb/gadget/function/f_midi.c struct f_midi *midi = substream->rmidi->private_data; rmidi 732 drivers/usb/gadget/function/f_midi.c struct f_midi *midi = substream->rmidi->private_data; rmidi 745 drivers/usb/gadget/function/f_midi.c struct f_midi *midi = substream->rmidi->private_data; rmidi 757 drivers/usb/gadget/function/f_midi.c struct f_midi *midi = substream->rmidi->private_data; rmidi 765 drivers/usb/gadget/function/f_midi.c struct f_midi *midi = substream->rmidi->private_data; rmidi 799 drivers/usb/gadget/function/f_midi.c struct snd_rawmidi *rmidi; rmidi 826 drivers/usb/gadget/function/f_midi.c midi->out_ports, midi->in_ports, &rmidi); rmidi 831 drivers/usb/gadget/function/f_midi.c midi->rmidi = rmidi; rmidi 833 drivers/usb/gadget/function/f_midi.c strcpy(rmidi->name, card->shortname); rmidi 834 drivers/usb/gadget/function/f_midi.c rmidi->info_flags = SNDRV_RAWMIDI_INFO_OUTPUT | rmidi 837 drivers/usb/gadget/function/f_midi.c rmidi->private_data = midi; rmidi 838 drivers/usb/gadget/function/f_midi.c rmidi->private_free = f_midi_rmidi_free; rmidi 845 drivers/usb/gadget/function/f_midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, &gmidi_in_ops); rmidi 846 drivers/usb/gadget/function/f_midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, &gmidi_out_ops); rmidi 1264 drivers/usb/gadget/function/f_midi.c static void f_midi_rmidi_free(struct snd_rawmidi *rmidi) rmidi 1266 drivers/usb/gadget/function/f_midi.c f_midi_free(rmidi->private_data); rmidi 1621 include/sound/emu10k1.h struct snd_rawmidi *rmidi; rmidi 57 include/sound/mpu401.h struct snd_rawmidi *rmidi; rmidi 46 include/sound/rawmidi.h int (*dev_register) (struct snd_rawmidi * rmidi); rmidi 47 include/sound/rawmidi.h int (*dev_unregister) (struct snd_rawmidi * rmidi); rmidi 48 include/sound/rawmidi.h void (*get_port_info)(struct snd_rawmidi *rmidi, int number, rmidi 86 include/sound/rawmidi.h struct snd_rawmidi *rmidi; rmidi 96 include/sound/rawmidi.h struct snd_rawmidi *rmidi; rmidi 124 include/sound/rawmidi.h void (*private_free) (struct snd_rawmidi *rmidi); rmidi 142 include/sound/rawmidi.h struct snd_rawmidi **rmidi); rmidi 143 include/sound/rawmidi.h void snd_rawmidi_set_ops(struct snd_rawmidi *rmidi, int stream, rmidi 87 include/sound/sb.h struct snd_rawmidi *rmidi; rmidi 43 include/sound/seq_virmidi.h struct snd_rawmidi *rmidi; /* rawmidi device */ rmidi 46 sound/core/rawmidi.c #define rmidi_err(rmidi, fmt, args...) \ rmidi 47 sound/core/rawmidi.c dev_err(&(rmidi)->dev, fmt, ##args) rmidi 48 sound/core/rawmidi.c #define rmidi_warn(rmidi, fmt, args...) \ rmidi 49 sound/core/rawmidi.c dev_warn(&(rmidi)->dev, fmt, ##args) rmidi 50 sound/core/rawmidi.c #define rmidi_dbg(rmidi, fmt, args...) \ rmidi 51 sound/core/rawmidi.c dev_dbg(&(rmidi)->dev, fmt, ##args) rmidi 205 sound/core/rawmidi.c rmidi_warn(substream->rmidi, rmidi 234 sound/core/rawmidi.c static int assign_substream(struct snd_rawmidi *rmidi, int subdevice, rmidi 239 sound/core/rawmidi.c struct snd_rawmidi_str *s = &rmidi->streams[stream]; rmidi 245 sound/core/rawmidi.c if (!(rmidi->info_flags & info_flags[stream])) rmidi 266 sound/core/rawmidi.c static int open_substream(struct snd_rawmidi *rmidi, rmidi 286 sound/core/rawmidi.c rmidi->streams[substream->stream].substream_opened++; rmidi 292 sound/core/rawmidi.c static void close_substream(struct snd_rawmidi *rmidi, rmidi 296 sound/core/rawmidi.c static int rawmidi_open_priv(struct snd_rawmidi *rmidi, int subdevice, int mode, rmidi 304 sound/core/rawmidi.c err = assign_substream(rmidi, subdevice, rmidi 311 sound/core/rawmidi.c err = assign_substream(rmidi, subdevice, rmidi 319 sound/core/rawmidi.c err = open_substream(rmidi, sinput, mode); rmidi 324 sound/core/rawmidi.c err = open_substream(rmidi, soutput, mode); rmidi 327 sound/core/rawmidi.c close_substream(rmidi, sinput, 0); rmidi 332 sound/core/rawmidi.c rfile->rmidi = rmidi; rmidi 342 sound/core/rawmidi.c struct snd_rawmidi *rmidi; rmidi 349 sound/core/rawmidi.c rmidi = snd_rawmidi_search(card, device); rmidi 350 sound/core/rawmidi.c if (!rmidi) rmidi 352 sound/core/rawmidi.c else if (!try_module_get(rmidi->card->module)) rmidi 358 sound/core/rawmidi.c mutex_lock(&rmidi->open_mutex); rmidi 359 sound/core/rawmidi.c err = rawmidi_open_priv(rmidi, subdevice, mode, rfile); rmidi 360 sound/core/rawmidi.c mutex_unlock(&rmidi->open_mutex); rmidi 362 sound/core/rawmidi.c module_put(rmidi->card->module); rmidi 374 sound/core/rawmidi.c struct snd_rawmidi *rmidi; rmidi 386 sound/core/rawmidi.c rmidi = snd_lookup_minor_data(iminor(inode), rmidi 390 sound/core/rawmidi.c rmidi = snd_lookup_oss_minor_data(iminor(inode), rmidi 396 sound/core/rawmidi.c if (rmidi == NULL) rmidi 399 sound/core/rawmidi.c if (!try_module_get(rmidi->card->module)) { rmidi 400 sound/core/rawmidi.c snd_card_unref(rmidi->card); rmidi 404 sound/core/rawmidi.c mutex_lock(&rmidi->open_mutex); rmidi 405 sound/core/rawmidi.c card = rmidi->card; rmidi 418 sound/core/rawmidi.c add_wait_queue(&rmidi->open_wait, &wait); rmidi 421 sound/core/rawmidi.c err = rawmidi_open_priv(rmidi, subdevice, fflags, rawmidi_file); rmidi 432 sound/core/rawmidi.c mutex_unlock(&rmidi->open_mutex); rmidi 434 sound/core/rawmidi.c mutex_lock(&rmidi->open_mutex); rmidi 435 sound/core/rawmidi.c if (rmidi->card->shutdown) { rmidi 444 sound/core/rawmidi.c remove_wait_queue(&rmidi->open_wait, &wait); rmidi 456 sound/core/rawmidi.c mutex_unlock(&rmidi->open_mutex); rmidi 457 sound/core/rawmidi.c snd_card_unref(rmidi->card); rmidi 463 sound/core/rawmidi.c mutex_unlock(&rmidi->open_mutex); rmidi 464 sound/core/rawmidi.c module_put(rmidi->card->module); rmidi 465 sound/core/rawmidi.c snd_card_unref(rmidi->card); rmidi 469 sound/core/rawmidi.c static void close_substream(struct snd_rawmidi *rmidi, rmidi 499 sound/core/rawmidi.c rmidi->streams[substream->stream].substream_opened--; rmidi 504 sound/core/rawmidi.c struct snd_rawmidi *rmidi; rmidi 506 sound/core/rawmidi.c rmidi = rfile->rmidi; rmidi 507 sound/core/rawmidi.c mutex_lock(&rmidi->open_mutex); rmidi 509 sound/core/rawmidi.c close_substream(rmidi, rfile->input, 1); rmidi 513 sound/core/rawmidi.c close_substream(rmidi, rfile->output, 1); rmidi 516 sound/core/rawmidi.c rfile->rmidi = NULL; rmidi 517 sound/core/rawmidi.c mutex_unlock(&rmidi->open_mutex); rmidi 518 sound/core/rawmidi.c wake_up(&rmidi->open_wait); rmidi 524 sound/core/rawmidi.c struct snd_rawmidi *rmidi; rmidi 529 sound/core/rawmidi.c rmidi = rfile->rmidi; rmidi 531 sound/core/rawmidi.c module_put(rmidi->card->module); rmidi 539 sound/core/rawmidi.c struct snd_rawmidi *rmidi; rmidi 543 sound/core/rawmidi.c rmidi = rfile->rmidi; rmidi 546 sound/core/rawmidi.c module = rmidi->card->module; rmidi 547 sound/core/rawmidi.c snd_card_file_remove(rmidi->card, file); rmidi 555 sound/core/rawmidi.c struct snd_rawmidi *rmidi; rmidi 559 sound/core/rawmidi.c rmidi = substream->rmidi; rmidi 561 sound/core/rawmidi.c info->card = rmidi->card->number; rmidi 562 sound/core/rawmidi.c info->device = rmidi->device; rmidi 565 sound/core/rawmidi.c info->flags = rmidi->info_flags; rmidi 566 sound/core/rawmidi.c strcpy(info->id, rmidi->id); rmidi 567 sound/core/rawmidi.c strcpy(info->name, rmidi->name); rmidi 592 sound/core/rawmidi.c struct snd_rawmidi *rmidi; rmidi 596 sound/core/rawmidi.c rmidi = snd_rawmidi_search(card, info->device); rmidi 597 sound/core/rawmidi.c if (!rmidi) rmidi 602 sound/core/rawmidi.c pstr = &rmidi->streams[info->stream]; rmidi 831 sound/core/rawmidi.c rmidi_dbg(rfile->rmidi, rmidi 902 sound/core/rawmidi.c rmidi_dbg(substream->rmidi, rmidi 1040 sound/core/rawmidi.c if (rfile->rmidi->card->shutdown) rmidi 1075 sound/core/rawmidi.c rmidi_dbg(substream->rmidi, rmidi 1101 sound/core/rawmidi.c rmidi_dbg(substream->rmidi, rmidi 1174 sound/core/rawmidi.c rmidi_dbg(substream->rmidi, rmidi 1369 sound/core/rawmidi.c if (rfile->rmidi->card->shutdown) rmidi 1452 sound/core/rawmidi.c struct snd_rawmidi *rmidi; rmidi 1456 sound/core/rawmidi.c rmidi = entry->private_data; rmidi 1457 sound/core/rawmidi.c snd_iprintf(buffer, "%s\n\n", rmidi->name); rmidi 1458 sound/core/rawmidi.c mutex_lock(&rmidi->open_mutex); rmidi 1459 sound/core/rawmidi.c if (rmidi->info_flags & SNDRV_RAWMIDI_INFO_OUTPUT) { rmidi 1461 sound/core/rawmidi.c &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams, rmidi 1483 sound/core/rawmidi.c if (rmidi->info_flags & SNDRV_RAWMIDI_INFO_INPUT) { rmidi 1485 sound/core/rawmidi.c &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams, rmidi 1507 sound/core/rawmidi.c mutex_unlock(&rmidi->open_mutex); rmidi 1526 sound/core/rawmidi.c static int snd_rawmidi_alloc_substreams(struct snd_rawmidi *rmidi, rmidi 1540 sound/core/rawmidi.c substream->rmidi = rmidi; rmidi 1571 sound/core/rawmidi.c struct snd_rawmidi *rmidi; rmidi 1583 sound/core/rawmidi.c rmidi = kzalloc(sizeof(*rmidi), GFP_KERNEL); rmidi 1584 sound/core/rawmidi.c if (!rmidi) rmidi 1586 sound/core/rawmidi.c rmidi->card = card; rmidi 1587 sound/core/rawmidi.c rmidi->device = device; rmidi 1588 sound/core/rawmidi.c mutex_init(&rmidi->open_mutex); rmidi 1589 sound/core/rawmidi.c init_waitqueue_head(&rmidi->open_wait); rmidi 1590 sound/core/rawmidi.c INIT_LIST_HEAD(&rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams); rmidi 1591 sound/core/rawmidi.c INIT_LIST_HEAD(&rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams); rmidi 1594 sound/core/rawmidi.c strlcpy(rmidi->id, id, sizeof(rmidi->id)); rmidi 1596 sound/core/rawmidi.c snd_device_initialize(&rmidi->dev, card); rmidi 1597 sound/core/rawmidi.c rmidi->dev.release = release_rawmidi_device; rmidi 1598 sound/core/rawmidi.c dev_set_name(&rmidi->dev, "midiC%iD%i", card->number, device); rmidi 1600 sound/core/rawmidi.c err = snd_rawmidi_alloc_substreams(rmidi, rmidi 1601 sound/core/rawmidi.c &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT], rmidi 1606 sound/core/rawmidi.c err = snd_rawmidi_alloc_substreams(rmidi, rmidi 1607 sound/core/rawmidi.c &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT], rmidi 1612 sound/core/rawmidi.c err = snd_device_new(card, SNDRV_DEV_RAWMIDI, rmidi, &ops); rmidi 1617 sound/core/rawmidi.c *rrawmidi = rmidi; rmidi 1621 sound/core/rawmidi.c snd_rawmidi_free(rmidi); rmidi 1637 sound/core/rawmidi.c static int snd_rawmidi_free(struct snd_rawmidi *rmidi) rmidi 1639 sound/core/rawmidi.c if (!rmidi) rmidi 1642 sound/core/rawmidi.c snd_info_free_entry(rmidi->proc_entry); rmidi 1643 sound/core/rawmidi.c rmidi->proc_entry = NULL; rmidi 1645 sound/core/rawmidi.c if (rmidi->ops && rmidi->ops->dev_unregister) rmidi 1646 sound/core/rawmidi.c rmidi->ops->dev_unregister(rmidi); rmidi 1649 sound/core/rawmidi.c snd_rawmidi_free_substreams(&rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]); rmidi 1650 sound/core/rawmidi.c snd_rawmidi_free_substreams(&rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]); rmidi 1651 sound/core/rawmidi.c if (rmidi->private_free) rmidi 1652 sound/core/rawmidi.c rmidi->private_free(rmidi); rmidi 1653 sound/core/rawmidi.c put_device(&rmidi->dev); rmidi 1659 sound/core/rawmidi.c struct snd_rawmidi *rmidi = device->device_data; rmidi 1661 sound/core/rawmidi.c return snd_rawmidi_free(rmidi); rmidi 1667 sound/core/rawmidi.c struct snd_rawmidi *rmidi = device->private_data; rmidi 1669 sound/core/rawmidi.c rmidi->seq_dev = NULL; rmidi 1678 sound/core/rawmidi.c struct snd_rawmidi *rmidi = device->device_data; rmidi 1680 sound/core/rawmidi.c if (rmidi->device >= SNDRV_RAWMIDI_DEVICES) rmidi 1684 sound/core/rawmidi.c if (snd_rawmidi_search(rmidi->card, rmidi->device)) rmidi 1687 sound/core/rawmidi.c list_add_tail(&rmidi->list, &snd_rawmidi_devices); rmidi 1693 sound/core/rawmidi.c rmidi->card, rmidi->device, rmidi 1694 sound/core/rawmidi.c &snd_rawmidi_f_ops, rmidi, &rmidi->dev); rmidi 1696 sound/core/rawmidi.c rmidi_err(rmidi, "unable to register\n"); rmidi 1699 sound/core/rawmidi.c if (rmidi->ops && rmidi->ops->dev_register) { rmidi 1700 sound/core/rawmidi.c err = rmidi->ops->dev_register(rmidi); rmidi 1705 sound/core/rawmidi.c rmidi->ossreg = 0; rmidi 1706 sound/core/rawmidi.c if ((int)rmidi->device == midi_map[rmidi->card->number]) { rmidi 1708 sound/core/rawmidi.c rmidi->card, 0, &snd_rawmidi_f_ops, rmidi 1709 sound/core/rawmidi.c rmidi) < 0) { rmidi 1710 sound/core/rawmidi.c rmidi_err(rmidi, rmidi 1712 sound/core/rawmidi.c rmidi->card->number, 0); rmidi 1714 sound/core/rawmidi.c rmidi->ossreg++; rmidi 1716 sound/core/rawmidi.c snd_oss_info_register(SNDRV_OSS_INFO_DEV_MIDI, rmidi->card->number, rmidi->name); rmidi 1720 sound/core/rawmidi.c if ((int)rmidi->device == amidi_map[rmidi->card->number]) { rmidi 1722 sound/core/rawmidi.c rmidi->card, 1, &snd_rawmidi_f_ops, rmidi 1723 sound/core/rawmidi.c rmidi) < 0) { rmidi 1724 sound/core/rawmidi.c rmidi_err(rmidi, rmidi 1726 sound/core/rawmidi.c rmidi->card->number, 1); rmidi 1728 sound/core/rawmidi.c rmidi->ossreg++; rmidi 1732 sound/core/rawmidi.c sprintf(name, "midi%d", rmidi->device); rmidi 1733 sound/core/rawmidi.c entry = snd_info_create_card_entry(rmidi->card, name, rmidi->card->proc_root); rmidi 1735 sound/core/rawmidi.c entry->private_data = rmidi; rmidi 1742 sound/core/rawmidi.c rmidi->proc_entry = entry; rmidi 1744 sound/core/rawmidi.c if (!rmidi->ops || !rmidi->ops->dev_register) { /* own registration mechanism */ rmidi 1745 sound/core/rawmidi.c if (snd_seq_device_new(rmidi->card, rmidi->device, SNDRV_SEQ_DEV_ID_MIDISYNTH, 0, &rmidi->seq_dev) >= 0) { rmidi 1746 sound/core/rawmidi.c rmidi->seq_dev->private_data = rmidi; rmidi 1747 sound/core/rawmidi.c rmidi->seq_dev->private_free = snd_rawmidi_dev_seq_free; rmidi 1748 sound/core/rawmidi.c sprintf(rmidi->seq_dev->name, "MIDI %d-%d", rmidi->card->number, rmidi->device); rmidi 1749 sound/core/rawmidi.c snd_device_register(rmidi->card, rmidi->seq_dev); rmidi 1756 sound/core/rawmidi.c snd_unregister_device(&rmidi->dev); rmidi 1759 sound/core/rawmidi.c list_del(&rmidi->list); rmidi 1766 sound/core/rawmidi.c struct snd_rawmidi *rmidi = device->device_data; rmidi 1770 sound/core/rawmidi.c mutex_lock(&rmidi->open_mutex); rmidi 1771 sound/core/rawmidi.c wake_up(&rmidi->open_wait); rmidi 1772 sound/core/rawmidi.c list_del_init(&rmidi->list); rmidi 1776 sound/core/rawmidi.c list_for_each_entry(s, &rmidi->streams[dir].substreams, list) { rmidi 1783 sound/core/rawmidi.c if (rmidi->ossreg) { rmidi 1784 sound/core/rawmidi.c if ((int)rmidi->device == midi_map[rmidi->card->number]) { rmidi 1785 sound/core/rawmidi.c snd_unregister_oss_device(SNDRV_OSS_DEVICE_TYPE_MIDI, rmidi->card, 0); rmidi 1787 sound/core/rawmidi.c snd_oss_info_unregister(SNDRV_OSS_INFO_DEV_MIDI, rmidi->card->number); rmidi 1790 sound/core/rawmidi.c if ((int)rmidi->device == amidi_map[rmidi->card->number]) rmidi 1791 sound/core/rawmidi.c snd_unregister_oss_device(SNDRV_OSS_DEVICE_TYPE_MIDI, rmidi->card, 1); rmidi 1792 sound/core/rawmidi.c rmidi->ossreg = 0; rmidi 1795 sound/core/rawmidi.c snd_unregister_device(&rmidi->dev); rmidi 1796 sound/core/rawmidi.c mutex_unlock(&rmidi->open_mutex); rmidi 1809 sound/core/rawmidi.c void snd_rawmidi_set_ops(struct snd_rawmidi *rmidi, int stream, rmidi 1814 sound/core/rawmidi.c list_for_each_entry(substream, &rmidi->streams[stream].substreams, list) rmidi 265 sound/core/seq/seq_midi.c struct snd_rawmidi *rmidi = dev->private_data; rmidi 378 sound/core/seq/seq_midi.c if (rmidi->ops && rmidi->ops->get_port_info) rmidi 379 sound/core/seq/seq_midi.c rmidi->ops->get_port_info(rmidi, p, port); rmidi 179 sound/core/seq/seq_virmidi.c struct snd_virmidi_dev *rdev = substream->rmidi->private_data; rmidi 209 sound/core/seq/seq_virmidi.c struct snd_virmidi_dev *rdev = substream->rmidi->private_data; rmidi 236 sound/core/seq/seq_virmidi.c struct snd_virmidi_dev *rdev = substream->rmidi->private_data; rmidi 361 sound/core/seq/seq_virmidi.c "%s %d-%d", rdev->rmidi->name, rmidi 420 sound/core/seq/seq_virmidi.c static int snd_virmidi_dev_register(struct snd_rawmidi *rmidi) rmidi 422 sound/core/seq/seq_virmidi.c struct snd_virmidi_dev *rdev = rmidi->private_data; rmidi 447 sound/core/seq/seq_virmidi.c static int snd_virmidi_dev_unregister(struct snd_rawmidi *rmidi) rmidi 449 sound/core/seq/seq_virmidi.c struct snd_virmidi_dev *rdev = rmidi->private_data; rmidi 467 sound/core/seq/seq_virmidi.c static void snd_virmidi_free(struct snd_rawmidi *rmidi) rmidi 469 sound/core/seq/seq_virmidi.c struct snd_virmidi_dev *rdev = rmidi->private_data; rmidi 480 sound/core/seq/seq_virmidi.c struct snd_rawmidi *rmidi; rmidi 488 sound/core/seq/seq_virmidi.c &rmidi)) < 0) rmidi 490 sound/core/seq/seq_virmidi.c strcpy(rmidi->name, rmidi->id); rmidi 493 sound/core/seq/seq_virmidi.c snd_device_free(card, rmidi); rmidi 497 sound/core/seq/seq_virmidi.c rdev->rmidi = rmidi; rmidi 504 sound/core/seq/seq_virmidi.c rmidi->private_data = rdev; rmidi 505 sound/core/seq/seq_virmidi.c rmidi->private_free = snd_virmidi_free; rmidi 506 sound/core/seq/seq_virmidi.c rmidi->ops = &snd_virmidi_global_ops; rmidi 507 sound/core/seq/seq_virmidi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, &snd_virmidi_input_ops); rmidi 508 sound/core/seq/seq_virmidi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, &snd_virmidi_output_ops); rmidi 509 sound/core/seq/seq_virmidi.c rmidi->info_flags = SNDRV_RAWMIDI_INFO_INPUT | rmidi 512 sound/core/seq/seq_virmidi.c *rrmidi = rmidi; rmidi 166 sound/drivers/mpu401/mpu401_uart.c if (mpu->rmidi) rmidi 273 sound/drivers/mpu401/mpu401_uart.c mpu = substream->rmidi->private_data; rmidi 295 sound/drivers/mpu401/mpu401_uart.c mpu = substream->rmidi->private_data; rmidi 317 sound/drivers/mpu401/mpu401_uart.c mpu = substream->rmidi->private_data; rmidi 334 sound/drivers/mpu401/mpu401_uart.c mpu = substream->rmidi->private_data; rmidi 356 sound/drivers/mpu401/mpu401_uart.c mpu = substream->rmidi->private_data; rmidi 442 sound/drivers/mpu401/mpu401_uart.c mpu = substream->rmidi->private_data; rmidi 482 sound/drivers/mpu401/mpu401_uart.c static void snd_mpu401_uart_free(struct snd_rawmidi *rmidi) rmidi 484 sound/drivers/mpu401/mpu401_uart.c struct snd_mpu401 *mpu = rmidi->private_data; rmidi 517 sound/drivers/mpu401/mpu401_uart.c struct snd_rawmidi *rmidi; rmidi 528 sound/drivers/mpu401/mpu401_uart.c out_enable, in_enable, &rmidi)) < 0) rmidi 535 sound/drivers/mpu401/mpu401_uart.c rmidi->private_data = mpu; rmidi 536 sound/drivers/mpu401/mpu401_uart.c rmidi->private_free = snd_mpu401_uart_free; rmidi 579 sound/drivers/mpu401/mpu401_uart.c snprintf(rmidi->name, sizeof(rmidi->name), "%s MIDI", rmidi 582 sound/drivers/mpu401/mpu401_uart.c sprintf(rmidi->name, "MPU-401 MIDI %d-%d",card->number, device); rmidi 584 sound/drivers/mpu401/mpu401_uart.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, rmidi 586 sound/drivers/mpu401/mpu401_uart.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT; rmidi 589 sound/drivers/mpu401/mpu401_uart.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, rmidi 591 sound/drivers/mpu401/mpu401_uart.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_INPUT; rmidi 593 sound/drivers/mpu401/mpu401_uart.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_DUPLEX; rmidi 595 sound/drivers/mpu401/mpu401_uart.c mpu->rmidi = rmidi; rmidi 597 sound/drivers/mpu401/mpu401_uart.c *rrawmidi = rmidi; rmidi 600 sound/drivers/mpu401/mpu401_uart.c snd_device_free(card, rmidi); rmidi 132 sound/drivers/mtpav.c struct snd_rawmidi *rmidi; rmidi 309 sound/drivers/mtpav.c struct mtpav *mtp_card = substream->rmidi->private_data; rmidi 339 sound/drivers/mtpav.c struct mtpav *mtp_card = substream->rmidi->private_data; rmidi 357 sound/drivers/mtpav.c struct mtpav *mtp_card = substream->rmidi->private_data; rmidi 375 sound/drivers/mtpav.c struct mtpav *mtp_card = substream->rmidi->private_data; rmidi 428 sound/drivers/mtpav.c struct mtpav *mtp_card = substream->rmidi->private_data; rmidi 444 sound/drivers/mtpav.c struct mtpav *mtp_card = substream->rmidi->private_data; rmidi 460 sound/drivers/mtpav.c struct mtpav *mtp_card = substream->rmidi->private_data; rmidi 635 sound/drivers/mtpav.c &mcard->rmidi)) < 0) rmidi 637 sound/drivers/mtpav.c rawmidi = mcard->rmidi; rmidi 52 sound/drivers/mts64.c struct snd_rawmidi *rmidi; rmidi 672 sound/drivers/mts64.c struct mts64 *mts = substream->rmidi->private_data; rmidi 689 sound/drivers/mts64.c struct mts64 *mts = substream->rmidi->private_data; rmidi 711 sound/drivers/mts64.c struct mts64 *mts = substream->rmidi->private_data; rmidi 726 sound/drivers/mts64.c struct mts64 *mts = substream->rmidi->private_data; rmidi 754 sound/drivers/mts64.c struct snd_rawmidi *rmidi; rmidi 762 sound/drivers/mts64.c &rmidi); rmidi 766 sound/drivers/mts64.c rmidi->private_data = mts; rmidi 767 sound/drivers/mts64.c strcpy(rmidi->name, CARD_NAME); rmidi 768 sound/drivers/mts64.c rmidi->info_flags = SNDRV_RAWMIDI_INFO_OUTPUT | rmidi 772 sound/drivers/mts64.c mts->rmidi = rmidi; rmidi 775 sound/drivers/mts64.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, rmidi 777 sound/drivers/mts64.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, rmidi 783 sound/drivers/mts64.c &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams) { rmidi 790 sound/drivers/mts64.c &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams) { rmidi 71 sound/drivers/portman2x4.c struct snd_rawmidi *rmidi; rmidi 510 sound/drivers/portman2x4.c struct portman *pm = substream->rmidi->private_data; rmidi 524 sound/drivers/portman2x4.c struct portman *pm = substream->rmidi->private_data; rmidi 552 sound/drivers/portman2x4.c struct snd_rawmidi *rmidi; rmidi 559 sound/drivers/portman2x4.c &rmidi); rmidi 563 sound/drivers/portman2x4.c rmidi->private_data = pm; rmidi 564 sound/drivers/portman2x4.c strcpy(rmidi->name, CARD_NAME); rmidi 565 sound/drivers/portman2x4.c rmidi->info_flags = SNDRV_RAWMIDI_INFO_OUTPUT | rmidi 569 sound/drivers/portman2x4.c pm->rmidi = rmidi; rmidi 572 sound/drivers/portman2x4.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, rmidi 574 sound/drivers/portman2x4.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, rmidi 580 sound/drivers/portman2x4.c &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams, rmidi 587 sound/drivers/portman2x4.c &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams, rmidi 108 sound/drivers/serial-u16550.c struct snd_rawmidi *rmidi; rmidi 231 sound/drivers/serial-u16550.c uart->rmidi->name, uart->base); rmidi 505 sound/drivers/serial-u16550.c struct snd_uart16550 *uart = substream->rmidi->private_data; rmidi 519 sound/drivers/serial-u16550.c struct snd_uart16550 *uart = substream->rmidi->private_data; rmidi 534 sound/drivers/serial-u16550.c struct snd_uart16550 *uart = substream->rmidi->private_data; rmidi 547 sound/drivers/serial-u16550.c struct snd_uart16550 *uart = substream->rmidi->private_data; rmidi 561 sound/drivers/serial-u16550.c struct snd_uart16550 *uart = substream->rmidi->private_data; rmidi 627 sound/drivers/serial-u16550.c uart->rmidi->name, uart->base); rmidi 639 sound/drivers/serial-u16550.c struct snd_uart16550 *uart = substream->rmidi->private_data; rmidi 730 sound/drivers/serial-u16550.c struct snd_uart16550 *uart = substream->rmidi->private_data; rmidi 860 sound/drivers/serial-u16550.c struct snd_rawmidi **rmidi) rmidi 880 sound/drivers/serial-u16550.c if (rmidi) rmidi 881 sound/drivers/serial-u16550.c *rmidi = rrawmidi; rmidi 946 sound/drivers/serial-u16550.c err = snd_uart16550_rmidi(uart, 0, outs[dev], ins[dev], &uart->rmidi); rmidi 93 sound/drivers/virmidi.c struct snd_rawmidi *rmidi; rmidi 96 sound/drivers/virmidi.c err = snd_virmidi_new(card, idx, &rmidi); rmidi 99 sound/drivers/virmidi.c rdev = rmidi->private_data; rmidi 100 sound/drivers/virmidi.c vmidi->midi[idx] = rmidi; rmidi 101 sound/drivers/virmidi.c strcpy(rmidi->name, "Virtual Raw MIDI"); rmidi 12 sound/firewire/bebob/bebob_midi.c struct snd_bebob *bebob = substream->rmidi->private_data; rmidi 36 sound/firewire/bebob/bebob_midi.c struct snd_bebob *bebob = substream->rmidi->private_data; rmidi 49 sound/firewire/bebob/bebob_midi.c struct snd_bebob *bebob = substrm->rmidi->private_data; rmidi 66 sound/firewire/bebob/bebob_midi.c struct snd_bebob *bebob = substrm->rmidi->private_data; rmidi 105 sound/firewire/bebob/bebob_midi.c struct snd_rawmidi *rmidi; rmidi 112 sound/firewire/bebob/bebob_midi.c &rmidi); rmidi 116 sound/firewire/bebob/bebob_midi.c snprintf(rmidi->name, sizeof(rmidi->name), rmidi 118 sound/firewire/bebob/bebob_midi.c rmidi->private_data = bebob; rmidi 121 sound/firewire/bebob/bebob_midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_INPUT; rmidi 123 sound/firewire/bebob/bebob_midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, rmidi 126 sound/firewire/bebob/bebob_midi.c str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; rmidi 132 sound/firewire/bebob/bebob_midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT; rmidi 134 sound/firewire/bebob/bebob_midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, rmidi 137 sound/firewire/bebob/bebob_midi.c str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; rmidi 143 sound/firewire/bebob/bebob_midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_DUPLEX; rmidi 11 sound/firewire/dice/dice-midi.c struct snd_dice *dice = substream->rmidi->private_data; rmidi 38 sound/firewire/dice/dice-midi.c struct snd_dice *dice = substream->rmidi->private_data; rmidi 53 sound/firewire/dice/dice-midi.c struct snd_dice *dice = substrm->rmidi->private_data; rmidi 70 sound/firewire/dice/dice-midi.c struct snd_dice *dice = substrm->rmidi->private_data; rmidi 108 sound/firewire/dice/dice-midi.c struct snd_rawmidi *rmidi; rmidi 127 sound/firewire/dice/dice-midi.c &rmidi); rmidi 131 sound/firewire/dice/dice-midi.c snprintf(rmidi->name, sizeof(rmidi->name), rmidi 133 sound/firewire/dice/dice-midi.c rmidi->private_data = dice; rmidi 136 sound/firewire/dice/dice-midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_INPUT; rmidi 138 sound/firewire/dice/dice-midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, rmidi 141 sound/firewire/dice/dice-midi.c str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; rmidi 147 sound/firewire/dice/dice-midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT; rmidi 149 sound/firewire/dice/dice-midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, rmidi 152 sound/firewire/dice/dice-midi.c str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; rmidi 158 sound/firewire/dice/dice-midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_DUPLEX; rmidi 12 sound/firewire/digi00x/digi00x-midi.c struct snd_dg00x *dg00x = substream->rmidi->private_data; rmidi 36 sound/firewire/digi00x/digi00x-midi.c struct snd_dg00x *dg00x = substream->rmidi->private_data; rmidi 50 sound/firewire/digi00x/digi00x-midi.c struct snd_dg00x *dg00x = substream->rmidi->private_data; rmidi 54 sound/firewire/digi00x/digi00x-midi.c if (substream->rmidi->device == 0) rmidi 72 sound/firewire/digi00x/digi00x-midi.c struct snd_dg00x *dg00x = substream->rmidi->private_data; rmidi 76 sound/firewire/digi00x/digi00x-midi.c if (substream->rmidi->device == 0) rmidi 92 sound/firewire/digi00x/digi00x-midi.c struct snd_rawmidi *rmidi, bool is_console) rmidi 99 sound/firewire/digi00x/digi00x-midi.c str = &rmidi->streams[i]; rmidi 130 sound/firewire/digi00x/digi00x-midi.c struct snd_rawmidi *rmidi; rmidi 135 sound/firewire/digi00x/digi00x-midi.c out_ports, in_ports, &rmidi); rmidi 138 sound/firewire/digi00x/digi00x-midi.c rmidi->private_data = dg00x; rmidi 144 sound/firewire/digi00x/digi00x-midi.c snprintf(rmidi->name, sizeof(rmidi->name), label, rmidi 147 sound/firewire/digi00x/digi00x-midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, &playback_ops); rmidi 148 sound/firewire/digi00x/digi00x-midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, &capture_ops); rmidi 150 sound/firewire/digi00x/digi00x-midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_INPUT | rmidi 154 sound/firewire/digi00x/digi00x-midi.c set_substream_names(dg00x, rmidi, is_console); rmidi 18 sound/firewire/fireface/ff-midi.c struct snd_ff *ff = substream->rmidi->private_data; rmidi 37 sound/firewire/fireface/ff-midi.c struct snd_ff *ff = substream->rmidi->private_data; rmidi 48 sound/firewire/fireface/ff-midi.c struct snd_ff *ff = substream->rmidi->private_data; rmidi 65 sound/firewire/fireface/ff-midi.c struct snd_ff *ff = substream->rmidi->private_data; rmidi 99 sound/firewire/fireface/ff-midi.c struct snd_rawmidi *rmidi; rmidi 105 sound/firewire/fireface/ff-midi.c &rmidi); rmidi 109 sound/firewire/fireface/ff-midi.c snprintf(rmidi->name, sizeof(rmidi->name), rmidi 111 sound/firewire/fireface/ff-midi.c rmidi->private_data = ff; rmidi 113 sound/firewire/fireface/ff-midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_INPUT; rmidi 114 sound/firewire/fireface/ff-midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, rmidi 116 sound/firewire/fireface/ff-midi.c stream = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; rmidi 119 sound/firewire/fireface/ff-midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT; rmidi 120 sound/firewire/fireface/ff-midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, rmidi 122 sound/firewire/fireface/ff-midi.c stream = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; rmidi 125 sound/firewire/fireface/ff-midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_DUPLEX; rmidi 12 sound/firewire/fireworks/fireworks_midi.c struct snd_efw *efw = substream->rmidi->private_data; rmidi 36 sound/firewire/fireworks/fireworks_midi.c struct snd_efw *efw = substream->rmidi->private_data; rmidi 49 sound/firewire/fireworks/fireworks_midi.c struct snd_efw *efw = substrm->rmidi->private_data; rmidi 66 sound/firewire/fireworks/fireworks_midi.c struct snd_efw *efw = substrm->rmidi->private_data; rmidi 104 sound/firewire/fireworks/fireworks_midi.c struct snd_rawmidi *rmidi; rmidi 111 sound/firewire/fireworks/fireworks_midi.c &rmidi); rmidi 115 sound/firewire/fireworks/fireworks_midi.c snprintf(rmidi->name, sizeof(rmidi->name), rmidi 117 sound/firewire/fireworks/fireworks_midi.c rmidi->private_data = efw; rmidi 120 sound/firewire/fireworks/fireworks_midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_INPUT; rmidi 122 sound/firewire/fireworks/fireworks_midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, rmidi 125 sound/firewire/fireworks/fireworks_midi.c str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; rmidi 131 sound/firewire/fireworks/fireworks_midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT; rmidi 133 sound/firewire/fireworks/fireworks_midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, rmidi 136 sound/firewire/fireworks/fireworks_midi.c str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; rmidi 142 sound/firewire/fireworks/fireworks_midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_DUPLEX; rmidi 11 sound/firewire/motu/motu-midi.c struct snd_motu *motu = substream->rmidi->private_data; rmidi 38 sound/firewire/motu/motu-midi.c struct snd_motu *motu = substream->rmidi->private_data; rmidi 53 sound/firewire/motu/motu-midi.c struct snd_motu *motu = substrm->rmidi->private_data; rmidi 70 sound/firewire/motu/motu-midi.c struct snd_motu *motu = substrm->rmidi->private_data; rmidi 108 sound/firewire/motu/motu-midi.c struct snd_rawmidi *rmidi; rmidi 113 sound/firewire/motu/motu-midi.c err = snd_rawmidi_new(motu->card, motu->card->driver, 0, 1, 1, &rmidi); rmidi 117 sound/firewire/motu/motu-midi.c snprintf(rmidi->name, sizeof(rmidi->name), rmidi 119 sound/firewire/motu/motu-midi.c rmidi->private_data = motu; rmidi 121 sound/firewire/motu/motu-midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_INPUT | rmidi 125 sound/firewire/motu/motu-midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, rmidi 127 sound/firewire/motu/motu-midi.c str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; rmidi 130 sound/firewire/motu/motu-midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, rmidi 132 sound/firewire/motu/motu-midi.c str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; rmidi 12 sound/firewire/oxfw/oxfw-midi.c struct snd_oxfw *oxfw = substream->rmidi->private_data; rmidi 39 sound/firewire/oxfw/oxfw-midi.c struct snd_oxfw *oxfw = substream->rmidi->private_data; rmidi 64 sound/firewire/oxfw/oxfw-midi.c struct snd_oxfw *oxfw = substream->rmidi->private_data; rmidi 79 sound/firewire/oxfw/oxfw-midi.c struct snd_oxfw *oxfw = substream->rmidi->private_data; rmidi 94 sound/firewire/oxfw/oxfw-midi.c struct snd_oxfw *oxfw = substrm->rmidi->private_data; rmidi 111 sound/firewire/oxfw/oxfw-midi.c struct snd_oxfw *oxfw = substrm->rmidi->private_data; rmidi 150 sound/firewire/oxfw/oxfw-midi.c struct snd_rawmidi *rmidi; rmidi 160 sound/firewire/oxfw/oxfw-midi.c &rmidi); rmidi 164 sound/firewire/oxfw/oxfw-midi.c snprintf(rmidi->name, sizeof(rmidi->name), rmidi 166 sound/firewire/oxfw/oxfw-midi.c rmidi->private_data = oxfw; rmidi 169 sound/firewire/oxfw/oxfw-midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_INPUT; rmidi 171 sound/firewire/oxfw/oxfw-midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, rmidi 174 sound/firewire/oxfw/oxfw-midi.c str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; rmidi 180 sound/firewire/oxfw/oxfw-midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT; rmidi 182 sound/firewire/oxfw/oxfw-midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, rmidi 185 sound/firewire/oxfw/oxfw-midi.c str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; rmidi 191 sound/firewire/oxfw/oxfw-midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_DUPLEX; rmidi 289 sound/firewire/oxfw/oxfw-scs1x.c struct fw_scs1x *scs = stream->rmidi->private_data; rmidi 311 sound/firewire/oxfw/oxfw-scs1x.c struct fw_scs1x *scs = stream->rmidi->private_data; rmidi 329 sound/firewire/oxfw/oxfw-scs1x.c struct fw_scs1x *scs = stream->rmidi->private_data; rmidi 345 sound/firewire/oxfw/oxfw-scs1x.c static void remove_scs1x(struct snd_rawmidi *rmidi) rmidi 347 sound/firewire/oxfw/oxfw-scs1x.c struct fw_scs1x *scs = rmidi->private_data; rmidi 370 sound/firewire/oxfw/oxfw-scs1x.c struct snd_rawmidi *rmidi; rmidi 395 sound/firewire/oxfw/oxfw-scs1x.c err = snd_rawmidi_new(oxfw->card, "SCS.1x", 0, 1, 1, &rmidi); rmidi 398 sound/firewire/oxfw/oxfw-scs1x.c rmidi->private_data = scs; rmidi 399 sound/firewire/oxfw/oxfw-scs1x.c rmidi->private_free = remove_scs1x; rmidi 401 sound/firewire/oxfw/oxfw-scs1x.c snprintf(rmidi->name, sizeof(rmidi->name), rmidi 404 sound/firewire/oxfw/oxfw-scs1x.c rmidi->info_flags = SNDRV_RAWMIDI_INFO_INPUT | rmidi 407 sound/firewire/oxfw/oxfw-scs1x.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, rmidi 409 sound/firewire/oxfw/oxfw-scs1x.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, rmidi 18 sound/firewire/tascam/tascam-midi.c struct snd_tscm *tscm = substream->rmidi->private_data; rmidi 38 sound/firewire/tascam/tascam-midi.c struct snd_tscm *tscm = substream->rmidi->private_data; rmidi 45 sound/firewire/tascam/tascam-midi.c struct snd_tscm *tscm = substrm->rmidi->private_data; rmidi 60 sound/firewire/tascam/tascam-midi.c struct snd_tscm *tscm = substrm->rmidi->private_data; rmidi 85 sound/firewire/tascam/tascam-midi.c struct snd_rawmidi *rmidi; rmidi 93 sound/firewire/tascam/tascam-midi.c &rmidi); rmidi 97 sound/firewire/tascam/tascam-midi.c snprintf(rmidi->name, sizeof(rmidi->name), rmidi 99 sound/firewire/tascam/tascam-midi.c rmidi->private_data = tscm; rmidi 101 sound/firewire/tascam/tascam-midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_INPUT; rmidi 102 sound/firewire/tascam/tascam-midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, rmidi 104 sound/firewire/tascam/tascam-midi.c stream = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; rmidi 117 sound/firewire/tascam/tascam-midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT; rmidi 118 sound/firewire/tascam/tascam-midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, rmidi 120 sound/firewire/tascam/tascam-midi.c stream = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; rmidi 132 sound/firewire/tascam/tascam-midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_DUPLEX; rmidi 109 sound/isa/es18xx.c struct snd_rawmidi *rmidi; rmidi 770 sound/isa/es18xx.c if ((status & MPU_IRQ) && chip->rmidi) rmidi 771 sound/isa/es18xx.c snd_mpu401_uart_interrupt(irq, chip->rmidi->private_data); rmidi 2159 sound/isa/es18xx.c -1, &chip->rmidi); rmidi 82 sound/isa/gus/gus_uart.c gus = substream->rmidi->private_data; rmidi 102 sound/isa/gus/gus_uart.c gus = substream->rmidi->private_data; rmidi 134 sound/isa/gus/gus_uart.c gus = substream->rmidi->private_data; rmidi 149 sound/isa/gus/gus_uart.c gus = substream->rmidi->private_data; rmidi 164 sound/isa/gus/gus_uart.c gus = substream->rmidi->private_data; rmidi 184 sound/isa/gus/gus_uart.c gus = substream->rmidi->private_data; rmidi 231 sound/isa/gus/gus_uart.c struct snd_rawmidi *rmidi; rmidi 234 sound/isa/gus/gus_uart.c if ((err = snd_rawmidi_new(gus->card, "GF1", device, 1, 1, &rmidi)) < 0) rmidi 236 sound/isa/gus/gus_uart.c strcpy(rmidi->name, gus->interwave ? "AMD InterWave" : "GF1"); rmidi 237 sound/isa/gus/gus_uart.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, &snd_gf1_uart_output); rmidi 238 sound/isa/gus/gus_uart.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, &snd_gf1_uart_input); rmidi 239 sound/isa/gus/gus_uart.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT | SNDRV_RAWMIDI_INFO_INPUT | SNDRV_RAWMIDI_INFO_DUPLEX; rmidi 240 sound/isa/gus/gus_uart.c rmidi->private_data = gus; rmidi 241 sound/isa/gus/gus_uart.c gus->midi_uart = rmidi; rmidi 220 sound/isa/msnd/msnd.h struct snd_rawmidi *rmidi; rmidi 47 sound/isa/msnd/msnd_midi.c mpu = substream->rmidi->private_data; rmidi 62 sound/isa/msnd/msnd_midi.c mpu = substream->rmidi->private_data; rmidi 89 sound/isa/msnd/msnd_midi.c mpu = substream->rmidi->private_data; rmidi 136 sound/isa/msnd/msnd_midi.c static void snd_msndmidi_free(struct snd_rawmidi *rmidi) rmidi 138 sound/isa/msnd/msnd_midi.c struct snd_msndmidi *mpu = rmidi->private_data; rmidi 146 sound/isa/msnd/msnd_midi.c struct snd_rawmidi *rmidi; rmidi 149 sound/isa/msnd/msnd_midi.c err = snd_rawmidi_new(card, "MSND-MIDI", device, 1, 1, &rmidi); rmidi 154 sound/isa/msnd/msnd_midi.c snd_device_free(card, rmidi); rmidi 159 sound/isa/msnd/msnd_midi.c rmidi->private_data = mpu; rmidi 160 sound/isa/msnd/msnd_midi.c rmidi->private_free = snd_msndmidi_free; rmidi 162 sound/isa/msnd/msnd_midi.c strcpy(rmidi->name, "MSND MIDI"); rmidi 163 sound/isa/msnd/msnd_midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, rmidi 165 sound/isa/msnd/msnd_midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_INPUT; rmidi 593 sound/isa/msnd/msnd_pinnacle.c &chip->rmidi); rmidi 599 sound/isa/msnd/msnd_pinnacle.c mpu = chip->rmidi->private_data; rmidi 117 sound/isa/opl3sa2.c struct snd_rawmidi *rmidi; rmidi 301 sound/isa/opl3sa2.c if ((status & 0x10) && chip->rmidi != NULL) { rmidi 303 sound/isa/opl3sa2.c snd_mpu401_uart_interrupt(irq, chip->rmidi->private_data); rmidi 697 sound/isa/opl3sa2.c &chip->rmidi)) < 0) rmidi 1265 sound/isa/opti9xx/miro.c struct snd_rawmidi *rmidi; rmidi 1354 sound/isa/opti9xx/miro.c rmidi = NULL; rmidi 1357 sound/isa/opti9xx/miro.c mpu_port, 0, miro->mpu_irq, &rmidi); rmidi 819 sound/isa/opti9xx/opti92x-ad1848.c struct snd_rawmidi *rmidi; rmidi 890 sound/isa/opti9xx/opti92x-ad1848.c rmidi = NULL; rmidi 893 sound/isa/opti9xx/opti92x-ad1848.c mpu_port, 0, mpu_irq, &rmidi); rmidi 385 sound/isa/sb/sb16.c &chip->rmidi)) < 0) rmidi 396 sound/isa/sb/sb16_main.c chip->rmidi_callback(irq, chip->rmidi->private_data); rmidi 24 sound/isa/sb/sb8_midi.c struct snd_rawmidi *rmidi; rmidi 31 sound/isa/sb/sb8_midi.c rmidi = chip->rmidi; rmidi 32 sound/isa/sb/sb8_midi.c if (!rmidi) { rmidi 56 sound/isa/sb/sb8_midi.c chip = substream->rmidi->private_data; rmidi 83 sound/isa/sb/sb8_midi.c chip = substream->rmidi->private_data; rmidi 109 sound/isa/sb/sb8_midi.c chip = substream->rmidi->private_data; rmidi 127 sound/isa/sb/sb8_midi.c chip = substream->rmidi->private_data; rmidi 146 sound/isa/sb/sb8_midi.c chip = substream->rmidi->private_data; rmidi 172 sound/isa/sb/sb8_midi.c chip = substream->rmidi->private_data; rmidi 217 sound/isa/sb/sb8_midi.c chip = substream->rmidi->private_data; rmidi 251 sound/isa/sb/sb8_midi.c struct snd_rawmidi *rmidi; rmidi 254 sound/isa/sb/sb8_midi.c if ((err = snd_rawmidi_new(chip->card, "SB8 MIDI", device, 1, 1, &rmidi)) < 0) rmidi 256 sound/isa/sb/sb8_midi.c strcpy(rmidi->name, "SB8 MIDI"); rmidi 257 sound/isa/sb/sb8_midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, &snd_sb8dsp_midi_output); rmidi 258 sound/isa/sb/sb8_midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, &snd_sb8dsp_midi_input); rmidi 259 sound/isa/sb/sb8_midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT | SNDRV_RAWMIDI_INFO_INPUT; rmidi 261 sound/isa/sb/sb8_midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_DUPLEX; rmidi 262 sound/isa/sb/sb8_midi.c rmidi->private_data = chip; rmidi 264 sound/isa/sb/sb8_midi.c chip->rmidi = rmidi; rmidi 279 sound/isa/wavefront/wavefront.c struct snd_rawmidi *rmidi; rmidi 291 sound/isa/wavefront/wavefront.c if (snd_rawmidi_new (card, "WaveFront MIDI", midi_dev, 1, 1, &rmidi) < 0) rmidi 295 sound/isa/wavefront/wavefront.c strcpy(rmidi->name, "WaveFront MIDI (Internal)"); rmidi 296 sound/isa/wavefront/wavefront.c rmidi->private_data = &internal_id; rmidi 298 sound/isa/wavefront/wavefront.c strcpy(rmidi->name, "WaveFront MIDI (External)"); rmidi 299 sound/isa/wavefront/wavefront.c rmidi->private_data = &external_id; rmidi 302 sound/isa/wavefront/wavefront.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, &snd_wavefront_midi_output); rmidi 303 sound/isa/wavefront/wavefront.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, &snd_wavefront_midi_input); rmidi 305 sound/isa/wavefront/wavefront.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT | rmidi 309 sound/isa/wavefront/wavefront.c return rmidi; rmidi 96 sound/isa/wavefront/wavefront_midi.c if (substream == NULL || substream->rmidi == NULL) rmidi 99 sound/isa/wavefront/wavefront_midi.c card = substream->rmidi->card; rmidi 235 sound/isa/wavefront/wavefront_midi.c if (snd_BUG_ON(!substream || !substream->rmidi)) rmidi 237 sound/isa/wavefront/wavefront_midi.c if (snd_BUG_ON(!substream->rmidi->private_data)) rmidi 240 sound/isa/wavefront/wavefront_midi.c mpu = *((snd_wavefront_mpu_id *) substream->rmidi->private_data); rmidi 259 sound/isa/wavefront/wavefront_midi.c if (snd_BUG_ON(!substream || !substream->rmidi)) rmidi 261 sound/isa/wavefront/wavefront_midi.c if (snd_BUG_ON(!substream->rmidi->private_data)) rmidi 264 sound/isa/wavefront/wavefront_midi.c mpu = *((snd_wavefront_mpu_id *) substream->rmidi->private_data); rmidi 283 sound/isa/wavefront/wavefront_midi.c if (snd_BUG_ON(!substream || !substream->rmidi)) rmidi 285 sound/isa/wavefront/wavefront_midi.c if (snd_BUG_ON(!substream->rmidi->private_data)) rmidi 288 sound/isa/wavefront/wavefront_midi.c mpu = *((snd_wavefront_mpu_id *) substream->rmidi->private_data); rmidi 306 sound/isa/wavefront/wavefront_midi.c if (snd_BUG_ON(!substream || !substream->rmidi)) rmidi 308 sound/isa/wavefront/wavefront_midi.c if (snd_BUG_ON(!substream->rmidi->private_data)) rmidi 311 sound/isa/wavefront/wavefront_midi.c mpu = *((snd_wavefront_mpu_id *) substream->rmidi->private_data); rmidi 328 sound/isa/wavefront/wavefront_midi.c if (substream == NULL || substream->rmidi == NULL) rmidi 331 sound/isa/wavefront/wavefront_midi.c if (substream->rmidi->private_data == NULL) rmidi 334 sound/isa/wavefront/wavefront_midi.c mpu = *((snd_wavefront_mpu_id *) substream->rmidi->private_data); rmidi 367 sound/isa/wavefront/wavefront_midi.c if (substream == NULL || substream->rmidi == NULL) rmidi 370 sound/isa/wavefront/wavefront_midi.c if (substream->rmidi->private_data == NULL) rmidi 373 sound/isa/wavefront/wavefront_midi.c mpu = *((snd_wavefront_mpu_id *) substream->rmidi->private_data); rmidi 397 sound/isa/wavefront/wavefront_midi.c snd_wavefront_midi_output_write((snd_wavefront_card_t *)substream->rmidi->card->private_data); rmidi 546 sound/pci/als4000.c && (chip->rmidi)) /* MPU401 interrupt */ rmidi 547 sound/pci/als4000.c snd_mpu401_uart_interrupt(irq, chip->rmidi->private_data); rmidi 921 sound/pci/als4000.c -1, &chip->rmidi)) < 0) { rmidi 135 sound/pci/au88x0/au88x0.h struct snd_rawmidi *rmidi; /* Legacy Midi interface. */ rmidi 2483 sound/pci/au88x0/au88x0_core.c if ((source & IRQ_MIDI) && vortex->rmidi) { rmidi 2485 sound/pci/au88x0/au88x0_core.c vortex->rmidi->private_data); rmidi 32 sound/pci/au88x0/au88x0_mpu401.c struct snd_rawmidi *rmidi; rmidi 73 sound/pci/au88x0/au88x0_mpu401.c MPU401_INFO_IRQ_HOOK, -1, &rmidi)) != 0) { rmidi 84 sound/pci/au88x0/au88x0_mpu401.c MPU401_INFO_IRQ_HOOK, -1, &rmidi)) != 0) { rmidi 90 sound/pci/au88x0/au88x0_mpu401.c mpu = rmidi->private_data; rmidi 94 sound/pci/au88x0/au88x0_mpu401.c snprintf(rmidi->name, sizeof(rmidi->name), "%s MIDI %d", CARD_NAME_SHORT , vortex->card->number); rmidi 96 sound/pci/au88x0/au88x0_mpu401.c vortex->rmidi = rmidi; rmidi 283 sound/pci/azt3328.c struct snd_rawmidi *rmidi; rmidi 1955 sound/pci/azt3328.c snd_mpu401_uart_interrupt(irq, chip->rmidi->private_data); rmidi 2538 sound/pci/azt3328.c -1, &chip->rmidi rmidi 43 sound/pci/ca0106/ca_midi.c if (midi->rmidi == NULL) { rmidi 110 sound/pci/ca0106/ca_midi.c struct snd_ca_midi *midi = substream->rmidi->private_data; rmidi 130 sound/pci/ca0106/ca_midi.c struct snd_ca_midi *midi = substream->rmidi->private_data; rmidi 150 sound/pci/ca0106/ca_midi.c struct snd_ca_midi *midi = substream->rmidi->private_data; rmidi 170 sound/pci/ca0106/ca_midi.c struct snd_ca_midi *midi = substream->rmidi->private_data; rmidi 193 sound/pci/ca0106/ca_midi.c struct snd_ca_midi *midi = substream->rmidi->private_data; rmidi 207 sound/pci/ca0106/ca_midi.c struct snd_ca_midi *midi = substream->rmidi->private_data; rmidi 266 sound/pci/ca0106/ca_midi.c midi->rmidi = NULL; rmidi 269 sound/pci/ca0106/ca_midi.c static void ca_rmidi_free(struct snd_rawmidi *rmidi) rmidi 271 sound/pci/ca0106/ca_midi.c ca_midi_free(rmidi->private_data); rmidi 276 sound/pci/ca0106/ca_midi.c struct snd_rawmidi *rmidi; rmidi 279 sound/pci/ca0106/ca_midi.c if ((err = snd_rawmidi_new(midi->get_dev_id_card(midi->dev_id), name, device, 1, 1, &rmidi)) < 0) rmidi 289 sound/pci/ca0106/ca_midi.c strcpy(rmidi->name, name); rmidi 290 sound/pci/ca0106/ca_midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, &ca_midi_output); rmidi 291 sound/pci/ca0106/ca_midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, &ca_midi_input); rmidi 292 sound/pci/ca0106/ca_midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT | rmidi 295 sound/pci/ca0106/ca_midi.c rmidi->private_data = midi; rmidi 296 sound/pci/ca0106/ca_midi.c rmidi->private_free = ca_rmidi_free; rmidi 298 sound/pci/ca0106/ca_midi.c midi->rmidi = rmidi; rmidi 20 sound/pci/ca0106/ca_midi.h struct snd_rawmidi *rmidi; rmidi 486 sound/pci/cmipci.c struct snd_rawmidi *rmidi; rmidi 1450 sound/pci/cmipci.c if (cm->rmidi && (status & CM_UARTINT)) rmidi 1451 sound/pci/cmipci.c snd_mpu401_uart_interrupt(irq, cm->rmidi->private_data); rmidi 3220 sound/pci/cmipci.c -1, &cm->rmidi)) < 0) { rmidi 454 sound/pci/cs4281.c struct snd_rawmidi *rmidi; rmidi 1638 sound/pci/cs4281.c struct cs4281 *chip = substream->rmidi->private_data; rmidi 1654 sound/pci/cs4281.c struct cs4281 *chip = substream->rmidi->private_data; rmidi 1671 sound/pci/cs4281.c struct cs4281 *chip = substream->rmidi->private_data; rmidi 1688 sound/pci/cs4281.c struct cs4281 *chip = substream->rmidi->private_data; rmidi 1706 sound/pci/cs4281.c struct cs4281 *chip = substream->rmidi->private_data; rmidi 1726 sound/pci/cs4281.c struct cs4281 *chip = substream->rmidi->private_data; rmidi 1769 sound/pci/cs4281.c struct snd_rawmidi *rmidi; rmidi 1772 sound/pci/cs4281.c if ((err = snd_rawmidi_new(chip->card, "CS4281", device, 1, 1, &rmidi)) < 0) rmidi 1774 sound/pci/cs4281.c strcpy(rmidi->name, "CS4281"); rmidi 1775 sound/pci/cs4281.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, &snd_cs4281_midi_output); rmidi 1776 sound/pci/cs4281.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, &snd_cs4281_midi_input); rmidi 1777 sound/pci/cs4281.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT | SNDRV_RAWMIDI_INFO_INPUT | SNDRV_RAWMIDI_INFO_DUPLEX; rmidi 1778 sound/pci/cs4281.c rmidi->private_data = chip; rmidi 1779 sound/pci/cs4281.c chip->rmidi = rmidi; rmidi 1828 sound/pci/cs4281.c if ((status & BA0_HISR_MIDI) && chip->rmidi) { rmidi 1676 sound/pci/cs46xx/cs46xx.h struct snd_rawmidi *rmidi; rmidi 1397 sound/pci/cs46xx/cs46xx_lib.c if ((status1 & HISR_MIDI) && chip->rmidi) { rmidi 2553 sound/pci/cs46xx/cs46xx_lib.c struct snd_cs46xx *chip = substream->rmidi->private_data; rmidi 2571 sound/pci/cs46xx/cs46xx_lib.c struct snd_cs46xx *chip = substream->rmidi->private_data; rmidi 2589 sound/pci/cs46xx/cs46xx_lib.c struct snd_cs46xx *chip = substream->rmidi->private_data; rmidi 2608 sound/pci/cs46xx/cs46xx_lib.c struct snd_cs46xx *chip = substream->rmidi->private_data; rmidi 2627 sound/pci/cs46xx/cs46xx_lib.c struct snd_cs46xx *chip = substream->rmidi->private_data; rmidi 2647 sound/pci/cs46xx/cs46xx_lib.c struct snd_cs46xx *chip = substream->rmidi->private_data; rmidi 2690 sound/pci/cs46xx/cs46xx_lib.c struct snd_rawmidi *rmidi; rmidi 2693 sound/pci/cs46xx/cs46xx_lib.c if ((err = snd_rawmidi_new(chip->card, "CS46XX", device, 1, 1, &rmidi)) < 0) rmidi 2695 sound/pci/cs46xx/cs46xx_lib.c strcpy(rmidi->name, "CS46XX"); rmidi 2696 sound/pci/cs46xx/cs46xx_lib.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, &snd_cs46xx_midi_output); rmidi 2697 sound/pci/cs46xx/cs46xx_lib.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, &snd_cs46xx_midi_input); rmidi 2698 sound/pci/cs46xx/cs46xx_lib.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT | SNDRV_RAWMIDI_INFO_INPUT | SNDRV_RAWMIDI_INFO_DUPLEX; rmidi 2699 sound/pci/cs46xx/cs46xx_lib.c rmidi->private_data = chip; rmidi 2700 sound/pci/cs46xx/cs46xx_lib.c chip->rmidi = rmidi; rmidi 350 sound/pci/echoaudio/echoaudio.h struct snd_rawmidi *rmidi; rmidi 157 sound/pci/echoaudio/midi.c struct echoaudio *chip = substream->rmidi->private_data; rmidi 168 sound/pci/echoaudio/midi.c struct echoaudio *chip = substream->rmidi->private_data; rmidi 182 sound/pci/echoaudio/midi.c struct echoaudio *chip = substream->rmidi->private_data; rmidi 192 sound/pci/echoaudio/midi.c struct echoaudio *chip = substream->rmidi->private_data; rmidi 254 sound/pci/echoaudio/midi.c struct echoaudio *chip = substream->rmidi->private_data; rmidi 283 sound/pci/echoaudio/midi.c struct echoaudio *chip = substream->rmidi->private_data; rmidi 312 sound/pci/echoaudio/midi.c &chip->rmidi)) < 0) rmidi 315 sound/pci/echoaudio/midi.c strcpy(chip->rmidi->name, card->shortname); rmidi 316 sound/pci/echoaudio/midi.c chip->rmidi->private_data = chip; rmidi 318 sound/pci/echoaudio/midi.c snd_rawmidi_set_ops(chip->rmidi, SNDRV_RAWMIDI_STREAM_INPUT, rmidi 320 sound/pci/echoaudio/midi.c snd_rawmidi_set_ops(chip->rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, rmidi 323 sound/pci/echoaudio/midi.c chip->rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT | rmidi 201 sound/pci/emu10k1/emu10k1x.c struct snd_rawmidi *rmidi; rmidi 1242 sound/pci/emu10k1/emu10k1x.c if (midi->rmidi == NULL) { rmidi 1316 sound/pci/emu10k1/emu10k1x.c struct emu10k1x_midi *midi = substream->rmidi->private_data; rmidi 1343 sound/pci/emu10k1/emu10k1x.c struct emu10k1x_midi *midi = substream->rmidi->private_data; rmidi 1370 sound/pci/emu10k1/emu10k1x.c struct emu10k1x_midi *midi = substream->rmidi->private_data; rmidi 1393 sound/pci/emu10k1/emu10k1x.c struct emu10k1x_midi *midi = substream->rmidi->private_data; rmidi 1416 sound/pci/emu10k1/emu10k1x.c struct emu10k1x_midi *midi = substream->rmidi->private_data; rmidi 1430 sound/pci/emu10k1/emu10k1x.c struct emu10k1x_midi *midi = substream->rmidi->private_data; rmidi 1482 sound/pci/emu10k1/emu10k1x.c static void snd_emu10k1x_midi_free(struct snd_rawmidi *rmidi) rmidi 1484 sound/pci/emu10k1/emu10k1x.c struct emu10k1x_midi *midi = rmidi->private_data; rmidi 1486 sound/pci/emu10k1/emu10k1x.c midi->rmidi = NULL; rmidi 1493 sound/pci/emu10k1/emu10k1x.c struct snd_rawmidi *rmidi; rmidi 1496 sound/pci/emu10k1/emu10k1x.c if ((err = snd_rawmidi_new(emu->card, name, device, 1, 1, &rmidi)) < 0) rmidi 1502 sound/pci/emu10k1/emu10k1x.c strcpy(rmidi->name, name); rmidi 1503 sound/pci/emu10k1/emu10k1x.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, &snd_emu10k1x_midi_output); rmidi 1504 sound/pci/emu10k1/emu10k1x.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, &snd_emu10k1x_midi_input); rmidi 1505 sound/pci/emu10k1/emu10k1x.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT | rmidi 1508 sound/pci/emu10k1/emu10k1x.c rmidi->private_data = midi; rmidi 1509 sound/pci/emu10k1/emu10k1x.c rmidi->private_free = snd_emu10k1x_midi_free; rmidi 1510 sound/pci/emu10k1/emu10k1x.c midi->rmidi = rmidi; rmidi 66 sound/pci/emu10k1/emumpu401.c if (midi->rmidi == NULL) { rmidi 144 sound/pci/emu10k1/emumpu401.c struct snd_emu10k1_midi *midi = (struct snd_emu10k1_midi *)substream->rmidi->private_data; rmidi 171 sound/pci/emu10k1/emumpu401.c struct snd_emu10k1_midi *midi = (struct snd_emu10k1_midi *)substream->rmidi->private_data; rmidi 198 sound/pci/emu10k1/emumpu401.c struct snd_emu10k1_midi *midi = (struct snd_emu10k1_midi *)substream->rmidi->private_data; rmidi 221 sound/pci/emu10k1/emumpu401.c struct snd_emu10k1_midi *midi = (struct snd_emu10k1_midi *)substream->rmidi->private_data; rmidi 244 sound/pci/emu10k1/emumpu401.c struct snd_emu10k1_midi *midi = (struct snd_emu10k1_midi *)substream->rmidi->private_data; rmidi 258 sound/pci/emu10k1/emumpu401.c struct snd_emu10k1_midi *midi = (struct snd_emu10k1_midi *)substream->rmidi->private_data; rmidi 310 sound/pci/emu10k1/emumpu401.c static void snd_emu10k1_midi_free(struct snd_rawmidi *rmidi) rmidi 312 sound/pci/emu10k1/emumpu401.c struct snd_emu10k1_midi *midi = rmidi->private_data; rmidi 314 sound/pci/emu10k1/emumpu401.c midi->rmidi = NULL; rmidi 319 sound/pci/emu10k1/emumpu401.c struct snd_rawmidi *rmidi; rmidi 322 sound/pci/emu10k1/emumpu401.c if ((err = snd_rawmidi_new(emu->card, name, device, 1, 1, &rmidi)) < 0) rmidi 328 sound/pci/emu10k1/emumpu401.c strcpy(rmidi->name, name); rmidi 329 sound/pci/emu10k1/emumpu401.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, &snd_emu10k1_midi_output); rmidi 330 sound/pci/emu10k1/emumpu401.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, &snd_emu10k1_midi_input); rmidi 331 sound/pci/emu10k1/emumpu401.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT | rmidi 334 sound/pci/emu10k1/emumpu401.c rmidi->private_data = midi; rmidi 335 sound/pci/emu10k1/emumpu401.c rmidi->private_free = snd_emu10k1_midi_free; rmidi 336 sound/pci/emu10k1/emumpu401.c midi->rmidi = rmidi; rmidi 416 sound/pci/ens1370.c struct snd_rawmidi *rmidi; rmidi 2145 sound/pci/ens1370.c struct snd_rawmidi *rmidi = ensoniq->rmidi; rmidi 2148 sound/pci/ens1370.c if (rmidi == NULL) rmidi 2182 sound/pci/ens1370.c struct ensoniq *ensoniq = substream->rmidi->private_data; rmidi 2198 sound/pci/ens1370.c struct ensoniq *ensoniq = substream->rmidi->private_data; rmidi 2215 sound/pci/ens1370.c struct ensoniq *ensoniq = substream->rmidi->private_data; rmidi 2231 sound/pci/ens1370.c struct ensoniq *ensoniq = substream->rmidi->private_data; rmidi 2249 sound/pci/ens1370.c struct ensoniq *ensoniq = substream->rmidi->private_data; rmidi 2273 sound/pci/ens1370.c struct ensoniq *ensoniq = substream->rmidi->private_data; rmidi 2316 sound/pci/ens1370.c struct snd_rawmidi *rmidi; rmidi 2319 sound/pci/ens1370.c if ((err = snd_rawmidi_new(ensoniq->card, "ES1370/1", device, 1, 1, &rmidi)) < 0) rmidi 2321 sound/pci/ens1370.c strcpy(rmidi->name, CHIP_NAME); rmidi 2322 sound/pci/ens1370.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, &snd_ensoniq_midi_output); rmidi 2323 sound/pci/ens1370.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, &snd_ensoniq_midi_input); rmidi 2324 sound/pci/ens1370.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT | SNDRV_RAWMIDI_INFO_INPUT | rmidi 2326 sound/pci/ens1370.c rmidi->private_data = ensoniq; rmidi 2327 sound/pci/ens1370.c ensoniq->rmidi = rmidi; rmidi 205 sound/pci/es1938.c struct snd_rawmidi *rmidi; rmidi 1549 sound/pci/es1938.c if (chip->rmidi) rmidi 1717 sound/pci/es1938.c if (chip->rmidi) { rmidi 1719 sound/pci/es1938.c snd_mpu401_uart_interrupt(irq, chip->rmidi->private_data); rmidi 1832 sound/pci/es1938.c -1, &chip->rmidi) < 0) { rmidi 515 sound/pci/es1968.c struct snd_rawmidi *rmidi; rmidi 1975 sound/pci/es1968.c if ((event & ESM_MPU401_IRQ) && chip->rmidi) { rmidi 1976 sound/pci/es1968.c snd_mpu401_uart_interrupt(irq, chip->rmidi->private_data); rmidi 2360 sound/pci/es1968.c if (chip->rmidi) rmidi 2872 sound/pci/es1968.c -1, &chip->rmidi)) < 0) { rmidi 186 sound/pci/fm801.c struct snd_rawmidi *rmidi; rmidi 583 sound/pci/fm801.c if (chip->rmidi && (status & FM801_IRQ_MPU)) rmidi 584 sound/pci/fm801.c snd_mpu401_uart_interrupt(irq, chip->rmidi->private_data); rmidi 1349 sound/pci/fm801.c -1, &chip->rmidi)) < 0) { rmidi 423 sound/pci/ice1712/ice1712.c if (ice->rmidi[0]) rmidi 424 sound/pci/ice1712/ice1712.c snd_mpu401_uart_interrupt(irq, ice->rmidi[0]->private_data); rmidi 431 sound/pci/ice1712/ice1712.c if (ice->rmidi[1]) rmidi 432 sound/pci/ice1712/ice1712.c snd_mpu401_uart_interrupt(irq, ice->rmidi[1]->private_data); rmidi 2711 sound/pci/ice1712/ice1712.c -1, &ice->rmidi[0]); rmidi 2718 sound/pci/ice1712/ice1712.c snprintf(ice->rmidi[0]->name, rmidi 2719 sound/pci/ice1712/ice1712.c sizeof(ice->rmidi[0]->name), rmidi 2728 sound/pci/ice1712/ice1712.c -1, &ice->rmidi[1]); rmidi 2736 sound/pci/ice1712/ice1712.c snprintf(ice->rmidi[1]->name, rmidi 2737 sound/pci/ice1712/ice1712.c sizeof(ice->rmidi[1]->name), rmidi 313 sound/pci/ice1712/ice1712.h struct snd_rawmidi *rmidi[2]; rmidi 252 sound/pci/ice1712/ice1724.c return list_first_entry(&ice->rmidi[0]->streams[stream].substreams, rmidi 308 sound/pci/ice1712/ice1724.c struct snd_ice1712 *ice = substream->rmidi->private_data; rmidi 327 sound/pci/ice1712/ice1724.c struct snd_ice1712 *ice = s->rmidi->private_data; rmidi 343 sound/pci/ice1712/ice1724.c struct snd_ice1712 *ice = s->rmidi->private_data; rmidi 365 sound/pci/ice1712/ice1724.c vt1724_midi_clear_rx(s->rmidi->private_data); rmidi 378 sound/pci/ice1712/ice1724.c struct snd_ice1712 *ice = s->rmidi->private_data; rmidi 2732 sound/pci/ice1712/ice1724.c struct snd_rawmidi *rmidi; rmidi 2734 sound/pci/ice1712/ice1724.c err = snd_rawmidi_new(card, "MIDI", 0, 1, 1, &rmidi); rmidi 2739 sound/pci/ice1712/ice1724.c ice->rmidi[0] = rmidi; rmidi 2740 sound/pci/ice1712/ice1724.c rmidi->private_data = ice; rmidi 2741 sound/pci/ice1712/ice1724.c strcpy(rmidi->name, "ICE1724 MIDI"); rmidi 2742 sound/pci/ice1712/ice1724.c rmidi->info_flags = SNDRV_RAWMIDI_INFO_OUTPUT | rmidi 2745 sound/pci/ice1712/ice1724.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, rmidi 2747 sound/pci/ice1712/ice1724.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, rmidi 758 sound/pci/maestro3.c struct snd_rawmidi *rmidi; rmidi 1655 sound/pci/maestro3.c if ((status & MPU401_INT_PENDING) && chip->rmidi) rmidi 1656 sound/pci/maestro3.c snd_mpu401_uart_interrupt(irq, chip->rmidi->private_data, regs); rmidi 2749 sound/pci/maestro3.c -1, &chip->rmidi); rmidi 424 sound/pci/riptide/riptide.c struct snd_rawmidi *rmidi; rmidi 1716 sound/pci/riptide/riptide.c if (chip->rmidi && IS_MPUIRQ(cif->hwport)) { rmidi 1719 sound/pci/riptide/riptide.c chip->rmidi->private_data); rmidi 1793 sound/pci/riptide/riptide.c if (chip->rmidi) rmidi 2093 sound/pci/riptide/riptide.c &chip->rmidi); rmidi 436 sound/pci/rme9652/hdsp.c struct snd_rawmidi *rmidi; rmidi 1382 sound/pci/rme9652/hdsp.c hmidi = (struct hdsp_midi *) substream->rmidi->private_data; rmidi 1425 sound/pci/rme9652/hdsp.c hmidi = (struct hdsp_midi *) substream->rmidi->private_data; rmidi 1447 sound/pci/rme9652/hdsp.c hmidi = (struct hdsp_midi *) substream->rmidi->private_data; rmidi 1460 sound/pci/rme9652/hdsp.c hmidi = (struct hdsp_midi *) substream->rmidi->private_data; rmidi 1474 sound/pci/rme9652/hdsp.c hmidi = (struct hdsp_midi *) substream->rmidi->private_data; rmidi 1488 sound/pci/rme9652/hdsp.c hmidi = (struct hdsp_midi *) substream->rmidi->private_data; rmidi 1515 sound/pci/rme9652/hdsp.c hdsp->midi[id].rmidi = NULL; rmidi 1524 sound/pci/rme9652/hdsp.c if (snd_rawmidi_new (card, buf, id, 1, 1, &hdsp->midi[id].rmidi) < 0) rmidi 1527 sound/pci/rme9652/hdsp.c sprintf(hdsp->midi[id].rmidi->name, "HDSP MIDI %d", id+1); rmidi 1528 sound/pci/rme9652/hdsp.c hdsp->midi[id].rmidi->private_data = &hdsp->midi[id]; rmidi 1530 sound/pci/rme9652/hdsp.c snd_rawmidi_set_ops (hdsp->midi[id].rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, &snd_hdsp_midi_output); rmidi 1531 sound/pci/rme9652/hdsp.c snd_rawmidi_set_ops (hdsp->midi[id].rmidi, SNDRV_RAWMIDI_STREAM_INPUT, &snd_hdsp_midi_input); rmidi 1533 sound/pci/rme9652/hdsp.c hdsp->midi[id].rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT | rmidi 5170 sound/pci/rme9652/hdsp.c hdsp->midi[0].rmidi = NULL; rmidi 5171 sound/pci/rme9652/hdsp.c hdsp->midi[1].rmidi = NULL; rmidi 958 sound/pci/rme9652/hdspm.c struct snd_rawmidi *rmidi; rmidi 1922 sound/pci/rme9652/hdspm.c hmidi = substream->rmidi->private_data; rmidi 1965 sound/pci/rme9652/hdspm.c hmidi = substream->rmidi->private_data; rmidi 1987 sound/pci/rme9652/hdspm.c hmidi = substream->rmidi->private_data; rmidi 2000 sound/pci/rme9652/hdspm.c hmidi = substream->rmidi->private_data; rmidi 2014 sound/pci/rme9652/hdspm.c hmidi = substream->rmidi->private_data; rmidi 2028 sound/pci/rme9652/hdspm.c hmidi = substream->rmidi->private_data; rmidi 2123 sound/pci/rme9652/hdspm.c &hdspm->midi[id].rmidi); rmidi 2127 sound/pci/rme9652/hdspm.c snprintf(hdspm->midi[id].rmidi->name, rmidi 2128 sound/pci/rme9652/hdspm.c sizeof(hdspm->midi[id].rmidi->name), rmidi 2130 sound/pci/rme9652/hdspm.c hdspm->midi[id].rmidi->private_data = &hdspm->midi[id]; rmidi 2132 sound/pci/rme9652/hdspm.c snd_rawmidi_set_ops(hdspm->midi[id].rmidi, rmidi 2135 sound/pci/rme9652/hdspm.c snd_rawmidi_set_ops(hdspm->midi[id].rmidi, rmidi 2139 sound/pci/rme9652/hdspm.c hdspm->midi[id].rmidi->info_flags |= rmidi 2148 sound/pci/rme9652/hdspm.c &hdspm->midi[id].rmidi); rmidi 2152 sound/pci/rme9652/hdspm.c snprintf(hdspm->midi[id].rmidi->name, rmidi 2153 sound/pci/rme9652/hdspm.c sizeof(hdspm->midi[id].rmidi->name), rmidi 2155 sound/pci/rme9652/hdspm.c hdspm->midi[id].rmidi->private_data = &hdspm->midi[id]; rmidi 2157 sound/pci/rme9652/hdspm.c snd_rawmidi_set_ops(hdspm->midi[id].rmidi, rmidi 2161 sound/pci/rme9652/hdspm.c hdspm->midi[id].rmidi->info_flags |= SNDRV_RAWMIDI_INFO_INPUT; rmidi 214 sound/pci/sonicvibes.c struct snd_rawmidi *rmidi; rmidi 624 sound/pci/sonicvibes.c if (sonic->rmidi) { rmidi 626 sound/pci/sonicvibes.c snd_mpu401_uart_interrupt(irq, sonic->rmidi->private_data); rmidi 1416 sound/pci/sonicvibes.c struct snd_rawmidi *rmidi) rmidi 1418 sound/pci/sonicvibes.c struct snd_mpu401 * mpu = rmidi->private_data; rmidi 139 sound/pci/trident/trident.c -1, &trident->rmidi)) < 0) { rmidi 382 sound/pci/trident/trident.h struct snd_rawmidi *rmidi; rmidi 3790 sound/pci/trident/trident_main.c if (trident->rmidi) { rmidi 3791 sound/pci/trident/trident_main.c snd_mpu401_uart_interrupt(irq, trident->rmidi->private_data); rmidi 377 sound/pci/via82xx.c struct snd_rawmidi *rmidi; rmidi 624 sound/pci/via82xx.c if (chip->rmidi) rmidi 626 sound/pci/via82xx.c return snd_mpu401_uart_interrupt(irq, chip->rmidi->private_data); rmidi 2094 sound/pci/via82xx.c &chip->rmidi) < 0) { rmidi 365 sound/synth/emux/emux_seq.c struct snd_rawmidi *rmidi; rmidi 367 sound/synth/emux/emux_seq.c if (snd_virmidi_new(card, emu->midi_devidx + i, &rmidi) < 0) rmidi 369 sound/synth/emux/emux_seq.c rdev = rmidi->private_data; rmidi 370 sound/synth/emux/emux_seq.c sprintf(rmidi->name, "%s Synth MIDI", emu->name); rmidi 374 sound/synth/emux/emux_seq.c if (snd_device_register(card, rmidi) < 0) { rmidi 375 sound/synth/emux/emux_seq.c snd_device_free(card, rmidi); rmidi 378 sound/synth/emux/emux_seq.c emu->vmidi[i] = rmidi; rmidi 73 sound/usb/6fire/midi.c struct midi_runtime *rt = alsa_sub->rmidi->private_data; rmidi 107 sound/usb/6fire/midi.c struct midi_runtime *rt = alsa_sub->rmidi->private_data; rmidi 127 sound/usb/6fire/midi.c struct midi_runtime *rt = alsa_sub->rmidi->private_data; rmidi 47 sound/usb/bcd2000/bcd2000.c struct snd_rawmidi *rmidi; rmidi 92 sound/usb/bcd2000/bcd2000.c struct bcd2000 *bcd2k = substream->rmidi->private_data; rmidi 179 sound/usb/bcd2000/bcd2000.c struct bcd2000 *bcd2k = substream->rmidi->private_data; rmidi 193 sound/usb/bcd2000/bcd2000.c struct bcd2000 *bcd2k = substream->rmidi->private_data; rmidi 293 sound/usb/bcd2000/bcd2000.c struct snd_rawmidi *rmidi; rmidi 298 sound/usb/bcd2000/bcd2000.c &rmidi); rmidi 303 sound/usb/bcd2000/bcd2000.c strlcpy(rmidi->name, bcd2k->card->shortname, sizeof(rmidi->name)); rmidi 305 sound/usb/bcd2000/bcd2000.c rmidi->info_flags = SNDRV_RAWMIDI_INFO_DUPLEX; rmidi 306 sound/usb/bcd2000/bcd2000.c rmidi->private_data = bcd2k; rmidi 308 sound/usb/bcd2000/bcd2000.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT; rmidi 309 sound/usb/bcd2000/bcd2000.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, rmidi 312 sound/usb/bcd2000/bcd2000.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_INPUT; rmidi 313 sound/usb/bcd2000/bcd2000.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, rmidi 316 sound/usb/bcd2000/bcd2000.c bcd2k->rmidi = rmidi; rmidi 113 sound/usb/caiaq/device.h struct snd_rawmidi *rmidi; rmidi 28 sound/usb/caiaq/midi.c struct snd_usb_caiaqdev *cdev = substream->rmidi->private_data; rmidi 44 sound/usb/caiaq/midi.c struct snd_usb_caiaqdev *cdev = substream->rmidi->private_data; rmidi 80 sound/usb/caiaq/midi.c struct snd_usb_caiaqdev *cdev = substream->rmidi->private_data; rmidi 118 sound/usb/caiaq/midi.c struct snd_rawmidi *rmidi; rmidi 123 sound/usb/caiaq/midi.c &rmidi); rmidi 128 sound/usb/caiaq/midi.c strlcpy(rmidi->name, device->product_name, sizeof(rmidi->name)); rmidi 130 sound/usb/caiaq/midi.c rmidi->info_flags = SNDRV_RAWMIDI_INFO_DUPLEX; rmidi 131 sound/usb/caiaq/midi.c rmidi->private_data = device; rmidi 134 sound/usb/caiaq/midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT; rmidi 135 sound/usb/caiaq/midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, rmidi 140 sound/usb/caiaq/midi.c rmidi->info_flags |= SNDRV_RAWMIDI_INFO_INPUT; rmidi 141 sound/usb/caiaq/midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, rmidi 145 sound/usb/caiaq/midi.c device->rmidi = rmidi; rmidi 18 sound/usb/line6/midi.c ((struct snd_line6_midi *)((substream)->rmidi->private_data)) rmidi 221 sound/usb/line6/midi.c struct snd_rawmidi *rmidi; rmidi 228 sound/usb/line6/midi.c rmidi = *rmidi_ret; rmidi 229 sound/usb/line6/midi.c strcpy(rmidi->id, line6->properties->id); rmidi 230 sound/usb/line6/midi.c strcpy(rmidi->name, line6->properties->name); rmidi 232 sound/usb/line6/midi.c rmidi->info_flags = rmidi 236 sound/usb/line6/midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, rmidi 238 sound/usb/line6/midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, rmidi 244 sound/usb/line6/midi.c static void snd_line6_midi_free(struct snd_rawmidi *rmidi) rmidi 246 sound/usb/line6/midi.c struct snd_line6_midi *line6midi = rmidi->private_data; rmidi 259 sound/usb/line6/midi.c struct snd_rawmidi *rmidi; rmidi 267 sound/usb/line6/midi.c err = snd_line6_new_midi(line6, &rmidi); rmidi 275 sound/usb/line6/midi.c rmidi->private_data = line6midi; rmidi 276 sound/usb/line6/midi.c rmidi->private_free = snd_line6_midi_free; rmidi 114 sound/usb/midi.c struct snd_rawmidi *rmidi; rmidi 1096 sound/usb/midi.c struct snd_usb_midi *umidi = substream->rmidi->private_data; rmidi 1141 sound/usb/midi.c struct snd_usb_midi *umidi = substream->rmidi->private_data; rmidi 1229 sound/usb/midi.c struct snd_usb_midi *umidi = substream->rmidi->private_data; rmidi 1532 sound/usb/midi.c static void snd_usbmidi_rawmidi_free(struct snd_rawmidi *rmidi) rmidi 1534 sound/usb/midi.c struct snd_usb_midi *umidi = rmidi->private_data; rmidi 1544 sound/usb/midi.c list_for_each_entry(substream, &umidi->rmidi->streams[stream].substreams, rmidi 1744 sound/usb/midi.c static void snd_usbmidi_get_port_info(struct snd_rawmidi *rmidi, int number, rmidi 1747 sound/usb/midi.c struct snd_usb_midi *umidi = rmidi->private_data; rmidi 2240 sound/usb/midi.c struct snd_rawmidi *rmidi; rmidi 2245 sound/usb/midi.c out_ports, in_ports, &rmidi); rmidi 2248 sound/usb/midi.c strcpy(rmidi->name, umidi->card->shortname); rmidi 2249 sound/usb/midi.c rmidi->info_flags = SNDRV_RAWMIDI_INFO_OUTPUT | rmidi 2252 sound/usb/midi.c rmidi->ops = &snd_usbmidi_ops; rmidi 2253 sound/usb/midi.c rmidi->private_data = umidi; rmidi 2254 sound/usb/midi.c rmidi->private_free = snd_usbmidi_rawmidi_free; rmidi 2255 sound/usb/midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, rmidi 2257 sound/usb/midi.c snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, rmidi 2260 sound/usb/midi.c umidi->rmidi = rmidi;