/linux-6.1.9/include/sound/ |
D | rawmidi.h | 34 struct snd_rawmidi_substream; 39 int (*open) (struct snd_rawmidi_substream * substream); 40 int (*close) (struct snd_rawmidi_substream * substream); 41 void (*trigger) (struct snd_rawmidi_substream * substream, int up); 42 void (*drain) (struct snd_rawmidi_substream * substream); 53 struct snd_rawmidi_substream *substream; 68 void (*event)(struct snd_rawmidi_substream *substream); 73 void (*private_free)(struct snd_rawmidi_substream *substream); 76 struct snd_rawmidi_substream { struct 99 struct snd_rawmidi_substream *input; argument [all …]
|
/linux-6.1.9/sound/firewire/tascam/ |
D | tascam-midi.c | 10 static int midi_capture_open(struct snd_rawmidi_substream *substream) in midi_capture_open() 16 static int midi_playback_open(struct snd_rawmidi_substream *substream) in midi_playback_open() 25 static int midi_capture_close(struct snd_rawmidi_substream *substream) in midi_capture_close() 31 static int midi_playback_close(struct snd_rawmidi_substream *substream) in midi_playback_close() 36 static void midi_playback_drain(struct snd_rawmidi_substream *substream) in midi_playback_drain() 43 static void midi_capture_trigger(struct snd_rawmidi_substream *substrm, int up) in midi_capture_trigger() 58 static void midi_playback_trigger(struct snd_rawmidi_substream *substrm, int up) in midi_playback_trigger() 87 struct snd_rawmidi_substream *subs; in snd_tscm_create_midi_devices()
|
/linux-6.1.9/sound/firewire/oxfw/ |
D | oxfw-scs1x.c | 19 struct snd_rawmidi_substream *input; 22 struct snd_rawmidi_substream *output; 44 static void midi_input_escaped_byte(struct snd_rawmidi_substream *stream, in midi_input_escaped_byte() 55 struct snd_rawmidi_substream *stream, u8 byte) in midi_input_byte() 76 struct snd_rawmidi_substream *stream, in midi_input_packet() 100 struct snd_rawmidi_substream *stream; in handle_hss() 177 struct snd_rawmidi_substream *stream; in scs_output_work() 277 static int midi_capture_open(struct snd_rawmidi_substream *stream) in midi_capture_open() 282 static int midi_capture_close(struct snd_rawmidi_substream *stream) in midi_capture_close() 287 static void midi_capture_trigger(struct snd_rawmidi_substream *stream, int up) in midi_capture_trigger() [all …]
|
D | oxfw-midi.c | 10 static int midi_capture_open(struct snd_rawmidi_substream *substream) in midi_capture_open() 37 static int midi_playback_open(struct snd_rawmidi_substream *substream) in midi_playback_open() 62 static int midi_capture_close(struct snd_rawmidi_substream *substream) in midi_capture_close() 77 static int midi_playback_close(struct snd_rawmidi_substream *substream) in midi_playback_close() 92 static void midi_capture_trigger(struct snd_rawmidi_substream *substrm, int up) in midi_capture_trigger() 109 static void midi_playback_trigger(struct snd_rawmidi_substream *substrm, int up) in midi_playback_trigger() 129 struct snd_rawmidi_substream *subs; in set_midi_substream_names()
|
/linux-6.1.9/sound/usb/caiaq/ |
D | midi.c | 16 static int snd_usb_caiaq_midi_input_open(struct snd_rawmidi_substream *substream) in snd_usb_caiaq_midi_input_open() 21 static int snd_usb_caiaq_midi_input_close(struct snd_rawmidi_substream *substream) in snd_usb_caiaq_midi_input_close() 26 static void snd_usb_caiaq_midi_input_trigger(struct snd_rawmidi_substream *substream, int up) in snd_usb_caiaq_midi_input_trigger() 37 static int snd_usb_caiaq_midi_output_open(struct snd_rawmidi_substream *substream) in snd_usb_caiaq_midi_output_open() 42 static int snd_usb_caiaq_midi_output_close(struct snd_rawmidi_substream *substream) in snd_usb_caiaq_midi_output_close() 53 struct snd_rawmidi_substream *substream) in snd_usb_caiaq_midi_send() 78 static void snd_usb_caiaq_midi_output_trigger(struct snd_rawmidi_substream *substream, int up) in snd_usb_caiaq_midi_output_trigger()
|
/linux-6.1.9/sound/firewire/fireface/ |
D | ff-midi.c | 10 static int midi_capture_open(struct snd_rawmidi_substream *substream) in midi_capture_open() 16 static int midi_playback_open(struct snd_rawmidi_substream *substream) in midi_playback_open() 29 static int midi_capture_close(struct snd_rawmidi_substream *substream) in midi_capture_close() 35 static int midi_playback_close(struct snd_rawmidi_substream *substream) in midi_playback_close() 45 static void midi_capture_trigger(struct snd_rawmidi_substream *substream, in midi_capture_trigger() 62 static void midi_playback_trigger(struct snd_rawmidi_substream *substream, in midi_playback_trigger() 79 struct snd_rawmidi_substream *substream; in set_midi_substream_names()
|
/linux-6.1.9/sound/drivers/ |
D | serial-generic.c | 45 struct snd_rawmidi_substream *midi_output; 46 struct snd_rawmidi_substream *midi_input; 72 struct snd_rawmidi_substream *substream = drvdata->midi_output; in snd_serial_generic_tx_work() 145 static int snd_serial_generic_input_open(struct snd_rawmidi_substream *substream) in snd_serial_generic_input_open() 162 static int snd_serial_generic_input_close(struct snd_rawmidi_substream *substream) in snd_serial_generic_input_close() 179 static void snd_serial_generic_input_trigger(struct snd_rawmidi_substream *substream, in snd_serial_generic_input_trigger() 190 static int snd_serial_generic_output_open(struct snd_rawmidi_substream *substream) in snd_serial_generic_output_open() 208 static int snd_serial_generic_output_close(struct snd_rawmidi_substream *substream) in snd_serial_generic_output_close() 226 static void snd_serial_generic_output_trigger(struct snd_rawmidi_substream *substream, in snd_serial_generic_output_trigger() 240 static void snd_serial_generic_output_drain(struct snd_rawmidi_substream *substream) in snd_serial_generic_output_drain() [all …]
|
D | mtpav.c | 118 struct snd_rawmidi_substream *input; 119 struct snd_rawmidi_substream *output; 272 struct snd_rawmidi_substream *substream) in snd_mtpav_output_port_write() 306 static void snd_mtpav_output_write(struct snd_rawmidi_substream *substream) in snd_mtpav_output_write() 336 static int snd_mtpav_input_open(struct snd_rawmidi_substream *substream) in snd_mtpav_input_open() 354 static int snd_mtpav_input_close(struct snd_rawmidi_substream *substream) in snd_mtpav_input_close() 372 static void snd_mtpav_input_trigger(struct snd_rawmidi_substream *substream, int up) in snd_mtpav_input_trigger() 425 static int snd_mtpav_output_open(struct snd_rawmidi_substream *substream) in snd_mtpav_output_open() 441 static int snd_mtpav_output_close(struct snd_rawmidi_substream *substream) in snd_mtpav_output_close() 457 static void snd_mtpav_output_trigger(struct snd_rawmidi_substream *substream, int up) in snd_mtpav_output_trigger() [all …]
|
/linux-6.1.9/sound/usb/line6/ |
D | midi.c | 37 static void line6_midi_transmit(struct snd_rawmidi_substream *substream) in line6_midi_transmit() 148 static int line6_midi_output_open(struct snd_rawmidi_substream *substream) in line6_midi_output_open() 153 static int line6_midi_output_close(struct snd_rawmidi_substream *substream) in line6_midi_output_close() 158 static void line6_midi_output_trigger(struct snd_rawmidi_substream *substream, in line6_midi_output_trigger() 174 static void line6_midi_output_drain(struct snd_rawmidi_substream *substream) in line6_midi_output_drain() 184 static int line6_midi_input_open(struct snd_rawmidi_substream *substream) in line6_midi_input_open() 189 static int line6_midi_input_close(struct snd_rawmidi_substream *substream) in line6_midi_input_close() 194 static void line6_midi_input_trigger(struct snd_rawmidi_substream *substream, in line6_midi_input_trigger()
|
D | midi.h | 22 struct snd_rawmidi_substream *substream_receive; 25 struct snd_rawmidi_substream *substream_transmit;
|
/linux-6.1.9/sound/usb/6fire/ |
D | midi.c | 60 static int usb6fire_midi_out_open(struct snd_rawmidi_substream *alsa_sub) in usb6fire_midi_out_open() 65 static int usb6fire_midi_out_close(struct snd_rawmidi_substream *alsa_sub) in usb6fire_midi_out_close() 71 struct snd_rawmidi_substream *alsa_sub, int up) in usb6fire_midi_out_trigger() 105 static void usb6fire_midi_out_drain(struct snd_rawmidi_substream *alsa_sub) in usb6fire_midi_out_drain() 114 static int usb6fire_midi_in_open(struct snd_rawmidi_substream *alsa_sub) in usb6fire_midi_in_open() 119 static int usb6fire_midi_in_close(struct snd_rawmidi_substream *alsa_sub) in usb6fire_midi_in_close() 125 struct snd_rawmidi_substream *alsa_sub, int up) in usb6fire_midi_in_trigger()
|
/linux-6.1.9/sound/core/ |
D | rawmidi.c | 103 static bool snd_rawmidi_ready(struct snd_rawmidi_substream *substream) in snd_rawmidi_ready() 114 static inline int snd_rawmidi_ready_append(struct snd_rawmidi_substream *substream, in snd_rawmidi_ready_append() 143 static void snd_rawmidi_buffer_ref_sync(struct snd_rawmidi_substream *substream) in snd_rawmidi_buffer_ref_sync() 160 static int snd_rawmidi_runtime_create(struct snd_rawmidi_substream *substream) in snd_rawmidi_runtime_create() 187 static int snd_rawmidi_runtime_free(struct snd_rawmidi_substream *substream) in snd_rawmidi_runtime_free() 197 static inline void snd_rawmidi_output_trigger(struct snd_rawmidi_substream *substream, int up) in snd_rawmidi_output_trigger() 204 static void snd_rawmidi_input_trigger(struct snd_rawmidi_substream *substream, int up) in snd_rawmidi_input_trigger() 221 static void reset_runtime_ptrs(struct snd_rawmidi_substream *substream, in reset_runtime_ptrs() 232 int snd_rawmidi_drop_output(struct snd_rawmidi_substream *substream) in snd_rawmidi_drop_output() 240 int snd_rawmidi_drain_output(struct snd_rawmidi_substream *substream) in snd_rawmidi_drain_output() [all …]
|
/linux-6.1.9/sound/usb/bcd2000/ |
D | bcd2000.c | 48 struct snd_rawmidi_substream *midi_receive_substream; 49 struct snd_rawmidi_substream *midi_out_substream; 78 static int bcd2000_midi_input_open(struct snd_rawmidi_substream *substream) in bcd2000_midi_input_open() 83 static int bcd2000_midi_input_close(struct snd_rawmidi_substream *substream) in bcd2000_midi_input_close() 89 static void bcd2000_midi_input_trigger(struct snd_rawmidi_substream *substream, in bcd2000_midi_input_trigger() 100 struct snd_rawmidi_substream *midi_receive_substream; in bcd2000_midi_handle_input() 129 struct snd_rawmidi_substream *midi_out_substream; in bcd2000_midi_send() 172 static int bcd2000_midi_output_open(struct snd_rawmidi_substream *substream) in bcd2000_midi_output_open() 177 static int bcd2000_midi_output_close(struct snd_rawmidi_substream *substream) in bcd2000_midi_output_close() 190 static void bcd2000_midi_output_trigger(struct snd_rawmidi_substream *substream, in bcd2000_midi_output_trigger()
|
/linux-6.1.9/sound/isa/sb/ |
D | sb8_midi.c | 50 static int snd_sb8dsp_midi_input_open(struct snd_rawmidi_substream *substream) in snd_sb8dsp_midi_input_open() 77 static int snd_sb8dsp_midi_output_open(struct snd_rawmidi_substream *substream) in snd_sb8dsp_midi_output_open() 104 static int snd_sb8dsp_midi_input_close(struct snd_rawmidi_substream *substream) in snd_sb8dsp_midi_input_close() 122 static int snd_sb8dsp_midi_output_close(struct snd_rawmidi_substream *substream) in snd_sb8dsp_midi_output_close() 141 static void snd_sb8dsp_midi_input_trigger(struct snd_rawmidi_substream *substream, int up) in snd_sb8dsp_midi_input_trigger() 164 static void snd_sb8dsp_midi_output_write(struct snd_rawmidi_substream *substream) in snd_sb8dsp_midi_output_write() 203 struct snd_rawmidi_substream *substream = chip->midi_substream_output; in snd_sb8dsp_midi_output_timer() 212 static void snd_sb8dsp_midi_output_trigger(struct snd_rawmidi_substream *substream, int up) in snd_sb8dsp_midi_output_trigger()
|
/linux-6.1.9/sound/firewire/motu/ |
D | motu-midi.c | 9 static int midi_open(struct snd_rawmidi_substream *substream) in midi_open() 36 static int midi_close(struct snd_rawmidi_substream *substream) in midi_close() 51 static void midi_capture_trigger(struct snd_rawmidi_substream *substrm, int up) in midi_capture_trigger() 68 static void midi_playback_trigger(struct snd_rawmidi_substream *substrm, int up) in midi_playback_trigger() 88 struct snd_rawmidi_substream *subs; in set_midi_substream_names()
|
/linux-6.1.9/sound/firewire/bebob/ |
D | bebob_midi.c | 10 static int midi_open(struct snd_rawmidi_substream *substream) in midi_open() 34 static int midi_close(struct snd_rawmidi_substream *substream) in midi_close() 47 static void midi_capture_trigger(struct snd_rawmidi_substream *substrm, int up) in midi_capture_trigger() 64 static void midi_playback_trigger(struct snd_rawmidi_substream *substrm, int up) in midi_playback_trigger() 84 struct snd_rawmidi_substream *subs; in set_midi_substream_names()
|
/linux-6.1.9/sound/firewire/fireworks/ |
D | fireworks_midi.c | 10 static int midi_open(struct snd_rawmidi_substream *substream) in midi_open() 34 static int midi_close(struct snd_rawmidi_substream *substream) in midi_close() 47 static void midi_capture_trigger(struct snd_rawmidi_substream *substrm, int up) in midi_capture_trigger() 64 static void midi_playback_trigger(struct snd_rawmidi_substream *substrm, int up) in midi_playback_trigger() 84 struct snd_rawmidi_substream *subs; in set_midi_substream_names()
|
/linux-6.1.9/sound/firewire/dice/ |
D | dice-midi.c | 9 static int midi_open(struct snd_rawmidi_substream *substream) in midi_open() 36 static int midi_close(struct snd_rawmidi_substream *substream) in midi_close() 51 static void midi_capture_trigger(struct snd_rawmidi_substream *substrm, int up) in midi_capture_trigger() 68 static void midi_playback_trigger(struct snd_rawmidi_substream *substrm, int up) in midi_playback_trigger() 88 struct snd_rawmidi_substream *subs; in set_midi_substream_names()
|
/linux-6.1.9/sound/firewire/digi00x/ |
D | digi00x-midi.c | 10 static int midi_open(struct snd_rawmidi_substream *substream) in midi_open() 34 static int midi_close(struct snd_rawmidi_substream *substream) in midi_close() 47 static void midi_capture_trigger(struct snd_rawmidi_substream *substream, in midi_capture_trigger() 69 static void midi_playback_trigger(struct snd_rawmidi_substream *substream, in midi_playback_trigger() 94 struct snd_rawmidi_substream *subs; in set_substream_names()
|
/linux-6.1.9/sound/pci/echoaudio/ |
D | midi.c | 154 static int snd_echo_midi_input_open(struct snd_rawmidi_substream *substream) in snd_echo_midi_input_open() 164 static void snd_echo_midi_input_trigger(struct snd_rawmidi_substream *substream, in snd_echo_midi_input_trigger() 179 static int snd_echo_midi_input_close(struct snd_rawmidi_substream *substream) in snd_echo_midi_input_close() 189 static int snd_echo_midi_output_open(struct snd_rawmidi_substream *substream) in snd_echo_midi_output_open() 250 static void snd_echo_midi_output_trigger(struct snd_rawmidi_substream *substream, in snd_echo_midi_output_trigger() 280 static int snd_echo_midi_output_close(struct snd_rawmidi_substream *substream) in snd_echo_midi_output_close()
|
/linux-6.1.9/sound/isa/gus/ |
D | gus_uart.c | 78 static int snd_gf1_uart_output_open(struct snd_rawmidi_substream *substream) in snd_gf1_uart_output_open() 97 static int snd_gf1_uart_input_open(struct snd_rawmidi_substream *substream) in snd_gf1_uart_input_open() 130 static int snd_gf1_uart_output_close(struct snd_rawmidi_substream *substream) in snd_gf1_uart_output_close() 145 static int snd_gf1_uart_input_close(struct snd_rawmidi_substream *substream) in snd_gf1_uart_input_close() 160 static void snd_gf1_uart_input_trigger(struct snd_rawmidi_substream *substream, int up) in snd_gf1_uart_input_trigger() 178 static void snd_gf1_uart_output_trigger(struct snd_rawmidi_substream *substream, int up) in snd_gf1_uart_output_trigger()
|
/linux-6.1.9/sound/isa/msnd/ |
D | msnd_midi.c | 33 struct snd_rawmidi_substream *substream_input; 41 static int snd_msndmidi_input_open(struct snd_rawmidi_substream *substream) in snd_msndmidi_input_open() 58 static int snd_msndmidi_input_close(struct snd_rawmidi_substream *substream) in snd_msndmidi_input_close() 81 static void snd_msndmidi_input_trigger(struct snd_rawmidi_substream *substream, in snd_msndmidi_input_trigger()
|
/linux-6.1.9/sound/isa/wavefront/ |
D | wavefront_midi.c | 90 get_wavefront_midi (struct snd_rawmidi_substream *substream) in get_wavefront_midi() 229 static int snd_wavefront_midi_input_open(struct snd_rawmidi_substream *substream) in snd_wavefront_midi_input_open() 254 static int snd_wavefront_midi_output_open(struct snd_rawmidi_substream *substream) in snd_wavefront_midi_output_open() 279 static int snd_wavefront_midi_input_close(struct snd_rawmidi_substream *substream) in snd_wavefront_midi_input_close() 303 static int snd_wavefront_midi_output_close(struct snd_rawmidi_substream *substream) in snd_wavefront_midi_output_close() 326 static void snd_wavefront_midi_input_trigger(struct snd_rawmidi_substream *substream, int up) in snd_wavefront_midi_input_trigger() 365 static void snd_wavefront_midi_output_trigger(struct snd_rawmidi_substream *substream, int up) in snd_wavefront_midi_output_trigger() 410 static struct snd_rawmidi_substream *substream = NULL; in snd_wavefront_midi_interrupt()
|
/linux-6.1.9/sound/core/seq/ |
D | seq_virmidi.c | 116 static void snd_virmidi_input_trigger(struct snd_rawmidi_substream *substream, int up) in snd_virmidi_input_trigger() 129 struct snd_rawmidi_substream *substream; in snd_vmidi_output_work() 165 static void snd_virmidi_output_trigger(struct snd_rawmidi_substream *substream, int up) in snd_virmidi_output_trigger() 177 static int snd_virmidi_input_open(struct snd_rawmidi_substream *substream) in snd_virmidi_input_open() 207 static int snd_virmidi_output_open(struct snd_rawmidi_substream *substream) in snd_virmidi_output_open() 234 static int snd_virmidi_input_close(struct snd_rawmidi_substream *substream) in snd_virmidi_input_close() 253 static int snd_virmidi_output_close(struct snd_rawmidi_substream *substream) in snd_virmidi_output_close() 268 static void snd_virmidi_output_drain(struct snd_rawmidi_substream *substream) in snd_virmidi_output_drain()
|
/linux-6.1.9/sound/pci/ca0106/ |
D | ca_midi.c | 108 static int ca_midi_input_open(struct snd_rawmidi_substream *substream) in ca_midi_input_open() 128 static int ca_midi_output_open(struct snd_rawmidi_substream *substream) in ca_midi_output_open() 148 static int ca_midi_input_close(struct snd_rawmidi_substream *substream) in ca_midi_input_close() 168 static int ca_midi_output_close(struct snd_rawmidi_substream *substream) in ca_midi_output_close() 191 static void ca_midi_input_trigger(struct snd_rawmidi_substream *substream, int up) in ca_midi_input_trigger() 205 static void ca_midi_output_trigger(struct snd_rawmidi_substream *substream, int up) in ca_midi_output_trigger()
|