Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
sec-core.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/pm_runtime.h>
#include <linux/mutex.h>
#include <linux/mfd/core.h>
#include <linux/mfd/samsung/core.h>
#include <linux/mfd/samsung/irq.h>
#include <linux/mfd/samsung/rtc.h>
#include <linux/regmap.h>

Go to the source code of this file.

Functions

int sec_reg_read (struct sec_pmic_dev *sec_pmic, u8 reg, void *dest)
 
 EXPORT_SYMBOL_GPL (sec_reg_read)
 
int sec_bulk_read (struct sec_pmic_dev *sec_pmic, u8 reg, int count, u8 *buf)
 
 EXPORT_SYMBOL_GPL (sec_bulk_read)
 
int sec_reg_write (struct sec_pmic_dev *sec_pmic, u8 reg, u8 value)
 
 EXPORT_SYMBOL_GPL (sec_reg_write)
 
int sec_bulk_write (struct sec_pmic_dev *sec_pmic, u8 reg, int count, u8 *buf)
 
 EXPORT_SYMBOL_GPL (sec_bulk_write)
 
int sec_reg_update (struct sec_pmic_dev *sec_pmic, u8 reg, u8 val, u8 mask)
 
 EXPORT_SYMBOL_GPL (sec_reg_update)
 
 MODULE_DEVICE_TABLE (i2c, sec_pmic_id)
 
 subsys_initcall (sec_pmic_init)
 
 module_exit (sec_pmic_exit)
 
 MODULE_AUTHOR ("Sangbeom Kim <[email protected]>")
 
 MODULE_DESCRIPTION ("Core support for the S5M MFD")
 
 MODULE_LICENSE ("GPL")
 

Function Documentation

EXPORT_SYMBOL_GPL ( sec_reg_read  )
EXPORT_SYMBOL_GPL ( sec_bulk_read  )
EXPORT_SYMBOL_GPL ( sec_reg_write  )
EXPORT_SYMBOL_GPL ( sec_bulk_write  )
EXPORT_SYMBOL_GPL ( sec_reg_update  )
MODULE_AUTHOR ( "Sangbeom Kim <[email protected]>"  )
MODULE_DESCRIPTION ( "Core support for the S5M MFD )
MODULE_DEVICE_TABLE ( i2c  ,
sec_pmic_id   
)
module_exit ( sec_pmic_exit  )
MODULE_LICENSE ( "GPL"  )
int sec_bulk_read ( struct sec_pmic_dev sec_pmic,
u8  reg,
int  count,
u8 buf 
)

Definition at line 69 of file sec-core.c.

int sec_bulk_write ( struct sec_pmic_dev sec_pmic,
u8  reg,
int  count,
u8 buf 
)

Definition at line 81 of file sec-core.c.

int sec_reg_read ( struct sec_pmic_dev sec_pmic,
u8  reg,
void dest 
)

Definition at line 63 of file sec-core.c.

int sec_reg_update ( struct sec_pmic_dev sec_pmic,
u8  reg,
u8  val,
u8  mask 
)

Definition at line 87 of file sec-core.c.

int sec_reg_write ( struct sec_pmic_dev sec_pmic,
u8  reg,
u8  value 
)

Definition at line 75 of file sec-core.c.

subsys_initcall ( sec_pmic_init  )