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

Go to the source code of this file.

Data Structures

struct  uhid_create_req
 
struct  uhid_input_req
 
struct  uhid_output_req
 
struct  uhid_output_ev_req
 
struct  uhid_feature_req
 
struct  uhid_feature_answer_req
 
struct  uhid_event
 

Macros

#define UHID_DATA_MAX   4096
 

Enumerations

enum  uhid_event_type {
  UHID_CREATE, UHID_DESTROY, UHID_START, UHID_STOP,
  UHID_OPEN, UHID_CLOSE, UHID_OUTPUT, UHID_OUTPUT_EV,
  UHID_INPUT, UHID_FEATURE, UHID_FEATURE_ANSWER
}
 
enum  uhid_report_type { UHID_FEATURE_REPORT, UHID_OUTPUT_REPORT, UHID_INPUT_REPORT }
 

Functions

struct uhid_create_req __attribute__ ((__packed__))
 

Variables

__u8 name [128]
 
__u8 phys [64]
 
__u8 uniq [64]
 
__u8 __userrd_data
 
__u16 rd_size
 
__u16 bus
 
__u32 vendor
 
__u32 product
 
__u32 version
 
__u32 country
 
enum uhid_report_type __attribute__
 
__u8 data [UHID_DATA_MAX]
 
__u16 size
 
__u8 rtype
 
__u16 type
 
__u16 code
 
__s32 value
 
__u32 id
 
__u8 rnum
 
union {
   struct uhid_create_req   create
 
   struct uhid_input_req   input
 
   struct uhid_output_req   output
 
   struct uhid_output_ev_req   output_ev
 
   struct uhid_feature_req   feature
 
   struct uhid_feature_answer_req   feature_answer
 
u
 

Macro Definition Documentation

#define UHID_DATA_MAX   4096

Definition at line 53 of file uhid.h.

Enumeration Type Documentation

Enumerator:
UHID_CREATE 
UHID_DESTROY 
UHID_START 
UHID_STOP 
UHID_OPEN 
UHID_CLOSE 
UHID_OUTPUT 
UHID_OUTPUT_EV 
UHID_INPUT 
UHID_FEATURE 
UHID_FEATURE_ANSWER 

Definition at line 25 of file uhid.h.

Enumerator:
UHID_FEATURE_REPORT 
UHID_OUTPUT_REPORT 
UHID_INPUT_REPORT 

Definition at line 55 of file uhid.h.

Function Documentation

struct uhid_create_req __attribute__ ( (__packed__)  )
read

Definition at line 85 of file mpc512x_dma.c.

Variable Documentation

__u16 bus

Definition at line 58 of file uhid.h.

Definition at line 78 of file uhid.h.

__u32 country

Definition at line 62 of file uhid.h.

Definition at line 106 of file uhid.h.

Definition at line 65 of file uhid.h.

Definition at line 110 of file uhid.h.

Definition at line 111 of file uhid.h.

Definition at line 83 of file uhid.h.

Definition at line 107 of file uhid.h.

__u8 name[128]

Definition at line 52 of file uhid.h.

Definition at line 108 of file uhid.h.

Definition at line 109 of file uhid.h.

__u8 phys[64]

Definition at line 53 of file uhid.h.

Definition at line 60 of file uhid.h.

__u8 __user* rd_data

Definition at line 55 of file uhid.h.

__u16 rd_size

Definition at line 56 of file uhid.h.

__u8 rnum

Definition at line 84 of file uhid.h.

__u8 rtype

Definition at line 73 of file uhid.h.

__u16 size

Definition at line 66 of file uhid.h.

Definition at line 77 of file uhid.h.

union { ... } u
__u8 uniq[64]

Definition at line 54 of file uhid.h.

__s32 value

Definition at line 79 of file uhid.h.

Definition at line 59 of file uhid.h.

__u32 version

Definition at line 61 of file uhid.h.