Lines Matching refs:rawmidi
34 #include <sound/rawmidi.h>
53 static int snd_rawmidi_free(struct snd_rawmidi *rawmidi);
63 struct snd_rawmidi *rawmidi;
65 list_for_each_entry(rawmidi, &snd_rawmidi_devices, list)
66 if (rawmidi->card == card && rawmidi->device == device)
67 return rawmidi;
196 snd_printk(KERN_WARNING "rawmidi drain error (avail = %li, buffer_size = %li)\n", (long)runtime->avail, (long)runtime->buffer_size);
796 snd_printk(KERN_WARNING "rawmidi: unknown command = 0x%x\n", cmd);
847 * @substream: the rawmidi substream
1007 * @substream: the rawmidi substream
1029 * @substream: the rawmidi substream
1084 * @substream: the rawmidi substream
1118 * @substream: the rawmidi substream
1384 snd_printk(KERN_ERR "rawmidi: cannot allocate substream\n");
1398 * snd_rawmidi_new - create a rawmidi instance
1404 * @rrawmidi: the pointer to store the new rawmidi instance
1406 * Creates a new rawmidi instance.
1428 snd_printk(KERN_ERR "rawmidi: cannot allocate\n");
1526 snd_printk(KERN_ERR "unable to register rawmidi device %i:%i\n", rmidi->card->number, rmidi->device);
1544 snd_printk(KERN_ERR "unable to register OSS rawmidi device %i:%i\n", rmidi->card->number, 0);
1556 snd_printk(KERN_ERR "unable to register OSS rawmidi device %i:%i\n", rmidi->card->number, 1);
1613 * snd_rawmidi_set_ops - set the rawmidi operators
1614 * @rmidi: the rawmidi instance
1618 * Sets the rawmidi operators for the given stream direction.