Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
hiddev.c File Reference
#include <linux/poll.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/input.h>
#include <linux/usb.h>
#include <linux/hid.h>
#include <linux/hiddev.h>
#include <linux/compat.h>
#include <linux/vmalloc.h>
#include "usbhid.h"

Go to the source code of this file.

Data Structures

struct  hiddev
 
struct  hiddev_list
 

Macros

#define HIDDEV_MINOR_BASE   96
 
#define HIDDEV_MINORS   16
 
#define HIDDEV_BUFFER_SIZE   2048
 

Functions

void hiddev_hid_event (struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value)
 
 EXPORT_SYMBOL_GPL (hiddev_hid_event)
 
void hiddev_report_event (struct hid_device *hid, struct hid_report *report)
 
int hiddev_connect (struct hid_device *hid, unsigned int force)
 
void hiddev_disconnect (struct hid_device *hid)
 

Macro Definition Documentation

#define HIDDEV_BUFFER_SIZE   2048

Definition at line 47 of file hiddev.c.

#define HIDDEV_MINOR_BASE   96

Definition at line 44 of file hiddev.c.

#define HIDDEV_MINORS   16

Definition at line 45 of file hiddev.c.

Function Documentation

EXPORT_SYMBOL_GPL ( hiddev_hid_event  )
int hiddev_connect ( struct hid_device hid,
unsigned int  force 
)

Definition at line 878 of file hiddev.c.

void hiddev_disconnect ( struct hid_device hid)

Definition at line 921 of file hiddev.c.

void hiddev_hid_event ( struct hid_device hid,
struct hid_field field,
struct hid_usage usage,
__s32  value 
)

Definition at line 187 of file hiddev.c.

void hiddev_report_event ( struct hid_device hid,
struct hid_report report 
)

Definition at line 207 of file hiddev.c.