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

Go to the source code of this file.

Data Structures

struct  usb_endpoint_descriptor_no_audio
 
struct  usb_functionfs_descs_head
 
struct  usb_functionfs_strings_head
 
struct  usb_functionfs_event
 

Macros

#define FUNCTIONFS_FIFO_STATUS   _IO('g', 1)
 
#define FUNCTIONFS_FIFO_FLUSH   _IO('g', 2)
 
#define FUNCTIONFS_CLEAR_HALT   _IO('g', 3)
 
#define FUNCTIONFS_INTERFACE_REVMAP   _IO('g', 128)
 
#define FUNCTIONFS_ENDPOINT_REVMAP   _IO('g', 129)
 

Enumerations

enum  { FUNCTIONFS_DESCRIPTORS_MAGIC = 1, FUNCTIONFS_STRINGS_MAGIC = 2 }
 
enum  usb_functionfs_event_type {
  FUNCTIONFS_BIND, FUNCTIONFS_UNBIND, FUNCTIONFS_ENABLE, FUNCTIONFS_DISABLE,
  FUNCTIONFS_SETUP, FUNCTIONFS_SUSPEND, FUNCTIONFS_RESUME
}
 

Functions

struct
usb_endpoint_descriptor_no_audio 
__attribute__ ((packed))
 

Variables

enum { ... }  __attribute__
 
__u8 bLength
 
__u8 bDescriptorType
 
__u8 bEndpointAddress
 
__u8 bmAttributes
 
__le16 wMaxPacketSize
 
__u8 bInterval
 
__le32 magic
 
__le32 length
 
__le32 fs_count
 
__le32 hs_count
 
__le32 str_count
 
__le32 lang_count
 
struct usb_ctrlrequest setup
 
__u8 type
 
__u8 _pad [3]
 

Macro Definition Documentation

#define FUNCTIONFS_CLEAR_HALT   _IO('g', 3)

Definition at line 150 of file functionfs.h.

#define FUNCTIONFS_ENDPOINT_REVMAP   _IO('g', 129)

Definition at line 165 of file functionfs.h.

#define FUNCTIONFS_FIFO_FLUSH   _IO('g', 2)

Definition at line 145 of file functionfs.h.

#define FUNCTIONFS_FIFO_STATUS   _IO('g', 1)

Definition at line 142 of file functionfs.h.

#define FUNCTIONFS_INTERFACE_REVMAP   _IO('g', 128)

Definition at line 159 of file functionfs.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
FUNCTIONFS_DESCRIPTORS_MAGIC 
FUNCTIONFS_STRINGS_MAGIC 

Definition at line 11 of file functionfs.h.

Enumerator:
FUNCTIONFS_BIND 
FUNCTIONFS_UNBIND 
FUNCTIONFS_ENABLE 
FUNCTIONFS_DISABLE 
FUNCTIONFS_SETUP 
FUNCTIONFS_SUSPEND 
FUNCTIONFS_RESUME 

Definition at line 103 of file functionfs.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 _pad[3]

Definition at line 138 of file functionfs.h.

__u8 bDescriptorType

Definition at line 30 of file functionfs.h.

__u8 bEndpointAddress

Definition at line 32 of file functionfs.h.

__u8 bInterval

Definition at line 35 of file functionfs.h.

__u8 bLength

Definition at line 29 of file functionfs.h.

__u8 bmAttributes

Definition at line 33 of file functionfs.h.

__le32 fs_count

Definition at line 43 of file functionfs.h.

__le32 hs_count

Definition at line 44 of file functionfs.h.

__le32 lang_count

Definition at line 72 of file functionfs.h.

__le32 length

Definition at line 42 of file functionfs.h.

__le32 magic

Definition at line 41 of file functionfs.h.

Definition at line 127 of file functionfs.h.

__le32 str_count

Definition at line 71 of file functionfs.h.

Definition at line 137 of file functionfs.h.

__le16 wMaxPacketSize

Definition at line 34 of file functionfs.h.