Lines Matching refs:rmidi
12 struct snd_efw *efw = substream->rmidi->private_data; in midi_open()
36 struct snd_efw *efw = substream->rmidi->private_data; in midi_close()
49 struct snd_efw *efw = substrm->rmidi->private_data; in midi_capture_trigger()
66 struct snd_efw *efw = substrm->rmidi->private_data; in midi_playback_trigger()
104 struct snd_rawmidi *rmidi; in snd_efw_create_midi_devices() local
111 &rmidi); in snd_efw_create_midi_devices()
115 snprintf(rmidi->name, sizeof(rmidi->name), in snd_efw_create_midi_devices()
117 rmidi->private_data = efw; in snd_efw_create_midi_devices()
120 rmidi->info_flags |= SNDRV_RAWMIDI_INFO_INPUT; in snd_efw_create_midi_devices()
122 snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, in snd_efw_create_midi_devices()
125 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; in snd_efw_create_midi_devices()
131 rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT; in snd_efw_create_midi_devices()
133 snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, in snd_efw_create_midi_devices()
136 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; in snd_efw_create_midi_devices()
142 rmidi->info_flags |= SNDRV_RAWMIDI_INFO_DUPLEX; in snd_efw_create_midi_devices()