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

Go to the source code of this file.

Functions

 EXPORT_SYMBOL_GPL (mc13xxx_regulator_ops)
 
int mc13xxx_fixed_regulator_set_voltage (struct regulator_dev *rdev, int min_uV, int max_uV, unsigned *selector)
 
 EXPORT_SYMBOL_GPL (mc13xxx_fixed_regulator_set_voltage)
 
 EXPORT_SYMBOL_GPL (mc13xxx_fixed_regulator_ops)
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_AUTHOR ("Yong Shen <[email protected]>")
 
 MODULE_DESCRIPTION ("Regulator Driver for Freescale MC13xxx PMIC")
 
 MODULE_ALIAS ("mc13xxx-regulator-core")
 

Variables

struct regulator_ops mc13xxx_regulator_ops
 
struct regulator_ops mc13xxx_fixed_regulator_ops
 

Function Documentation

EXPORT_SYMBOL_GPL ( mc13xxx_regulator_ops  )
EXPORT_SYMBOL_GPL ( mc13xxx_fixed_regulator_set_voltage  )
EXPORT_SYMBOL_GPL ( mc13xxx_fixed_regulator_ops  )
int mc13xxx_fixed_regulator_set_voltage ( struct regulator_dev rdev,
int  min_uV,
int  max_uV,
unsigned *  selector 
)

Definition at line 137 of file mc13xxx-regulator-core.c.

MODULE_ALIAS ( "mc13xxx-regulator-core )
MODULE_AUTHOR ( "Yong Shen <[email protected]>"  )
MODULE_DESCRIPTION ( "Regulator Driver for Freescale MC13xxx PMIC"  )
MODULE_LICENSE ( "GPL v2 )

Variable Documentation

struct regulator_ops mc13xxx_fixed_regulator_ops
Initial value:
= {
.enable = mc13xxx_regulator_enable,
.disable = mc13xxx_regulator_disable,
.is_enabled = mc13xxx_regulator_is_enabled,
}

Definition at line 155 of file mc13xxx-regulator-core.c.

struct regulator_ops mc13xxx_regulator_ops
Initial value:
= {
.enable = mc13xxx_regulator_enable,
.disable = mc13xxx_regulator_disable,
.is_enabled = mc13xxx_regulator_is_enabled,
.set_voltage_sel = mc13xxx_regulator_set_voltage_sel,
.get_voltage = mc13xxx_regulator_get_voltage,
}

Definition at line 127 of file mc13xxx-regulator-core.c.