Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions
hid-roccat-common.c File Reference
#include <linux/hid.h>
#include <linux/slab.h>
#include <linux/module.h>
#include "hid-roccat-common.h"

Go to the source code of this file.

Enumerations

enum  roccat_common2_control_states { ROCCAT_COMMON_CONTROL_STATUS_OVERLOAD = 0, ROCCAT_COMMON_CONTROL_STATUS_OK = 1, ROCCAT_COMMON_CONTROL_STATUS_INVALID = 2, ROCCAT_COMMON_CONTROL_STATUS_WAIT = 3 }
 

Functions

int roccat_common2_receive (struct usb_device *usb_dev, uint report_id, void *data, uint size)
 
 EXPORT_SYMBOL_GPL (roccat_common2_receive)
 
int roccat_common2_send (struct usb_device *usb_dev, uint report_id, void const *data, uint size)
 
 EXPORT_SYMBOL_GPL (roccat_common2_send)
 
int roccat_common2_send_with_status (struct usb_device *usb_dev, uint command, void const *buf, uint size)
 
 EXPORT_SYMBOL_GPL (roccat_common2_send_with_status)
 
 MODULE_AUTHOR ("Stefan Achatz")
 
 MODULE_DESCRIPTION ("USB Roccat common driver")
 
 MODULE_LICENSE ("GPL v2")
 

Enumeration Type Documentation

Enumerator:
ROCCAT_COMMON_CONTROL_STATUS_OVERLOAD 
ROCCAT_COMMON_CONTROL_STATUS_OK 
ROCCAT_COMMON_CONTROL_STATUS_INVALID 
ROCCAT_COMMON_CONTROL_STATUS_WAIT 

Definition at line 67 of file hid-roccat-common.c.

Function Documentation

EXPORT_SYMBOL_GPL ( roccat_common2_receive  )
EXPORT_SYMBOL_GPL ( roccat_common2_send  )
EXPORT_SYMBOL_GPL ( roccat_common2_send_with_status  )
MODULE_AUTHOR ( "Stefan Achatz"  )
MODULE_DESCRIPTION ( "USB Roccat common driver )
MODULE_LICENSE ( "GPL v2 )
int roccat_common2_receive ( struct usb_device *  usb_dev,
uint  report_id,
void data,
uint  size 
)

Definition at line 24 of file hid-roccat-common.c.

int roccat_common2_send ( struct usb_device *  usb_dev,
uint  report_id,
void const data,
uint  size 
)

Definition at line 46 of file hid-roccat-common.c.

int roccat_common2_send_with_status ( struct usb_device *  usb_dev,
uint  command,
void const buf,
uint  size 
)

Definition at line 110 of file hid-roccat-common.c.