Linux Kernel
3.7.1
|
#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) |
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
void(* close)(struct hid_device *hdev) |
int(* open)(struct hid_device *hdev) |
int(* parse)(struct hid_device *hdev) |
int(* start)(struct hid_device *hdev) |
void(* stop)(struct hid_device *hdev) |