Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
tps65910-regulator.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/regulator/driver.h>
#include <linux/regulator/machine.h>
#include <linux/slab.h>
#include <linux/gpio.h>
#include <linux/mfd/tps65910.h>
#include <linux/regulator/of_regulator.h>

Go to the source code of this file.

Data Structures

struct  tps_info
 
struct  tps65910_reg
 

Macros

#define TPS65910_SUPPLY_STATE_ENABLED   0x1
 
#define EXT_SLEEP_CONTROL
 
#define EXT_CONTROL_REG_BITS(id, regs_offs, bits)   (((regs_offs) << 8) | (bits))
 

Functions

 subsys_initcall (tps65910_init)
 
 module_exit (tps65910_cleanup)
 
 MODULE_AUTHOR ("Graeme Gregory <[email protected]>")
 
 MODULE_DESCRIPTION ("TPS65910/TPS65911 voltage regulator driver")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_ALIAS ("platform:tps65910-pmic")
 

Macro Definition Documentation

#define EXT_CONTROL_REG_BITS (   id,
  regs_offs,
  bits 
)    (((regs_offs) << 8) | (bits))

Definition at line 261 of file tps65910-regulator.c.

#define EXT_SLEEP_CONTROL
Value:
TPS65910_SLEEP_CONTROL_EXT_INPUT_EN2 | \
TPS65910_SLEEP_CONTROL_EXT_INPUT_EN3 | \
TPS65911_SLEEP_CONTROL_EXT_INPUT_SLEEP)

Definition at line 29 of file tps65910-regulator.c.

#define TPS65910_SUPPLY_STATE_ENABLED   0x1

Definition at line 28 of file tps65910-regulator.c.

Function Documentation

MODULE_ALIAS ( "platform:tps65910-pmic"  )
MODULE_AUTHOR ( "Graeme Gregory <[email protected]>"  )
MODULE_DESCRIPTION ( "TPS65910/TPS65911 voltage regulator driver )
module_exit ( tps65910_cleanup  )
MODULE_LICENSE ( "GPL v2 )
subsys_initcall ( tps65910_init  )