Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
snd_line6_midi Struct Reference

#include <midi.h>

Data Fields

struct usb_line6line6
 
struct snd_rawmidi_substreamsubstream_receive
 
struct snd_rawmidi_substreamsubstream_transmit
 
int num_active_send_urbs
 
spinlock_t send_urb_lock
 
spinlock_t midi_transmit_lock
 
wait_queue_head_t send_wait
 
unsigned short midi_mask_transmit
 
unsigned short midi_mask_receive
 
struct MidiBuffer midibuf_in
 
struct MidiBuffer midibuf_out
 

Detailed Description

Definition at line 21 of file midi.h.

Field Documentation

struct usb_line6* line6

Pointer back to the Line6 driver data structure.

Definition at line 25 of file midi.h.

unsigned short midi_mask_receive

Bit mask for input MIDI channels.

Definition at line 65 of file midi.h.

unsigned short midi_mask_transmit

Bit mask for output MIDI channels.

Definition at line 60 of file midi.h.

spinlock_t midi_transmit_lock

Spin lock to protect MIDI buffer handling.

Definition at line 50 of file midi.h.

struct MidiBuffer midibuf_in

Buffer for incoming MIDI stream.

Definition at line 70 of file midi.h.

struct MidiBuffer midibuf_out

Buffer for outgoing MIDI stream.

Definition at line 75 of file midi.h.

int num_active_send_urbs

Number of currently active MIDI send URBs.

Definition at line 40 of file midi.h.

spinlock_t send_urb_lock

Spin lock to protect updates of send_urb.

Definition at line 45 of file midi.h.

wait_queue_head_t send_wait

Wait queue for MIDI transmission.

Definition at line 55 of file midi.h.

struct snd_rawmidi_substream* substream_receive

MIDI substream for receiving (or NULL if not active).

Definition at line 30 of file midi.h.

struct snd_rawmidi_substream* substream_transmit

MIDI substream for transmitting (or NULL if not active).

Definition at line 35 of file midi.h.


The documentation for this struct was generated from the following file: