Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
88pm860x-core.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <linux/irqdomain.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/slab.h>
#include <linux/mfd/core.h>
#include <linux/mfd/88pm860x.h>
#include <linux/regulator/machine.h>
#include <linux/power/charger-manager.h>

Go to the source code of this file.

Data Structures

struct  pm860x_irq_data
 

Macros

#define INT_STATUS_NUM   3
 

Functions

int pm8606_osc_enable (struct pm860x_chip *chip, unsigned short client)
 
 EXPORT_SYMBOL (pm8606_osc_enable)
 
int pm8606_osc_disable (struct pm860x_chip *chip, unsigned short client)
 
 EXPORT_SYMBOL (pm8606_osc_disable)
 
 MODULE_DEVICE_TABLE (i2c, pm860x_id_table)
 
 MODULE_DEVICE_TABLE (of, pm860x_dt_ids)
 
 subsys_initcall (pm860x_i2c_init)
 
 module_exit (pm860x_i2c_exit)
 
 MODULE_DESCRIPTION ("PMIC Driver for Marvell 88PM860x")
 
 MODULE_AUTHOR ("Haojian Zhuang <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define INT_STATUS_NUM   3

Definition at line 29 of file 88pm860x-core.c.

Function Documentation

EXPORT_SYMBOL ( pm8606_osc_enable  )
EXPORT_SYMBOL ( pm8606_osc_disable  )
MODULE_AUTHOR ( "Haojian Zhuang <[email protected]>"  )
MODULE_DESCRIPTION ( "PMIC Driver for Marvell 88PM860x"  )
MODULE_DEVICE_TABLE ( i2c  ,
pm860x_id_table   
)
MODULE_DEVICE_TABLE ( of  ,
pm860x_dt_ids   
)
module_exit ( pm860x_i2c_exit  )
MODULE_LICENSE ( "GPL"  )
int pm8606_osc_disable ( struct pm860x_chip chip,
unsigned short  client 
)

Definition at line 694 of file 88pm860x-core.c.

int pm8606_osc_enable ( struct pm860x_chip chip,
unsigned short  client 
)

Definition at line 653 of file 88pm860x-core.c.

subsys_initcall ( pm860x_i2c_init  )