Home
last modified time | relevance | path

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

/linux-6.6.21/sound/drivers/
Dserial-generic.c290 struct snd_rawmidi *rrawmidi; in snd_serial_generic_rmidi() local
294 outs, ins, &rrawmidi); in snd_serial_generic_rmidi()
299 snd_rawmidi_set_ops(rrawmidi, SNDRV_RAWMIDI_STREAM_INPUT, in snd_serial_generic_rmidi()
301 snd_rawmidi_set_ops(rrawmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, in snd_serial_generic_rmidi()
303 strcpy(rrawmidi->name, drvdata->card->shortname); in snd_serial_generic_rmidi()
305 snd_serial_generic_substreams(&rrawmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT], in snd_serial_generic_rmidi()
307 snd_serial_generic_substreams(&rrawmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT], in snd_serial_generic_rmidi()
310 rrawmidi->info_flags = SNDRV_RAWMIDI_INFO_OUTPUT | in snd_serial_generic_rmidi()
315 *rmidi = rrawmidi; in snd_serial_generic_rmidi()
Dserial-u16550.c836 struct snd_rawmidi *rrawmidi; in snd_uart16550_rmidi() local
840 outs, ins, &rrawmidi); in snd_uart16550_rmidi()
843 snd_rawmidi_set_ops(rrawmidi, SNDRV_RAWMIDI_STREAM_INPUT, in snd_uart16550_rmidi()
845 snd_rawmidi_set_ops(rrawmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, in snd_uart16550_rmidi()
847 strcpy(rrawmidi->name, "Serial MIDI"); in snd_uart16550_rmidi()
848 snd_uart16550_substreams(&rrawmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]); in snd_uart16550_rmidi()
849 snd_uart16550_substreams(&rrawmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]); in snd_uart16550_rmidi()
850 rrawmidi->info_flags = SNDRV_RAWMIDI_INFO_OUTPUT | in snd_uart16550_rmidi()
853 rrawmidi->private_data = uart; in snd_uart16550_rmidi()
855 *rmidi = rrawmidi; in snd_uart16550_rmidi()
/linux-6.6.21/sound/drivers/mpu401/
Dmpu401_uart.c520 struct snd_rawmidi ** rrawmidi) in snd_mpu401_uart_new() argument
527 if (rrawmidi) in snd_mpu401_uart_new()
528 *rrawmidi = NULL; in snd_mpu401_uart_new()
603 if (rrawmidi) in snd_mpu401_uart_new()
604 *rrawmidi = rmidi; in snd_mpu401_uart_new()
/linux-6.6.21/include/sound/
Dmpu401.h121 struct snd_rawmidi ** rrawmidi);
/linux-6.6.21/sound/core/
Drawmidi.c1947 struct snd_rawmidi **rrawmidi) in snd_rawmidi_new() argument
1952 if (rrawmidi) in snd_rawmidi_new()
1953 *rrawmidi = NULL; in snd_rawmidi_new()
1963 if (rrawmidi) in snd_rawmidi_new()
1964 *rrawmidi = rmidi; in snd_rawmidi_new()