/linux-6.1.9/sound/core/ |
D | rawmidi.c | 38 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) 151 rmidi_err(substream->rmidi, "Buffer ref sync timeout\n"); in snd_rawmidi_buffer_ref_sync() 266 rmidi_warn(substream->rmidi, in snd_rawmidi_drain_output() 302 static int assign_substream(struct snd_rawmidi *rmidi, int subdevice, in assign_substream() argument [all …]
|
/linux-6.1.9/sound/firewire/tascam/ |
D | tascam-midi.c | 18 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 …]
|
/linux-6.1.9/sound/firewire/fireface/ |
D | ff-midi.c | 18 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 …]
|
/linux-6.1.9/sound/firewire/bebob/ |
D | bebob_midi.c | 12 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 …]
|
/linux-6.1.9/sound/firewire/fireworks/ |
D | fireworks_midi.c | 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() [all …]
|
/linux-6.1.9/sound/firewire/digi00x/ |
D | digi00x-midi.c | 12 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 …]
|
/linux-6.1.9/sound/firewire/oxfw/ |
D | oxfw-midi.c | 12 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 …]
|
D | oxfw-scs1x.c | 289 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 …]
|
/linux-6.1.9/sound/usb/caiaq/ |
D | midi.c | 28 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 strscpy(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 …]
|
/linux-6.1.9/sound/firewire/dice/ |
D | dice-midi.c | 11 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 …]
|
/linux-6.1.9/sound/firewire/motu/ |
D | motu-midi.c | 11 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 …]
|
/linux-6.1.9/sound/isa/sb/ |
D | sb8_midi.c | 24 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 …]
|
/linux-6.1.9/sound/isa/msnd/ |
D | msnd_midi.c | 47 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 …]
|
/linux-6.1.9/sound/pci/ca0106/ |
D | ca_midi.c | 43 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 …]
|
/linux-6.1.9/sound/core/seq/ |
D | seq_virmidi.c | 179 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() 372 "%s %d-%d", rdev->rmidi->name, in snd_virmidi_dev_attach_seq() 431 static int snd_virmidi_dev_register(struct snd_rawmidi *rmidi) in snd_virmidi_dev_register() argument 433 struct snd_virmidi_dev *rdev = rmidi->private_data; in snd_virmidi_dev_register() 458 static int snd_virmidi_dev_unregister(struct snd_rawmidi *rmidi) in snd_virmidi_dev_unregister() argument 460 struct snd_virmidi_dev *rdev = rmidi->private_data; in snd_virmidi_dev_unregister() 478 static void snd_virmidi_free(struct snd_rawmidi *rmidi) in snd_virmidi_free() argument 480 struct snd_virmidi_dev *rdev = rmidi->private_data; in snd_virmidi_free() [all …]
|
/linux-6.1.9/sound/drivers/mpu401/ |
D | mpu401_uart.c | 166 if (mpu->rmidi) in snd_mpu401_uart_timer() 273 mpu = substream->rmidi->private_data; in snd_mpu401_uart_input_open() 298 mpu = substream->rmidi->private_data; in snd_mpu401_uart_output_open() 323 mpu = substream->rmidi->private_data; in snd_mpu401_uart_input_close() 340 mpu = substream->rmidi->private_data; in snd_mpu401_uart_output_close() 362 mpu = substream->rmidi->private_data; in snd_mpu401_uart_input_trigger() 448 mpu = substream->rmidi->private_data; in snd_mpu401_uart_output_trigger() 488 static void snd_mpu401_uart_free(struct snd_rawmidi *rmidi) in snd_mpu401_uart_free() argument 490 struct snd_mpu401 *mpu = rmidi->private_data; in snd_mpu401_uart_free() 523 struct snd_rawmidi *rmidi; in snd_mpu401_uart_new() local [all …]
|
/linux-6.1.9/sound/usb/line6/ |
D | midi.c | 18 ((struct snd_line6_midi *)((substream)->rmidi->private_data)) 223 struct snd_rawmidi *rmidi; in snd_line6_new_midi() local 230 rmidi = *rmidi_ret; in snd_line6_new_midi() 231 strcpy(rmidi->id, line6->properties->id); in snd_line6_new_midi() 232 strcpy(rmidi->name, line6->properties->name); in snd_line6_new_midi() 234 rmidi->info_flags = in snd_line6_new_midi() 238 snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, in snd_line6_new_midi() 240 snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_INPUT, in snd_line6_new_midi() 246 static void snd_line6_midi_free(struct snd_rawmidi *rmidi) in snd_line6_midi_free() argument 248 struct snd_line6_midi *line6midi = rmidi->private_data; in snd_line6_midi_free() [all …]
|
/linux-6.1.9/sound/pci/emu10k1/ |
D | emumpu401.c | 66 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 …]
|
/linux-6.1.9/sound/isa/gus/ |
D | gus_uart.c | 83 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 err = snd_rawmidi_new(gus->card, "GF1", device, 1, 1, &rmidi); in snd_gf1_rawmidi_new() 238 strcpy(rmidi->name, gus->interwave ? "AMD InterWave" : "GF1"); in snd_gf1_rawmidi_new() 239 snd_rawmidi_set_ops(rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, &snd_gf1_uart_output); in snd_gf1_rawmidi_new() [all …]
|
/linux-6.1.9/sound/isa/wavefront/ |
D | wavefront_midi.c | 96 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() 260 if (snd_BUG_ON(!substream || !substream->rmidi)) in snd_wavefront_midi_output_open() 262 if (snd_BUG_ON(!substream->rmidi->private_data)) in snd_wavefront_midi_output_open() 265 mpu = *((snd_wavefront_mpu_id *) substream->rmidi->private_data); in snd_wavefront_midi_output_open() 285 if (snd_BUG_ON(!substream || !substream->rmidi)) in snd_wavefront_midi_input_close() 287 if (snd_BUG_ON(!substream->rmidi->private_data)) in snd_wavefront_midi_input_close() [all …]
|
/linux-6.1.9/sound/pci/au88x0/ |
D | au88x0_mpu401.c | 32 struct snd_rawmidi *rmidi; in snd_vortex_midi() local 72 MPU401_INFO_IRQ_HOOK, -1, &rmidi); in snd_vortex_midi() 83 MPU401_INFO_IRQ_HOOK, -1, &rmidi); 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()
|
/linux-6.1.9/sound/pci/echoaudio/ |
D | midi.c | 156 struct echoaudio *chip = substream->rmidi->private_data; in snd_echo_midi_input_open() 167 struct echoaudio *chip = substream->rmidi->private_data; in snd_echo_midi_input_trigger() 181 struct echoaudio *chip = substream->rmidi->private_data; in snd_echo_midi_input_close() 191 struct echoaudio *chip = substream->rmidi->private_data; in snd_echo_midi_output_open() 253 struct echoaudio *chip = substream->rmidi->private_data; in snd_echo_midi_output_trigger() 282 struct echoaudio *chip = substream->rmidi->private_data; in snd_echo_midi_output_close() 310 err = snd_rawmidi_new(card, card->shortname, 0, 1, 1, &chip->rmidi); in snd_echo_midi_create() 314 strcpy(chip->rmidi->name, card->shortname); in snd_echo_midi_create() 315 chip->rmidi->private_data = chip; in snd_echo_midi_create() 317 snd_rawmidi_set_ops(chip->rmidi, SNDRV_RAWMIDI_STREAM_INPUT, in snd_echo_midi_create() [all …]
|
/linux-6.1.9/sound/usb/bcd2000/ |
D | bcd2000.c | 47 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 strscpy(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 …]
|
/linux-6.1.9/include/sound/ |
D | rawmidi.h | 46 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, 88 struct snd_rawmidi *rmidi; member 98 struct snd_rawmidi *rmidi; member 127 void (*private_free) (struct snd_rawmidi *rmidi); 145 struct snd_rawmidi **rmidi); 146 void snd_rawmidi_set_ops(struct snd_rawmidi *rmidi, int stream,
|
/linux-6.1.9/sound/drivers/ |
D | serial-generic.c | 44 struct snd_rawmidi *rmidi; member 148 struct snd_serial_generic *drvdata = substream->rmidi->card->private_data; in snd_serial_generic_input_open() 164 struct snd_serial_generic *drvdata = substream->rmidi->card->private_data; in snd_serial_generic_input_close() 182 struct snd_serial_generic *drvdata = substream->rmidi->card->private_data; in snd_serial_generic_input_trigger() 192 struct snd_serial_generic *drvdata = substream->rmidi->card->private_data; in snd_serial_generic_output_open() 210 struct snd_serial_generic *drvdata = substream->rmidi->card->private_data; in snd_serial_generic_output_close() 229 struct snd_serial_generic *drvdata = substream->rmidi->card->private_data; in snd_serial_generic_output_trigger() 242 struct snd_serial_generic *drvdata = substream->rmidi->card->private_data; in snd_serial_generic_output_drain() 288 int outs, int ins, struct snd_rawmidi **rmidi) in snd_serial_generic_rmidi() argument 314 if (rmidi) in snd_serial_generic_rmidi() [all …]
|