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

Go to the source code of this file.

Data Structures

struct  vibra_info
 

Macros

#define EFFECT_DIR_180_DEG   0x8000
 
#define TWL6040_VIBRA_MOD   85
 
#define TWL6040_NUM_SUPPLIES   2
 

Functions

 module_platform_driver (twl6040_vibra_driver)
 
 MODULE_ALIAS ("platform:twl6040-vibra")
 
 MODULE_DESCRIPTION ("TWL6040 Vibra driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Jorge Eduardo Candelaria <[email protected]>")
 
 MODULE_AUTHOR ("Misael Lopez Cruz <[email protected]>")
 

Macro Definition Documentation

#define EFFECT_DIR_180_DEG   0x8000

Definition at line 38 of file twl6040-vibra.c.

#define TWL6040_NUM_SUPPLIES   2

Definition at line 43 of file twl6040-vibra.c.

#define TWL6040_VIBRA_MOD   85

Definition at line 41 of file twl6040-vibra.c.

Function Documentation

MODULE_ALIAS ( "platform:twl6040-vibra"  )
MODULE_AUTHOR ( "Jorge Eduardo Candelaria <[email protected]>"  )
MODULE_AUTHOR ( "Misael Lopez Cruz <[email protected]>"  )
MODULE_DESCRIPTION ( "TWL6040 Vibra driver )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( twl6040_vibra_driver  )