Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
regmap-mmio.c File Reference
#include <linux/err.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/regmap.h>
#include <linux/slab.h>

Go to the source code of this file.

Data Structures

struct  regmap_mmio_context
 

Functions

struct regmapregmap_init_mmio (struct device *dev, void __iomem *regs, const struct regmap_config *config)
 
 EXPORT_SYMBOL_GPL (regmap_init_mmio)
 
struct regmapdevm_regmap_init_mmio (struct device *dev, void __iomem *regs, const struct regmap_config *config)
 
 EXPORT_SYMBOL_GPL (devm_regmap_init_mmio)
 
 MODULE_LICENSE ("GPL v2")
 

Function Documentation

struct regmap* devm_regmap_init_mmio ( struct device dev,
void __iomem regs,
const struct regmap_config *  config 
)
read

devm_regmap_init_mmio(): Initialise managed register map

: Device that will be interacted with : Pointer to memory-mapped IO region : Configuration for register map

The return value will be an ERR_PTR() on error or a valid pointer to a struct regmap. The regmap will be automatically freed by the device management code.

Definition at line 220 of file regmap-mmio.c.

EXPORT_SYMBOL_GPL ( regmap_init_mmio  )
EXPORT_SYMBOL_GPL ( devm_regmap_init_mmio  )
MODULE_LICENSE ( "GPL v2 )
struct regmap* regmap_init_mmio ( struct device dev,
void __iomem regs,
const struct regmap_config *  config 
)
read

regmap_init_mmio(): Initialise register map

: Device that will be interacted with : Pointer to memory-mapped IO region : Configuration for register map

The return value will be an ERR_PTR() on error or a valid pointer to a struct regmap.

Definition at line 195 of file regmap-mmio.c.