#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/errno.h>
#include <linux/io.h>
#include <linux/interrupt.h>
#include <linux/list.h>
#include <linux/spinlock.h>
#include <linux/slab.h>
#include <linux/iommu.h>
#include <linux/clk.h>
#include <asm/cacheflush.h>
#include <asm/sizes.h>
#include <mach/iommu_hw-8xxx.h>
#include <mach/iommu.h>
Go to the source code of this file.
|
| #define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| |
| #define | MRC(reg, processor, op1, crn, crm, op2) |
| |
| #define | RCP15_PRRR(reg) MRC(reg, p15, 0, c10, c2, 0) |
| |
| #define | RCP15_NMRR(reg) MRC(reg, p15, 0, c10, c2, 1) |
| |
| #define | MSM_IOMMU_PGSIZES (SZ_4K | SZ_64K | SZ_1M | SZ_16M) |
| |
| #define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
| #define RCP15_NMRR |
( |
|
reg | ) |
MRC(reg, p15, 0, c10, c2, 1) |
| #define RCP15_PRRR |
( |
|
reg | ) |
MRC(reg, p15, 0, c10, c2, 0) |
| DEFINE_SPINLOCK |
( |
msm_iommu_lock |
| ) |
|
| MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|
| subsys_initcall |
( |
msm_iommu_init |
| ) |
|