Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
hid-hyperv.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/completion.h>
#include <linux/input.h>
#include <linux/hid.h>
#include <linux/hiddev.h>
#include <linux/hyperv.h>

Go to the source code of this file.

Data Structures

struct  hv_input_dev_info
 
struct  synthhid_msg_hdr
 
struct  synthhid_msg
 
union  synthhid_version
 
struct  synthhid_protocol_request
 
struct  synthhid_protocol_response
 
struct  synthhid_device_info
 
struct  synthhid_device_info_ack
 
struct  synthhid_input_report
 
struct  pipe_prt_msg
 
struct  mousevsc_prt_msg
 
struct  mousevsc_dev
 

Macros

#define SYNTHHID_MAX_INPUT_REPORT_SIZE   16
 
#define SYNTHHID_INPUT_VERSION_MAJOR   2
 
#define SYNTHHID_INPUT_VERSION_MINOR   0
 
#define SYNTHHID_INPUT_VERSION
 
#define INPUTVSC_SEND_RING_BUFFER_SIZE   (10*PAGE_SIZE)
 
#define INPUTVSC_RECV_RING_BUFFER_SIZE   (10*PAGE_SIZE)
 

Enumerations

enum  synthhid_msg_type {
  SYNTH_HID_PROTOCOL_REQUEST, SYNTH_HID_PROTOCOL_RESPONSE, SYNTH_HID_INITIAL_DEVICE_INFO, SYNTH_HID_INITIAL_DEVICE_INFO_ACK,
  SYNTH_HID_INPUT_REPORT, SYNTH_HID_MAX
}
 
enum  pipe_prot_msg_type { PIPE_MESSAGE_INVALID, PIPE_MESSAGE_DATA, PIPE_MESSAGE_MAXIMUM }
 

Functions

 MODULE_DEVICE_TABLE (vmbus, id_table)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (HV_DRV_VERSION)
 
 module_init (mousevsc_init)
 
 module_exit (mousevsc_exit)
 

Macro Definition Documentation

#define INPUTVSC_RECV_RING_BUFFER_SIZE   (10*PAGE_SIZE)

Definition at line 116 of file hid-hyperv.c.

#define INPUTVSC_SEND_RING_BUFFER_SIZE   (10*PAGE_SIZE)

Definition at line 115 of file hid-hyperv.c.

#define SYNTHHID_INPUT_VERSION
Value:

Definition at line 45 of file hid-hyperv.c.

#define SYNTHHID_INPUT_VERSION_MAJOR   2

Definition at line 43 of file hid-hyperv.c.

#define SYNTHHID_INPUT_VERSION_MINOR   0

Definition at line 44 of file hid-hyperv.c.

#define SYNTHHID_MAX_INPUT_REPORT_SIZE   16

Definition at line 34 of file hid-hyperv.c.

Enumeration Type Documentation

Enumerator:
PIPE_MESSAGE_INVALID 
PIPE_MESSAGE_DATA 
PIPE_MESSAGE_MAXIMUM 

Definition at line 119 of file hid-hyperv.c.

Enumerator:
SYNTH_HID_PROTOCOL_REQUEST 
SYNTH_HID_PROTOCOL_RESPONSE 
SYNTH_HID_INITIAL_DEVICE_INFO 
SYNTH_HID_INITIAL_DEVICE_INFO_ACK 
SYNTH_HID_INPUT_REPORT 
SYNTH_HID_MAX 

Definition at line 53 of file hid-hyperv.c.

Function Documentation

MODULE_DEVICE_TABLE ( vmbus  ,
id_table   
)
module_exit ( mousevsc_exit  )
module_init ( mousevsc_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( HV_DRV_VERSION  )