Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
pcf50633-core.c File Reference
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/sysfs.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/interrupt.h>
#include <linux/workqueue.h>
#include <linux/platform_device.h>
#include <linux/i2c.h>
#include <linux/pm.h>
#include <linux/slab.h>
#include <linux/regmap.h>
#include <linux/err.h>
#include <linux/mfd/pcf50633/core.h>

Go to the source code of this file.

Functions

int pcf50633_read_block (struct pcf50633 *pcf, u8 reg, int nr_regs, u8 *data)
 
 EXPORT_SYMBOL_GPL (pcf50633_read_block)
 
int pcf50633_write_block (struct pcf50633 *pcf, u8 reg, int nr_regs, u8 *data)
 
 EXPORT_SYMBOL_GPL (pcf50633_write_block)
 
u8 pcf50633_reg_read (struct pcf50633 *pcf, u8 reg)
 
 EXPORT_SYMBOL_GPL (pcf50633_reg_read)
 
int pcf50633_reg_write (struct pcf50633 *pcf, u8 reg, u8 val)
 
 EXPORT_SYMBOL_GPL (pcf50633_reg_write)
 
int pcf50633_reg_set_bit_mask (struct pcf50633 *pcf, u8 reg, u8 mask, u8 val)
 
 EXPORT_SYMBOL_GPL (pcf50633_reg_set_bit_mask)
 
int pcf50633_reg_clear_bits (struct pcf50633 *pcf, u8 reg, u8 val)
 
 EXPORT_SYMBOL_GPL (pcf50633_reg_clear_bits)
 
 MODULE_DEVICE_TABLE (i2c, pcf50633_id_table)
 
 MODULE_DESCRIPTION ("I2C chip driver for NXP PCF50633 PMU")
 
 MODULE_AUTHOR ("Harald Welte <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 subsys_initcall (pcf50633_init)
 
 module_exit (pcf50633_exit)
 

Function Documentation

EXPORT_SYMBOL_GPL ( pcf50633_read_block  )
EXPORT_SYMBOL_GPL ( pcf50633_write_block  )
EXPORT_SYMBOL_GPL ( pcf50633_reg_read  )
EXPORT_SYMBOL_GPL ( pcf50633_reg_write  )
EXPORT_SYMBOL_GPL ( pcf50633_reg_set_bit_mask  )
EXPORT_SYMBOL_GPL ( pcf50633_reg_clear_bits  )
MODULE_AUTHOR ( "Harald Welte <[email protected]>"  )
MODULE_DESCRIPTION ( "I2C chip driver for NXP PCF50633 PMU )
MODULE_DEVICE_TABLE ( i2c  ,
pcf50633_id_table   
)
module_exit ( pcf50633_exit  )
MODULE_LICENSE ( "GPL"  )
int pcf50633_read_block ( struct pcf50633 pcf,
u8  reg,
int  nr_regs,
u8 data 
)

Definition at line 32 of file pcf50633-core.c.

int pcf50633_reg_clear_bits ( struct pcf50633 pcf,
u8  reg,
u8  val 
)

Definition at line 78 of file pcf50633-core.c.

u8 pcf50633_reg_read ( struct pcf50633 pcf,
u8  reg 
)

Definition at line 53 of file pcf50633-core.c.

int pcf50633_reg_set_bit_mask ( struct pcf50633 pcf,
u8  reg,
u8  mask,
u8  val 
)

Definition at line 72 of file pcf50633-core.c.

int pcf50633_reg_write ( struct pcf50633 pcf,
u8  reg,
u8  val 
)

Definition at line 66 of file pcf50633-core.c.

int pcf50633_write_block ( struct pcf50633 pcf,
u8  reg,
int  nr_regs,
u8 data 
)

Definition at line 46 of file pcf50633-core.c.

subsys_initcall ( pcf50633_init  )