Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
tps6105x.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/mutex.h>
#include <linux/gpio.h>
#include <linux/spinlock.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/regulator/driver.h>
#include <linux/mfd/core.h>
#include <linux/mfd/tps6105x.h>

Go to the source code of this file.

Functions

int tps6105x_set (struct tps6105x *tps6105x, u8 reg, u8 value)
 
 EXPORT_SYMBOL (tps6105x_set)
 
int tps6105x_get (struct tps6105x *tps6105x, u8 reg, u8 *buf)
 
 EXPORT_SYMBOL (tps6105x_get)
 
int tps6105x_mask_and_set (struct tps6105x *tps6105x, u8 reg, u8 bitmask, u8 bitvalues)
 
 EXPORT_SYMBOL (tps6105x_mask_and_set)
 
 MODULE_DEVICE_TABLE (i2c, tps6105x_id)
 
 subsys_initcall (tps6105x_init)
 
 module_exit (tps6105x_exit)
 
 MODULE_AUTHOR ("Linus Walleij")
 
 MODULE_DESCRIPTION ("TPS6105x White LED Boost Converter Driver")
 
 MODULE_LICENSE ("GPL v2")
 

Function Documentation

EXPORT_SYMBOL ( tps6105x_set  )
EXPORT_SYMBOL ( tps6105x_get  )
EXPORT_SYMBOL ( tps6105x_mask_and_set  )
MODULE_AUTHOR ( "Linus Walleij"  )
MODULE_DESCRIPTION ( "TPS6105x White LED Boost Converter Driver"  )
MODULE_DEVICE_TABLE ( i2c  ,
tps6105x_id   
)
module_exit ( tps6105x_exit  )
MODULE_LICENSE ( "GPL v2 )
subsys_initcall ( tps6105x_init  )
int tps6105x_get ( struct tps6105x tps6105x,
u8  reg,
u8 buf 
)

Definition at line 44 of file tps6105x.c.

int tps6105x_mask_and_set ( struct tps6105x tps6105x,
u8  reg,
u8  bitmask,
u8  bitvalues 
)

Definition at line 65 of file tps6105x.c.

int tps6105x_set ( struct tps6105x tps6105x,
u8  reg,
u8  value 
)

Definition at line 28 of file tps6105x.c.