Searched refs:rrawmidi (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/sound/drivers/ |
D | serial-generic.c | 290 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()
|
D | serial-u16550.c | 836 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.1.9/sound/drivers/mpu401/ |
D | mpu401_uart.c | 520 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.1.9/include/sound/ |
D | mpu401.h | 121 struct snd_rawmidi ** rrawmidi);
|
/linux-6.1.9/sound/core/ |
D | rawmidi.c | 1827 struct snd_rawmidi **rrawmidi) in snd_rawmidi_new() argument 1839 if (rrawmidi) in snd_rawmidi_new() 1840 *rrawmidi = NULL; in snd_rawmidi_new() 1874 if (rrawmidi) in snd_rawmidi_new() 1875 *rrawmidi = rmidi; in snd_rawmidi_new()
|