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

#include <hid-sensor-hub.h>

Data Fields

struct platform_devicepdev
 
int(* suspend )(struct hid_sensor_hub_device *hsdev, void *priv)
 
int(* resume )(struct hid_sensor_hub_device *hsdev, void *priv)
 
int(* capture_sample )(struct hid_sensor_hub_device *hsdev, u32 usage_id, size_t raw_len, char *raw_data, void *priv)
 
int(* send_event )(struct hid_sensor_hub_device *hsdev, u32 usage_id, void *priv)
 

Detailed Description

struct hid_sensor_hub_callbacks - Client callback functions : Platform device instance of the client driver. : Suspend callback. : Resume callback. : Callback to get a sample. : Send notification to indicate all samples are captured, process and send event

Definition at line 66 of file hid-sensor-hub.h.

Field Documentation

int(* capture_sample)(struct hid_sensor_hub_device *hsdev, u32 usage_id, size_t raw_len, char *raw_data, void *priv)

Definition at line 70 of file hid-sensor-hub.h.

Definition at line 67 of file hid-sensor-hub.h.

int(* resume)(struct hid_sensor_hub_device *hsdev, void *priv)

Definition at line 69 of file hid-sensor-hub.h.

int(* send_event)(struct hid_sensor_hub_device *hsdev, u32 usage_id, void *priv)

Definition at line 73 of file hid-sensor-hub.h.

int(* suspend)(struct hid_sensor_hub_device *hsdev, void *priv)

Definition at line 68 of file hid-sensor-hub.h.


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