Linux Kernel
3.7.1
|
#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 regmap * | regmap_init_mmio (struct device *dev, void __iomem *regs, const struct regmap_config *config) |
EXPORT_SYMBOL_GPL (regmap_init_mmio) | |
struct regmap * | devm_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") | |
|
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" | ) |
|
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.