Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pmic8xxx-pwrkey.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/input.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/log2.h>
#include <linux/mfd/pm8xxx/core.h>
#include <linux/input/pmic8xxx-pwrkey.h>

Go to the source code of this file.

Data Structures

struct  pmic8xxx_pwrkey
 

Macros

#define PON_CNTL_1   0x1C
 
#define PON_CNTL_PULL_UP   BIT(7)
 
#define PON_CNTL_TRIG_DELAY_MASK   (0x7)
 

Functions

 module_platform_driver (pmic8xxx_pwrkey_driver)
 
 MODULE_ALIAS ("platform:pmic8xxx_pwrkey")
 
 MODULE_DESCRIPTION ("PMIC8XXX Power Key driver")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_AUTHOR ("Trilok Soni <[email protected]>")
 

Macro Definition Documentation

#define PON_CNTL_1   0x1C

Definition at line 26 of file pmic8xxx-pwrkey.c.

#define PON_CNTL_PULL_UP   BIT(7)

Definition at line 27 of file pmic8xxx-pwrkey.c.

#define PON_CNTL_TRIG_DELAY_MASK   (0x7)

Definition at line 28 of file pmic8xxx-pwrkey.c.

Function Documentation

MODULE_ALIAS ( "platform:pmic8xxx_pwrkey"  )
MODULE_AUTHOR ( "Trilok Soni <[email protected]>"  )
MODULE_DESCRIPTION ( "PMIC8XXX Power Key driver )
MODULE_LICENSE ( "GPL v2 )
module_platform_driver ( pmic8xxx_pwrkey_driver  )