Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
midi.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  usb_ms_header_descriptor
 
struct  usb_midi_in_jack_descriptor
 
struct  usb_midi_source_pin
 
struct  usb_midi_out_jack_descriptor
 
struct  usb_ms_endpoint_descriptor
 

Macros

#define USB_MS_HEADER   0x01
 
#define USB_MS_MIDI_IN_JACK   0x02
 
#define USB_MS_MIDI_OUT_JACK   0x03
 
#define USB_MS_ELEMENT   0x04
 
#define USB_MS_GENERAL   0x01
 
#define USB_MS_EMBEDDED   0x01
 
#define USB_MS_EXTERNAL   0x02
 
#define USB_DT_MS_HEADER_SIZE   7
 
#define USB_DT_MIDI_IN_SIZE   6
 
#define USB_DT_MIDI_OUT_SIZE(p)   (7 + 2 * (p))
 
#define DECLARE_USB_MIDI_OUT_JACK_DESCRIPTOR(p)
 
#define USB_DT_MS_ENDPOINT_SIZE(n)   (4 + (n))
 
#define DECLARE_USB_MS_ENDPOINT_DESCRIPTOR(n)
 

Functions

struct usb_ms_header_descriptor __attribute__ ((packed))
 

Variables

__u8 bLength
 
__u8 bDescriptorType
 
__u8 bDescriptorSubtype
 
__le16 bcdMSC
 
__le16 wTotalLength
 
__u8 bJackType
 
__u8 bJackID
 
__u8 iJack
 
__u8 baSourceID
 
__u8 baSourcePin
 
__u8 bNrInputPins
 
struct usb_midi_source_pin pins []
 
__u8 bNumEmbMIDIJack
 
__u8 baAssocJackID []
 

Macro Definition Documentation

#define DECLARE_USB_MIDI_OUT_JACK_DESCRIPTOR (   p)
Value:

Definition at line 79 of file midi.h.

#define DECLARE_USB_MS_ENDPOINT_DESCRIPTOR (   n)
Value:

Definition at line 103 of file midi.h.

#define USB_DT_MIDI_IN_SIZE   6

Definition at line 57 of file midi.h.

#define USB_DT_MIDI_OUT_SIZE (   p)    (7 + 2 * (p))

Definition at line 76 of file midi.h.

#define USB_DT_MS_ENDPOINT_SIZE (   n)    (4 + (n))

Definition at line 100 of file midi.h.

#define USB_DT_MS_HEADER_SIZE   7

Definition at line 45 of file midi.h.

#define USB_MS_ELEMENT   0x04

Definition at line 27 of file midi.h.

#define USB_MS_EMBEDDED   0x01

Definition at line 33 of file midi.h.

#define USB_MS_EXTERNAL   0x02

Definition at line 34 of file midi.h.

#define USB_MS_GENERAL   0x01

Definition at line 30 of file midi.h.

#define USB_MS_HEADER   0x01

Definition at line 24 of file midi.h.

#define USB_MS_MIDI_IN_JACK   0x02

Definition at line 25 of file midi.h.

#define USB_MS_MIDI_OUT_JACK   0x03

Definition at line 26 of file midi.h.

Function Documentation

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

Variable Documentation

__u8 baAssocJackID[]

Definition at line 103 of file midi.h.

__u8 baSourceID

Definition at line 63 of file midi.h.

__u8 baSourcePin

Definition at line 64 of file midi.h.

__le16 bcdMSC

Definition at line 47 of file midi.h.

__u8 bDescriptorSubtype

Definition at line 46 of file midi.h.

__u8 bDescriptorType

Definition at line 45 of file midi.h.

__u8 bJackID

Definition at line 60 of file midi.h.

__u8 bJackType

Definition at line 59 of file midi.h.

__u8 bLength

Definition at line 44 of file midi.h.

__u8 bNrInputPins

Definition at line 80 of file midi.h.

__u8 bNumEmbMIDIJack

Definition at line 102 of file midi.h.

__u8 iJack

Definition at line 61 of file midi.h.

Definition at line 81 of file midi.h.

__le16 wTotalLength

Definition at line 48 of file midi.h.