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

Go to the source code of this file.

Data Structures

struct  hidraw_report_descriptor
 
struct  hidraw_devinfo
 

Macros

#define HIDIOCGRDESCSIZE   _IOR('H', 0x01, int)
 
#define HIDIOCGRDESC   _IOR('H', 0x02, struct hidraw_report_descriptor)
 
#define HIDIOCGRAWINFO   _IOR('H', 0x03, struct hidraw_devinfo)
 
#define HIDIOCGRAWNAME(len)   _IOC(_IOC_READ, 'H', 0x04, len)
 
#define HIDIOCGRAWPHYS(len)   _IOC(_IOC_READ, 'H', 0x05, len)
 
#define HIDIOCSFEATURE(len)   _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x06, len)
 
#define HIDIOCGFEATURE(len)   _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x07, len)
 
#define HIDRAW_FIRST_MINOR   0
 
#define HIDRAW_MAX_DEVICES   64
 
#define HIDRAW_BUFFER_SIZE   64
 

Macro Definition Documentation

#define HIDIOCGFEATURE (   len)    _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x07, len)

Definition at line 40 of file hidraw.h.

#define HIDIOCGRAWINFO   _IOR('H', 0x03, struct hidraw_devinfo)

Definition at line 35 of file hidraw.h.

#define HIDIOCGRAWNAME (   len)    _IOC(_IOC_READ, 'H', 0x04, len)

Definition at line 36 of file hidraw.h.

#define HIDIOCGRAWPHYS (   len)    _IOC(_IOC_READ, 'H', 0x05, len)

Definition at line 37 of file hidraw.h.

#define HIDIOCGRDESC   _IOR('H', 0x02, struct hidraw_report_descriptor)

Definition at line 34 of file hidraw.h.

#define HIDIOCGRDESCSIZE   _IOR('H', 0x01, int)

Definition at line 33 of file hidraw.h.

#define HIDIOCSFEATURE (   len)    _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x06, len)

Definition at line 39 of file hidraw.h.

#define HIDRAW_BUFFER_SIZE   64

Definition at line 45 of file hidraw.h.

#define HIDRAW_FIRST_MINOR   0

Definition at line 42 of file hidraw.h.

#define HIDRAW_MAX_DEVICES   64

Definition at line 43 of file hidraw.h.