Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ad5398.c File Reference
#include <linux/module.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/slab.h>
#include <linux/platform_device.h>
#include <linux/regulator/driver.h>
#include <linux/regulator/machine.h>

Go to the source code of this file.

Data Structures

struct  ad5398_chip_info
 
struct  ad5398_current_data_format
 

Macros

#define AD5398_CURRENT_EN_MASK   0x8000
 

Functions

 MODULE_DEVICE_TABLE (i2c, ad5398_id)
 
 subsys_initcall (ad5398_init)
 
 module_exit (ad5398_exit)
 
 MODULE_DESCRIPTION ("AD5398 and AD5821 current regulator driver")
 
 MODULE_AUTHOR ("Sonic Zhang")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("i2c:ad5398-regulator")
 

Macro Definition Documentation

#define AD5398_CURRENT_EN_MASK   0x8000

Definition at line 19 of file ad5398.c.

Function Documentation

MODULE_ALIAS ( "i2c:ad5398-regulator )
MODULE_AUTHOR ( "Sonic Zhang"  )
MODULE_DESCRIPTION ( "AD5398 and AD5821 current regulator driver )
MODULE_DEVICE_TABLE ( i2c  ,
ad5398_id   
)
module_exit ( ad5398_exit  )
MODULE_LICENSE ( "GPL"  )
subsys_initcall ( ad5398_init  )