Lines Matching refs:rawmidi
32 #include <sound/rawmidi.h>
51 static int snd_rawmidi_free(struct snd_rawmidi *rawmidi);
61 struct snd_rawmidi *rawmidi;
63 list_for_each_entry(rawmidi, &snd_rawmidi_devices, list)
64 if (rawmidi->card == card && rawmidi->device == device)
65 return rawmidi;
198 snd_printk(KERN_WARNING "rawmidi drain error (avail = %li, buffer_size = %li)\n", (long)runtime->avail, (long)runtime->buffer_size);
814 snd_printk(KERN_WARNING "rawmidi: unknown command = 0x%x\n", cmd);
867 * @substream: the rawmidi substream
1031 * @substream: the rawmidi substream
1053 * @substream: the rawmidi substream
1108 * @substream: the rawmidi substream
1142 * @substream: the rawmidi substream
1419 snd_printk(KERN_ERR "rawmidi: cannot allocate substream\n");
1433 * snd_rawmidi_new - create a rawmidi instance
1439 * @rrawmidi: the pointer to store the new rawmidi instance
1441 * Creates a new rawmidi instance.
1464 snd_printk(KERN_ERR "rawmidi: cannot allocate\n");
1564 snd_printk(KERN_ERR "unable to register rawmidi device %i:%i\n", rmidi->card->number, rmidi->device);
1582 snd_printk(KERN_ERR "unable to register OSS rawmidi device %i:%i\n", rmidi->card->number, 0);
1594 snd_printk(KERN_ERR "unable to register OSS rawmidi device %i:%i\n", rmidi->card->number, 1);
1651 * snd_rawmidi_set_ops - set the rawmidi operators
1652 * @rmidi: the rawmidi instance
1656 * Sets the rawmidi operators for the given stream direction.