aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/include/mach/iommu.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-msm/include/mach/iommu.h')
-rw-r--r--arch/arm/mach-msm/include/mach/iommu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/include/mach/iommu.h b/arch/arm/mach-msm/include/mach/iommu.h
index 4dfe7efcf4ea..5c7c955e6d25 100644
--- a/arch/arm/mach-msm/include/mach/iommu.h
+++ b/arch/arm/mach-msm/include/mach/iommu.h
@@ -45,9 +45,11 @@
45/** 45/**
46 * struct msm_iommu_dev - a single IOMMU hardware instance 46 * struct msm_iommu_dev - a single IOMMU hardware instance
47 * name Human-readable name given to this IOMMU HW instance 47 * name Human-readable name given to this IOMMU HW instance
48 * ncb Number of context banks present on this IOMMU HW instance
48 */ 49 */
49struct msm_iommu_dev { 50struct msm_iommu_dev {
50 const char *name; 51 const char *name;
52 int ncb;
51}; 53};
52 54
53/** 55/**
@@ -69,6 +71,7 @@ struct msm_iommu_ctx_dev {
69/** 71/**
70 * struct msm_iommu_drvdata - A single IOMMU hardware instance 72 * struct msm_iommu_drvdata - A single IOMMU hardware instance
71 * @base: IOMMU config port base address (VA) 73 * @base: IOMMU config port base address (VA)
74 * @ncb The number of contexts on this IOMMU
72 * @irq: Interrupt number 75 * @irq: Interrupt number
73 * @clk: The bus clock for this IOMMU hardware instance 76 * @clk: The bus clock for this IOMMU hardware instance
74 * @pclk: The clock for the IOMMU bus interconnect 77 * @pclk: The clock for the IOMMU bus interconnect
@@ -79,6 +82,7 @@ struct msm_iommu_ctx_dev {
79struct msm_iommu_drvdata { 82struct msm_iommu_drvdata {
80 void __iomem *base; 83 void __iomem *base;
81 int irq; 84 int irq;
85 int ncb;
82 struct clk *clk; 86 struct clk *clk;
83 struct clk *pclk; 87 struct clk *pclk;
84}; 88};