Home
last modified time | relevance | path

Searched refs:rmidi (Results 1 – 25 of 77) sorted by relevance

1234

/kernel/linux/linux-5.10/sound/core/
Drawmidi.c38 static int snd_rawmidi_free(struct snd_rawmidi *rmidi);
46 #define rmidi_err(rmidi, fmt, args...) \ argument
47 dev_err(&(rmidi)->dev, fmt, ##args)
48 #define rmidi_warn(rmidi, fmt, args...) \ argument
49 dev_warn(&(rmidi)->dev, fmt, ##args)
50 #define rmidi_dbg(rmidi, fmt, args...) \ argument
51 dev_dbg(&(rmidi)->dev, fmt, ##args)
238 rmidi_warn(substream->rmidi, in snd_rawmidi_drain_output()
267 static int assign_substream(struct snd_rawmidi *rmidi, int subdevice, in assign_substream() argument
272 struct snd_rawmidi_str *s = &rmidi->streams[stream]; in assign_substream()
[all …]
/kernel/linux/linux-5.10/sound/firewire/tascam/
Dtascam-midi.c18 struct snd_tscm *tscm = substream->rmidi->private_data; in midi_playback_open()
38 struct snd_tscm *tscm = substream->rmidi->private_data; in midi_playback_drain()
45 struct snd_tscm *tscm = substrm->rmidi->private_data; in midi_capture_trigger()
60 struct snd_tscm *tscm = substrm->rmidi->private_data; in midi_playback_trigger()
85 struct snd_rawmidi *rmidi; in snd_tscm_create_midi_devices() local
93 &rmidi); in snd_tscm_create_midi_devices()
97 snprintf(rmidi->name, sizeof(rmidi->name), in snd_tscm_create_midi_devices()
99 rmidi->private_data = tscm; in snd_tscm_create_midi_devices()
101 rmidi->info_flags |= SNDRV_RAWMIDI_INFO_INPUT; in snd_tscm_create_midi_devices()
102 snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, in snd_tscm_create_midi_devices()
[all …]
/kernel/linux/linux-5.10/sound/firewire/fireface/
Dff-midi.c18 struct snd_ff *ff = substream->rmidi->private_data; in midi_playback_open()
37 struct snd_ff *ff = substream->rmidi->private_data; in midi_playback_close()
48 struct snd_ff *ff = substream->rmidi->private_data; in midi_capture_trigger()
65 struct snd_ff *ff = substream->rmidi->private_data; in midi_playback_trigger()
99 struct snd_rawmidi *rmidi; in snd_ff_create_midi_devices() local
105 &rmidi); in snd_ff_create_midi_devices()
109 snprintf(rmidi->name, sizeof(rmidi->name), in snd_ff_create_midi_devices()
111 rmidi->private_data = ff; in snd_ff_create_midi_devices()
113 rmidi->info_flags |= SNDRV_RAWMIDI_INFO_INPUT; in snd_ff_create_midi_devices()
114 snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, in snd_ff_create_midi_devices()
[all …]
/kernel/linux/linux-5.10/sound/firewire/bebob/
Dbebob_midi.c12 struct snd_bebob *bebob = substream->rmidi->private_data; in midi_open()
36 struct snd_bebob *bebob = substream->rmidi->private_data; in midi_close()
49 struct snd_bebob *bebob = substrm->rmidi->private_data; in midi_capture_trigger()
66 struct snd_bebob *bebob = substrm->rmidi->private_data; in midi_playback_trigger()
105 struct snd_rawmidi *rmidi; in snd_bebob_create_midi_devices() local
112 &rmidi); in snd_bebob_create_midi_devices()
116 snprintf(rmidi->name, sizeof(rmidi->name), in snd_bebob_create_midi_devices()
118 rmidi->private_data = bebob; in snd_bebob_create_midi_devices()
121 rmidi->info_flags |= SNDRV_RAWMIDI_INFO_INPUT; in snd_bebob_create_midi_devices()
123 snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, in snd_bebob_create_midi_devices()
[all …]
/kernel/linux/linux-5.10/sound/firewire/fireworks/
Dfireworks_midi.c12 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()
[all …]
/kernel/linux/linux-5.10/sound/firewire/digi00x/
Ddigi00x-midi.c12 struct snd_dg00x *dg00x = substream->rmidi->private_data; in midi_open()
36 struct snd_dg00x *dg00x = substream->rmidi->private_data; in midi_close()
50 struct snd_dg00x *dg00x = substream->rmidi->private_data; in midi_capture_trigger()
54 if (substream->rmidi->device == 0) in midi_capture_trigger()
72 struct snd_dg00x *dg00x = substream->rmidi->private_data; in midi_playback_trigger()
76 if (substream->rmidi->device == 0) in midi_playback_trigger()
92 struct snd_rawmidi *rmidi, bool is_console) in set_substream_names() argument
99 str = &rmidi->streams[i]; in set_substream_names()
130 struct snd_rawmidi *rmidi; in add_substream_pair() local
135 out_ports, in_ports, &rmidi); in add_substream_pair()
[all …]
/kernel/linux/linux-5.10/sound/firewire/oxfw/
Doxfw-midi.c12 struct snd_oxfw *oxfw = substream->rmidi->private_data; in midi_capture_open()
39 struct snd_oxfw *oxfw = substream->rmidi->private_data; in midi_playback_open()
64 struct snd_oxfw *oxfw = substream->rmidi->private_data; in midi_capture_close()
79 struct snd_oxfw *oxfw = substream->rmidi->private_data; in midi_playback_close()
94 struct snd_oxfw *oxfw = substrm->rmidi->private_data; in midi_capture_trigger()
111 struct snd_oxfw *oxfw = substrm->rmidi->private_data; in midi_playback_trigger()
150 struct snd_rawmidi *rmidi; in snd_oxfw_create_midi() local
160 &rmidi); in snd_oxfw_create_midi()
164 snprintf(rmidi->name, sizeof(rmidi->name), in snd_oxfw_create_midi()
166 rmidi->private_data = oxfw; in snd_oxfw_create_midi()
[all …]
Doxfw-scs1x.c289 struct fw_scs1x *scs = stream->rmidi->private_data; in midi_capture_trigger()
311 struct fw_scs1x *scs = stream->rmidi->private_data; in midi_playback_trigger()
329 struct fw_scs1x *scs = stream->rmidi->private_data; in midi_playback_drain()
345 static void remove_scs1x(struct snd_rawmidi *rmidi) in remove_scs1x() argument
347 struct fw_scs1x *scs = rmidi->private_data; in remove_scs1x()
370 struct snd_rawmidi *rmidi; in snd_oxfw_scs1x_add() local
395 err = snd_rawmidi_new(oxfw->card, "SCS.1x", 0, 1, 1, &rmidi); in snd_oxfw_scs1x_add()
398 rmidi->private_data = scs; in snd_oxfw_scs1x_add()
399 rmidi->private_free = remove_scs1x; in snd_oxfw_scs1x_add()
401 snprintf(rmidi->name, sizeof(rmidi->name), in snd_oxfw_scs1x_add()
[all …]
/kernel/linux/linux-5.10/sound/usb/caiaq/
Dmidi.c28 struct snd_usb_caiaqdev *cdev = substream->rmidi->private_data; in snd_usb_caiaq_midi_input_trigger()
44 struct snd_usb_caiaqdev *cdev = substream->rmidi->private_data; in snd_usb_caiaq_midi_output_close()
80 struct snd_usb_caiaqdev *cdev = substream->rmidi->private_data; in snd_usb_caiaq_midi_output_trigger()
118 struct snd_rawmidi *rmidi; in snd_usb_caiaq_midi_init() local
123 &rmidi); in snd_usb_caiaq_midi_init()
128 strlcpy(rmidi->name, device->product_name, sizeof(rmidi->name)); in snd_usb_caiaq_midi_init()
130 rmidi->info_flags = SNDRV_RAWMIDI_INFO_DUPLEX; in snd_usb_caiaq_midi_init()
131 rmidi->private_data = device; in snd_usb_caiaq_midi_init()
134 rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT; in snd_usb_caiaq_midi_init()
135 snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, in snd_usb_caiaq_midi_init()
[all …]
/kernel/linux/linux-5.10/sound/firewire/dice/
Ddice-midi.c11 struct snd_dice *dice = substream->rmidi->private_data; in midi_open()
38 struct snd_dice *dice = substream->rmidi->private_data; in midi_close()
53 struct snd_dice *dice = substrm->rmidi->private_data; in midi_capture_trigger()
70 struct snd_dice *dice = substrm->rmidi->private_data; in midi_playback_trigger()
108 struct snd_rawmidi *rmidi; in snd_dice_create_midi() local
127 &rmidi); in snd_dice_create_midi()
131 snprintf(rmidi->name, sizeof(rmidi->name), in snd_dice_create_midi()
133 rmidi->private_data = dice; in snd_dice_create_midi()
136 rmidi->info_flags |= SNDRV_RAWMIDI_INFO_INPUT; in snd_dice_create_midi()
138 snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, in snd_dice_create_midi()
[all …]
/kernel/linux/linux-5.10/sound/firewire/motu/
Dmotu-midi.c11 struct snd_motu *motu = substream->rmidi->private_data; in midi_open()
38 struct snd_motu *motu = substream->rmidi->private_data; in midi_close()
53 struct snd_motu *motu = substrm->rmidi->private_data; in midi_capture_trigger()
70 struct snd_motu *motu = substrm->rmidi->private_data; in midi_playback_trigger()
108 struct snd_rawmidi *rmidi; in snd_motu_create_midi_devices() local
113 err = snd_rawmidi_new(motu->card, motu->card->driver, 0, 1, 1, &rmidi); in snd_motu_create_midi_devices()
117 snprintf(rmidi->name, sizeof(rmidi->name), in snd_motu_create_midi_devices()
119 rmidi->private_data = motu; in snd_motu_create_midi_devices()
121 rmidi->info_flags |= SNDRV_RAWMIDI_INFO_INPUT | in snd_motu_create_midi_devices()
125 snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, in snd_motu_create_midi_devices()
[all …]
/kernel/linux/linux-5.10/sound/isa/sb/
Dsb8_midi.c24 struct snd_rawmidi *rmidi; in snd_sb8dsp_midi_interrupt() local
31 rmidi = chip->rmidi; in snd_sb8dsp_midi_interrupt()
32 if (!rmidi) { in snd_sb8dsp_midi_interrupt()
56 chip = substream->rmidi->private_data; in snd_sb8dsp_midi_input_open()
83 chip = substream->rmidi->private_data; in snd_sb8dsp_midi_output_open()
109 chip = substream->rmidi->private_data; in snd_sb8dsp_midi_input_close()
127 chip = substream->rmidi->private_data; in snd_sb8dsp_midi_output_close()
146 chip = substream->rmidi->private_data; in snd_sb8dsp_midi_input_trigger()
172 chip = substream->rmidi->private_data; in snd_sb8dsp_midi_output_write()
217 chip = substream->rmidi->private_data; in snd_sb8dsp_midi_output_trigger()
[all …]
/kernel/linux/linux-5.10/sound/isa/msnd/
Dmsnd_midi.c47 mpu = substream->rmidi->private_data; in snd_msndmidi_input_open()
62 mpu = substream->rmidi->private_data; in snd_msndmidi_input_close()
89 mpu = substream->rmidi->private_data; in snd_msndmidi_input_trigger()
136 static void snd_msndmidi_free(struct snd_rawmidi *rmidi) in snd_msndmidi_free() argument
138 struct snd_msndmidi *mpu = rmidi->private_data; in snd_msndmidi_free()
146 struct snd_rawmidi *rmidi; in snd_msndmidi_new() local
149 err = snd_rawmidi_new(card, "MSND-MIDI", device, 1, 1, &rmidi); in snd_msndmidi_new()
154 snd_device_free(card, rmidi); in snd_msndmidi_new()
159 rmidi->private_data = mpu; in snd_msndmidi_new()
160 rmidi->private_free = snd_msndmidi_free; in snd_msndmidi_new()
[all …]
/kernel/linux/linux-5.10/sound/pci/ca0106/
Dca_midi.c43 if (midi->rmidi == NULL) { in ca_midi_interrupt()
110 struct snd_ca_midi *midi = substream->rmidi->private_data; in ca_midi_input_open()
130 struct snd_ca_midi *midi = substream->rmidi->private_data; in ca_midi_output_open()
150 struct snd_ca_midi *midi = substream->rmidi->private_data; in ca_midi_input_close()
170 struct snd_ca_midi *midi = substream->rmidi->private_data; in ca_midi_output_close()
193 struct snd_ca_midi *midi = substream->rmidi->private_data; in ca_midi_input_trigger()
207 struct snd_ca_midi *midi = substream->rmidi->private_data; in ca_midi_output_trigger()
266 midi->rmidi = NULL; in ca_midi_free()
269 static void ca_rmidi_free(struct snd_rawmidi *rmidi) in ca_rmidi_free() argument
271 ca_midi_free(rmidi->private_data); in ca_rmidi_free()
[all …]
/kernel/linux/linux-5.10/sound/core/seq/
Dseq_virmidi.c179 struct snd_virmidi_dev *rdev = substream->rmidi->private_data; in snd_virmidi_input_open()
209 struct snd_virmidi_dev *rdev = substream->rmidi->private_data; in snd_virmidi_output_open()
236 struct snd_virmidi_dev *rdev = substream->rmidi->private_data; in snd_virmidi_input_close()
361 "%s %d-%d", rdev->rmidi->name, in snd_virmidi_dev_attach_seq()
420 static int snd_virmidi_dev_register(struct snd_rawmidi *rmidi) in snd_virmidi_dev_register() argument
422 struct snd_virmidi_dev *rdev = rmidi->private_data; in snd_virmidi_dev_register()
447 static int snd_virmidi_dev_unregister(struct snd_rawmidi *rmidi) in snd_virmidi_dev_unregister() argument
449 struct snd_virmidi_dev *rdev = rmidi->private_data; in snd_virmidi_dev_unregister()
467 static void snd_virmidi_free(struct snd_rawmidi *rmidi) in snd_virmidi_free() argument
469 struct snd_virmidi_dev *rdev = rmidi->private_data; in snd_virmidi_free()
[all …]
/kernel/linux/linux-5.10/sound/drivers/mpu401/
Dmpu401_uart.c166 if (mpu->rmidi) in snd_mpu401_uart_timer()
273 mpu = substream->rmidi->private_data; in snd_mpu401_uart_input_open()
295 mpu = substream->rmidi->private_data; in snd_mpu401_uart_output_open()
317 mpu = substream->rmidi->private_data; in snd_mpu401_uart_input_close()
334 mpu = substream->rmidi->private_data; in snd_mpu401_uart_output_close()
356 mpu = substream->rmidi->private_data; in snd_mpu401_uart_input_trigger()
442 mpu = substream->rmidi->private_data; in snd_mpu401_uart_output_trigger()
482 static void snd_mpu401_uart_free(struct snd_rawmidi *rmidi) in snd_mpu401_uart_free() argument
484 struct snd_mpu401 *mpu = rmidi->private_data; in snd_mpu401_uart_free()
517 struct snd_rawmidi *rmidi; in snd_mpu401_uart_new() local
[all …]
/kernel/linux/linux-5.10/sound/usb/line6/
Dmidi.c18 ((struct snd_line6_midi *)((substream)->rmidi->private_data))
221 struct snd_rawmidi *rmidi; in snd_line6_new_midi() local
228 rmidi = *rmidi_ret; in snd_line6_new_midi()
229 strcpy(rmidi->id, line6->properties->id); in snd_line6_new_midi()
230 strcpy(rmidi->name, line6->properties->name); in snd_line6_new_midi()
232 rmidi->info_flags = in snd_line6_new_midi()
236 snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, in snd_line6_new_midi()
238 snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, in snd_line6_new_midi()
244 static void snd_line6_midi_free(struct snd_rawmidi *rmidi) in snd_line6_midi_free() argument
246 struct snd_line6_midi *line6midi = rmidi->private_data; in snd_line6_midi_free()
[all …]
/kernel/linux/linux-5.10/sound/pci/emu10k1/
Demumpu401.c66 if (midi->rmidi == NULL) { in do_emu10k1_midi_interrupt()
144 struct snd_emu10k1_midi *midi = (struct snd_emu10k1_midi *)substream->rmidi->private_data; in snd_emu10k1_midi_input_open()
171 struct snd_emu10k1_midi *midi = (struct snd_emu10k1_midi *)substream->rmidi->private_data; in snd_emu10k1_midi_output_open()
198 struct snd_emu10k1_midi *midi = (struct snd_emu10k1_midi *)substream->rmidi->private_data; in snd_emu10k1_midi_input_close()
221 struct snd_emu10k1_midi *midi = (struct snd_emu10k1_midi *)substream->rmidi->private_data; in snd_emu10k1_midi_output_close()
244 struct snd_emu10k1_midi *midi = (struct snd_emu10k1_midi *)substream->rmidi->private_data; in snd_emu10k1_midi_input_trigger()
258 struct snd_emu10k1_midi *midi = (struct snd_emu10k1_midi *)substream->rmidi->private_data; in snd_emu10k1_midi_output_trigger()
310 static void snd_emu10k1_midi_free(struct snd_rawmidi *rmidi) in snd_emu10k1_midi_free() argument
312 struct snd_emu10k1_midi *midi = rmidi->private_data; in snd_emu10k1_midi_free()
314 midi->rmidi = NULL; in snd_emu10k1_midi_free()
[all …]
/kernel/linux/linux-5.10/sound/isa/gus/
Dgus_uart.c83 gus = substream->rmidi->private_data; in snd_gf1_uart_output_open()
103 gus = substream->rmidi->private_data; in snd_gf1_uart_input_open()
135 gus = substream->rmidi->private_data; in snd_gf1_uart_output_close()
150 gus = substream->rmidi->private_data; in snd_gf1_uart_input_close()
165 gus = substream->rmidi->private_data; in snd_gf1_uart_input_trigger()
185 gus = substream->rmidi->private_data; in snd_gf1_uart_output_trigger()
232 struct snd_rawmidi *rmidi; in snd_gf1_rawmidi_new() local
235 if ((err = snd_rawmidi_new(gus->card, "GF1", device, 1, 1, &rmidi)) < 0) in snd_gf1_rawmidi_new()
237 strcpy(rmidi->name, gus->interwave ? "AMD InterWave" : "GF1"); in snd_gf1_rawmidi_new()
238 snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, &snd_gf1_uart_output); in snd_gf1_rawmidi_new()
[all …]
/kernel/linux/linux-5.10/sound/pci/au88x0/
Dau88x0_mpu401.c32 struct snd_rawmidi *rmidi; in snd_vortex_midi() local
73 MPU401_INFO_IRQ_HOOK, -1, &rmidi)) != 0) { in snd_vortex_midi()
84 MPU401_INFO_IRQ_HOOK, -1, &rmidi)) != 0) { in snd_vortex_midi()
90 mpu = rmidi->private_data; in snd_vortex_midi()
94 snprintf(rmidi->name, sizeof(rmidi->name), "%s MIDI %d", CARD_NAME_SHORT , vortex->card->number); in snd_vortex_midi()
96 vortex->rmidi = rmidi; in snd_vortex_midi()
/kernel/linux/linux-5.10/sound/isa/wavefront/
Dwavefront_midi.c96 if (substream == NULL || substream->rmidi == NULL) in get_wavefront_midi()
99 card = substream->rmidi->card; in get_wavefront_midi()
235 if (snd_BUG_ON(!substream || !substream->rmidi)) in snd_wavefront_midi_input_open()
237 if (snd_BUG_ON(!substream->rmidi->private_data)) in snd_wavefront_midi_input_open()
240 mpu = *((snd_wavefront_mpu_id *) substream->rmidi->private_data); in snd_wavefront_midi_input_open()
259 if (snd_BUG_ON(!substream || !substream->rmidi)) in snd_wavefront_midi_output_open()
261 if (snd_BUG_ON(!substream->rmidi->private_data)) in snd_wavefront_midi_output_open()
264 mpu = *((snd_wavefront_mpu_id *) substream->rmidi->private_data); in snd_wavefront_midi_output_open()
283 if (snd_BUG_ON(!substream || !substream->rmidi)) in snd_wavefront_midi_input_close()
285 if (snd_BUG_ON(!substream->rmidi->private_data)) in snd_wavefront_midi_input_close()
[all …]
/kernel/linux/linux-5.10/sound/pci/echoaudio/
Dmidi.c157 struct echoaudio *chip = substream->rmidi->private_data; in snd_echo_midi_input_open()
168 struct echoaudio *chip = substream->rmidi->private_data; in snd_echo_midi_input_trigger()
182 struct echoaudio *chip = substream->rmidi->private_data; in snd_echo_midi_input_close()
192 struct echoaudio *chip = substream->rmidi->private_data; in snd_echo_midi_output_open()
254 struct echoaudio *chip = substream->rmidi->private_data; in snd_echo_midi_output_trigger()
283 struct echoaudio *chip = substream->rmidi->private_data; in snd_echo_midi_output_close()
312 &chip->rmidi)) < 0) in snd_echo_midi_create()
315 strcpy(chip->rmidi->name, card->shortname); in snd_echo_midi_create()
316 chip->rmidi->private_data = chip; in snd_echo_midi_create()
318 snd_rawmidi_set_ops(chip->rmidi, SNDRV_RAWMIDI_STREAM_INPUT, in snd_echo_midi_create()
[all …]
/kernel/linux/linux-5.10/sound/usb/bcd2000/
Dbcd2000.c47 struct snd_rawmidi *rmidi; member
92 struct bcd2000 *bcd2k = substream->rmidi->private_data; in bcd2000_midi_input_trigger()
179 struct bcd2000 *bcd2k = substream->rmidi->private_data; in bcd2000_midi_output_close()
193 struct bcd2000 *bcd2k = substream->rmidi->private_data; in bcd2000_midi_output_trigger()
293 struct snd_rawmidi *rmidi; in bcd2000_init_midi() local
298 &rmidi); in bcd2000_init_midi()
303 strlcpy(rmidi->name, bcd2k->card->shortname, sizeof(rmidi->name)); in bcd2000_init_midi()
305 rmidi->info_flags = SNDRV_RAWMIDI_INFO_DUPLEX; in bcd2000_init_midi()
306 rmidi->private_data = bcd2k; in bcd2000_init_midi()
308 rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT; in bcd2000_init_midi()
[all …]
/kernel/linux/linux-5.10/include/sound/
Drawmidi.h46 int (*dev_register) (struct snd_rawmidi * rmidi);
47 int (*dev_unregister) (struct snd_rawmidi * rmidi);
48 void (*get_port_info)(struct snd_rawmidi *rmidi, int number,
86 struct snd_rawmidi *rmidi; member
96 struct snd_rawmidi *rmidi; member
124 void (*private_free) (struct snd_rawmidi *rmidi);
142 struct snd_rawmidi **rmidi);
143 void snd_rawmidi_set_ops(struct snd_rawmidi *rmidi, int stream,
/kernel/linux/linux-5.10/sound/drivers/
Dportman2x4.c71 struct snd_rawmidi *rmidi; member
510 struct portman *pm = substream->rmidi->private_data; in snd_portman_midi_input_trigger()
524 struct portman *pm = substream->rmidi->private_data; in snd_portman_midi_output_trigger()
552 struct snd_rawmidi *rmidi; in snd_portman_rawmidi_create() local
559 &rmidi); in snd_portman_rawmidi_create()
563 rmidi->private_data = pm; in snd_portman_rawmidi_create()
564 strcpy(rmidi->name, CARD_NAME); in snd_portman_rawmidi_create()
565 rmidi->info_flags = SNDRV_RAWMIDI_INFO_OUTPUT | in snd_portman_rawmidi_create()
569 pm->rmidi = rmidi; in snd_portman_rawmidi_create()
572 snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, in snd_portman_rawmidi_create()
[all …]

1234