VSF Documented
Data Structures | Macros | Functions | Variables
hid.h File Reference
#include <linux/types.h>
#include <linux/device.h>

Go to the source code of this file.

Data Structures

struct  hid_class_descriptor
 
struct  hid_descriptor
 
struct  hid_report
 
struct  hid_device
 
struct  hid_ll_driver
 

Macros

#define HID_INPUT_REPORT   0
 
#define HID_OUTPUT_REPORT   1
 
#define HID_FEATURE_REPORT   2
 

Functions

struct hid_devicehid_allocate_device (void)
 
void hid_destroy_device (struct hid_device *hdev)
 
int hid_input_report (struct hid_device *hdev, int type, u8 *data, u32 size, int interrupt)
 
bool hid_ignore (struct hid_device *hdev)
 
int hid_add_device (struct hid_device *hdev)
 
int hid_parse_report (struct hid_device *hdev, __u8 *start, unsigned size)
 

Variables

struct hid_class_descriptor VSF_CAL_PACKED
 

Macro Definition Documentation

◆ HID_INPUT_REPORT

#define HID_INPUT_REPORT   0

◆ HID_OUTPUT_REPORT

#define HID_OUTPUT_REPORT   1

◆ HID_FEATURE_REPORT

#define HID_FEATURE_REPORT   2

Function Documentation

◆ hid_allocate_device()

struct hid_device * hid_allocate_device ( void  )
extern

◆ hid_destroy_device()

void hid_destroy_device ( struct hid_device hdev)
extern

◆ hid_input_report()

int hid_input_report ( struct hid_device hdev,
int  type,
u8 data,
u32  size,
int  interrupt 
)
extern

◆ hid_ignore()

bool hid_ignore ( struct hid_device hdev)
extern

◆ hid_add_device()

int hid_add_device ( struct hid_device hdev)
extern

◆ hid_parse_report()

int hid_parse_report ( struct hid_device hdev,
__u8 start,
unsigned  size 
)
extern

Variable Documentation

◆ VSF_CAL_PACKED

struct hid_descriptor VSF_CAL_PACKED