Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
twl4030-vibra.c File Reference
#include <linux/module.h>
#include <linux/jiffies.h>
#include <linux/platform_device.h>
#include <linux/of.h>
#include <linux/workqueue.h>
#include <linux/i2c/twl.h>
#include <linux/mfd/twl4030-audio.h>
#include <linux/input.h>
#include <linux/slab.h>

Go to the source code of this file.

Data Structures

struct  vibra_info
 

Macros

#define LEDEN   0x00
 
#define EFFECT_DIR_180_DEG   0x8000 /* range is 0 - 0xFFFF */
 

Functions

 module_platform_driver (twl4030_vibra_driver)
 
 MODULE_ALIAS ("platform:twl4030-vibra")
 
 MODULE_DESCRIPTION ("TWL4030 Vibra driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Nokia Corporation")
 

Macro Definition Documentation

#define EFFECT_DIR_180_DEG   0x8000 /* range is 0 - 0xFFFF */

Definition at line 40 of file twl4030-vibra.c.

#define LEDEN   0x00

Definition at line 37 of file twl4030-vibra.c.

Function Documentation

MODULE_ALIAS ( "platform:twl4030-vibra"  )
MODULE_AUTHOR ( "Nokia Corporation"  )
MODULE_DESCRIPTION ( "TWL4030 Vibra driver )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( twl4030_vibra_driver  )