Home
last modified time | relevance | path

Searched refs:rrawmidi (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/sound/drivers/
Dserial-u16550.c862 struct snd_rawmidi *rrawmidi; in snd_uart16550_rmidi() local
866 outs, ins, &rrawmidi); in snd_uart16550_rmidi()
869 snd_rawmidi_set_ops(rrawmidi, SNDRV_RAWMIDI_STREAM_INPUT, in snd_uart16550_rmidi()
871 snd_rawmidi_set_ops(rrawmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, in snd_uart16550_rmidi()
873 strcpy(rrawmidi->name, "Serial MIDI"); in snd_uart16550_rmidi()
874 snd_uart16550_substreams(&rrawmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]); in snd_uart16550_rmidi()
875 snd_uart16550_substreams(&rrawmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]); in snd_uart16550_rmidi()
876 rrawmidi->info_flags = SNDRV_RAWMIDI_INFO_OUTPUT | in snd_uart16550_rmidi()
879 rrawmidi->private_data = uart; in snd_uart16550_rmidi()
881 *rmidi = rrawmidi; in snd_uart16550_rmidi()
/Linux-v5.4/sound/drivers/mpu401/
Dmpu401_uart.c514 struct snd_rawmidi ** rrawmidi) in snd_mpu401_uart_new() argument
521 if (rrawmidi) in snd_mpu401_uart_new()
522 *rrawmidi = NULL; in snd_mpu401_uart_new()
596 if (rrawmidi) in snd_mpu401_uart_new()
597 *rrawmidi = rmidi; in snd_mpu401_uart_new()
/Linux-v5.4/include/sound/
Dmpu401.h121 struct snd_rawmidi ** rrawmidi);
/Linux-v5.4/sound/core/
Drawmidi.c1546 struct snd_rawmidi **rrawmidi) in snd_rawmidi_new() argument
1558 if (rrawmidi) in snd_rawmidi_new()
1559 *rrawmidi = NULL; in snd_rawmidi_new()
1593 if (rrawmidi) in snd_rawmidi_new()
1594 *rrawmidi = rmidi; in snd_rawmidi_new()