Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
rc5t583.c File Reference
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/mfd/core.h>
#include <linux/mfd/rc5t583.h>
#include <linux/regmap.h>

Go to the source code of this file.

Data Structures

struct  deepsleep_control_data
 

Macros

#define RICOH_ONOFFSEL_REG   0x10
 
#define RICOH_SWCTL_REG   0x5E
 
#define DEEPSLEEP_INIT(_id, _reg, _pos)
 
#define EXT_PWR_REQ   (RC5T583_EXT_PWRREQ1_CONTROL | RC5T583_EXT_PWRREQ2_CONTROL)
 

Functions

int rc5t583_ext_power_req_config (struct device *dev, int ds_id, int ext_pwr_req, int deepsleep_slot_nr)
 
 EXPORT_SYMBOL (rc5t583_ext_power_req_config)
 
 MODULE_DEVICE_TABLE (i2c, rc5t583_i2c_id)
 
 subsys_initcall (rc5t583_i2c_init)
 
 module_exit (rc5t583_i2c_exit)
 
 MODULE_AUTHOR ("Laxman Dewangan <[email protected]>")
 
 MODULE_DESCRIPTION ("RICOH RC5T583 power management system device driver")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define DEEPSLEEP_INIT (   _id,
  _reg,
  _pos 
)
Value:
{ \
.reg_add = RC5T583_##_reg, \
.ds_pos_bit = _pos, \
}

Definition at line 43 of file rc5t583.c.

Definition at line 74 of file rc5t583.c.

#define RICOH_ONOFFSEL_REG   0x10

Definition at line 35 of file rc5t583.c.

#define RICOH_SWCTL_REG   0x5E

Definition at line 36 of file rc5t583.c.

Function Documentation

EXPORT_SYMBOL ( rc5t583_ext_power_req_config  )
MODULE_AUTHOR ( "Laxman Dewangan <[email protected]>"  )
MODULE_DESCRIPTION ( "RICOH RC5T583 power management system device driver )
MODULE_DEVICE_TABLE ( i2c  ,
rc5t583_i2c_id   
)
module_exit ( rc5t583_i2c_exit  )
MODULE_LICENSE ( "GPL v2 )
int rc5t583_ext_power_req_config ( struct device dev,
int  ds_id,
int  ext_pwr_req,
int  deepsleep_slot_nr 
)

Definition at line 148 of file rc5t583.c.

subsys_initcall ( rc5t583_i2c_init  )