Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
hid-lgff.c File Reference
#include <linux/input.h>
#include <linux/usb.h>
#include <linux/hid.h>
#include "usbhid/usbhid.h"
#include "hid-lg.h"

Go to the source code of this file.

Data Structures

struct  dev_type


#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
#define CLAMP(x)   if (x < 0) x = 0; if (x > 0xff) x = 0xff


int lgff_init (struct hid_device *hid)

Macro Definition Documentation

#define CLAMP (   x)    if (x < 0) x = 0; if (x > 0xff) x = 0xff
#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 30 of file hid-lgff.c.

Function Documentation

int lgff_init ( struct hid_device hid)

Definition at line 130 of file hid-lgff.c.