Home
last modified time | relevance | path

Searched refs:midi_buffer (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/sound/usb/line6/
Dmidibuf.h11 struct midi_buffer { struct
20 extern int line6_midibuf_bytes_used(struct midi_buffer *mb); argument
21 extern int line6_midibuf_bytes_free(struct midi_buffer *mb);
22 extern void line6_midibuf_destroy(struct midi_buffer *mb);
23 extern int line6_midibuf_ignore(struct midi_buffer *mb, int length);
24 extern int line6_midibuf_init(struct midi_buffer *mb, int size, int split);
25 extern int line6_midibuf_read(struct midi_buffer *mb, unsigned char *data,
27 extern void line6_midibuf_reset(struct midi_buffer *mb);
28 extern int line6_midibuf_write(struct midi_buffer *mb, unsigned char *data,
Dmidibuf.c37 static int midibuf_is_empty(struct midi_buffer *this) in midibuf_is_empty()
42 static int midibuf_is_full(struct midi_buffer *this) in midibuf_is_full()
47 void line6_midibuf_reset(struct midi_buffer *this) in line6_midibuf_reset()
53 int line6_midibuf_init(struct midi_buffer *this, int size, int split) in line6_midibuf_init()
66 int line6_midibuf_bytes_free(struct midi_buffer *this) in line6_midibuf_bytes_free()
75 int line6_midibuf_bytes_used(struct midi_buffer *this) in line6_midibuf_bytes_used()
84 int line6_midibuf_write(struct midi_buffer *this, unsigned char *data, in line6_midibuf_write()
127 int line6_midibuf_read(struct midi_buffer *this, unsigned char *data, in line6_midibuf_read()
232 int line6_midibuf_ignore(struct midi_buffer *this, int length) in line6_midibuf_ignore()
244 void line6_midibuf_destroy(struct midi_buffer *this) in line6_midibuf_destroy()
Dmidi.h37 struct midi_buffer midibuf_in;
40 struct midi_buffer midibuf_out;
Dmidi.c42 struct midi_buffer *mb = &line6midi->midibuf_out; in line6_midi_transmit()
Ddriver.c288 struct midi_buffer *mb = &line6->line6midi->midibuf_in; in line6_data_received()
/kernel/linux/linux-5.10/sound/pci/echoaudio/
Dmidi.c142 chip->midi_buffer[received++] = (u8)midi_byte; in midi_service_irq()
Dechoaudio.h431 u8 midi_buffer[MIDI_IN_BUFFER_SIZE]; member
Dechoaudio.c1853 snd_rawmidi_receive(chip->midi_in, chip->midi_buffer, st); in snd_echo_interrupt()