Lines Matching refs:rmidi
40 struct snd_usb_caiaqdev *dev = substream->rmidi->private_data;
56 struct snd_usb_caiaqdev *dev = substream->rmidi->private_data;
91 struct snd_usb_caiaqdev *dev = substream->rmidi->private_data;
129 struct snd_rawmidi *rmidi;
134 &rmidi);
139 strcpy(rmidi->name, device->product_name);
141 rmidi->info_flags = SNDRV_RAWMIDI_INFO_DUPLEX;
142 rmidi->private_data = device;
145 rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT;
146 snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT,
151 rmidi->info_flags |= SNDRV_RAWMIDI_INFO_INPUT;
152 snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT,
156 device->rmidi = rmidi;