Lines Matching refs:rmidi
47 struct snd_usb_caiaqdev *dev = substream->rmidi->private_data;
89 struct snd_usb_caiaqdev *dev = substream->rmidi->private_data;
130 struct snd_rawmidi *rmidi;
135 &rmidi);
140 strcpy(rmidi->name, device->product_name);
142 rmidi->info_flags = SNDRV_RAWMIDI_INFO_DUPLEX;
143 rmidi->private_data = device;
146 rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT;
147 snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT,
152 rmidi->info_flags |= SNDRV_RAWMIDI_INFO_INPUT;
153 snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT,
157 device->rmidi = rmidi;