#include <linux/hid.h>
#include <linux/slab.h>
#include <linux/module.h>
#include "hid-roccat-common.h"
static inline uint16_t roccat_common2_feature_report(uint8_t report_id)
{ … }
int roccat_common2_receive(struct usb_device *usb_dev, uint report_id,
void *data, uint size)
{ … }
EXPORT_SYMBOL_GPL(…);
int roccat_common2_send(struct usb_device *usb_dev, uint report_id,
void const *data, uint size)
{ … }
EXPORT_SYMBOL_GPL(…);
enum roccat_common2_control_states { … };
static int roccat_common2_receive_control_status(struct usb_device *usb_dev)
{ … }
int roccat_common2_send_with_status(struct usb_device *usb_dev,
uint command, void const *buf, uint size)
{ … }
EXPORT_SYMBOL_GPL(…);
int roccat_common2_device_init_struct(struct usb_device *usb_dev,
struct roccat_common2_device *dev)
{ … }
EXPORT_SYMBOL_GPL(…);
ssize_t roccat_common2_sysfs_read(struct file *fp, struct kobject *kobj,
char *buf, loff_t off, size_t count,
size_t real_size, uint command)
{ … }
EXPORT_SYMBOL_GPL(…);
ssize_t roccat_common2_sysfs_write(struct file *fp, struct kobject *kobj,
void const *buf, loff_t off, size_t count,
size_t real_size, uint command)
{ … }
EXPORT_SYMBOL_GPL(…);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;