Home
last modified time | relevance | path

Searched refs:snd_rawmidi_substream (Results 1 – 25 of 69) sorted by relevance

123

/openbmc/linux/include/sound/
H A Drawmidi.h35 struct snd_rawmidi_substream;
40 int (*open) (struct snd_rawmidi_substream * substream);
41 int (*close) (struct snd_rawmidi_substream * substream);
42 void (*trigger) (struct snd_rawmidi_substream * substream, int up);
43 void (*drain) (struct snd_rawmidi_substream * substream);
58 struct snd_rawmidi_substream *substream;
74 void (*event)(struct snd_rawmidi_substream *substream);
79 void (*private_free)(struct snd_rawmidi_substream *substream);
82 struct snd_rawmidi_substream { struct
105 struct snd_rawmidi_substream *input; argument
[all …]
/openbmc/linux/sound/firewire/tascam/
H A Dtascam-midi.c10 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()
/openbmc/linux/sound/usb/caiaq/
H A Dmidi.c16 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()
/openbmc/linux/sound/firewire/fireface/
H A Dff-midi.c10 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()
/openbmc/linux/sound/firewire/oxfw/
H A Doxfw-scs1x.c19 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()
299 static int midi_playback_open(struct snd_rawmidi_substream *stream) in midi_playback_open()
[all …]
H A Doxfw-midi.c10 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()
/openbmc/linux/sound/drivers/
H A Dserial-generic.c45 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 …]
H A Dmtpav.c118 struct snd_rawmidi_substream *input;
119 struct snd_rawmidi_substream *output;
272 struct snd_rawmidi_substream *substream) in snd_mtpav_output_port_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()
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()
607 struct snd_rawmidi_substream *substream) in snd_mtpav_set_name()
625 struct snd_rawmidi_substream *substream; in snd_mtpav_get_RAWMIDI()
644 substream = list_entry(list, struct snd_rawmidi_substream, list); in snd_mtpav_get_RAWMIDI()
[all …]
/openbmc/linux/sound/usb/line6/
H A Dmidi.c37 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()
H A Dmidi.h22 struct snd_rawmidi_substream *substream_receive;
25 struct snd_rawmidi_substream *substream_transmit;
/openbmc/linux/sound/usb/6fire/
H A Dmidi.c60 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()
H A Dmidi.h19 struct snd_rawmidi_substream *in;
24 struct snd_rawmidi_substream *out;
/openbmc/linux/sound/firewire/motu/
H A Dmotu-midi.c9 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()
/openbmc/linux/sound/isa/sb/
H A Dsb8_midi.c50 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()
/openbmc/linux/sound/usb/bcd2000/
H A Dbcd2000.c48 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()
/openbmc/linux/sound/core/
H A Drawmidi.c321 struct snd_rawmidi_substream **sub_ret) in assign_substream()
323 struct snd_rawmidi_substream *substream; in assign_substream()
352 struct snd_rawmidi_substream *substream, in open_substream()
676 struct snd_rawmidi_substream *substream; in __snd_rawmidi_info_select()
1307 struct snd_rawmidi_substream *substream; in snd_rawmidi_read()
1652 struct snd_rawmidi_substream *substream; in snd_rawmidi_write()
1762 struct snd_rawmidi_substream *substream; in snd_rawmidi_proc_info_read()
1862 struct snd_rawmidi_substream *substream; in snd_rawmidi_alloc_substreams()
1971 struct snd_rawmidi_substream *substream; in snd_rawmidi_free_substreams()
2121 struct snd_rawmidi_substream *s; in snd_rawmidi_dev_disconnect()
[all …]
/openbmc/linux/sound/firewire/fireworks/
H A Dfireworks_midi.c10 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()
/openbmc/linux/sound/firewire/bebob/
H A Dbebob_midi.c10 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()
/openbmc/linux/sound/firewire/dice/
H A Ddice-midi.c9 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()
/openbmc/linux/sound/firewire/digi00x/
H A Ddigi00x-midi.c10 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()
/openbmc/linux/sound/pci/echoaudio/
H A Dmidi.c154 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()
/openbmc/linux/sound/isa/gus/
H A Dgus_uart.c78 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()
/openbmc/linux/sound/isa/msnd/
H A Dmsnd_midi.c33 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()
/openbmc/linux/sound/isa/wavefront/
H A Dwavefront_midi.c90 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()
/openbmc/linux/sound/core/seq/
H A Dseq_virmidi.c123 static void snd_virmidi_input_trigger(struct snd_rawmidi_substream *substream, int up) in snd_virmidi_input_trigger()
136 struct snd_rawmidi_substream *substream; in snd_vmidi_output_work()
172 static void snd_virmidi_output_trigger(struct snd_rawmidi_substream *substream, int up) in snd_virmidi_output_trigger()
184 static int snd_virmidi_input_open(struct snd_rawmidi_substream *substream) in snd_virmidi_input_open()
214 static int snd_virmidi_output_open(struct snd_rawmidi_substream *substream) in snd_virmidi_output_open()
241 static int snd_virmidi_input_close(struct snd_rawmidi_substream *substream) in snd_virmidi_input_close()
260 static int snd_virmidi_output_close(struct snd_rawmidi_substream *substream) in snd_virmidi_output_close()
275 static void snd_virmidi_output_drain(struct snd_rawmidi_substream *substream) in snd_virmidi_output_drain()

123