Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
hid_ll_driver Struct Reference

#include <hid.h>

Data Fields

int(* start )(struct hid_device *hdev)
 
void(* stop )(struct hid_device *hdev)
 
int(* open )(struct hid_device *hdev)
 
void(* close )(struct hid_device *hdev)
 
int(* power )(struct hid_device *hdev, int level)
 
int(* hidinput_input_event )(struct input_dev *idev, unsigned int type, unsigned int code, int value)
 
int(* parse )(struct hid_device *hdev)
 

Detailed Description

hid_ll_driver - low level driver callbacks : called on probe to start the device : called on remove : called by input layer on open : called by input layer on close : event input event (e.g. ff or leds) : this method is called only once to parse the device data, shouldn't allocate anything to not leak memory

Definition at line 661 of file hid.h.

Field Documentation

void(* close)(struct hid_device *hdev)

Definition at line 666 of file hid.h.

int(* hidinput_input_event)(struct input_dev *idev, unsigned int type, unsigned int code, int value)

Definition at line 670 of file hid.h.

int(* open)(struct hid_device *hdev)

Definition at line 665 of file hid.h.

int(* parse)(struct hid_device *hdev)

Definition at line 673 of file hid.h.

int(* power)(struct hid_device *hdev, int level)

Definition at line 668 of file hid.h.

int(* start)(struct hid_device *hdev)

Definition at line 662 of file hid.h.

void(* stop)(struct hid_device *hdev)

Definition at line 663 of file hid.h.


The documentation for this struct was generated from the following file: