diff options
Diffstat (limited to 'arch/arm/mach-tegra/include/mach')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/tegra_smmu.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/tegra_smmu.h b/arch/arm/mach-tegra/include/mach/tegra_smmu.h new file mode 100644 index 000000000000..c4401c45a481 --- /dev/null +++ b/arch/arm/mach-tegra/include/mach/tegra_smmu.h @@ -0,0 +1,24 @@ +/* + * arch/arm/mach-tegra/include/mach/tegra_smmu.h + * + * Copyright (c) 2011-2012, NVIDIA CORPORATION. All rights reserved. + * + * This software is licensed under the terms of the GNU General Public + * License version 2, as published by the Free Software Foundation, and + * may be copied, distributed, and modified under those terms. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ +#if defined(CONFIG_TEGRA_IOVMM_SMMU) || defined(CONFIG_TEGRA_IOMMU_SMMU) +struct tegra_smmu_window { + unsigned long start; + unsigned long end; +}; + +extern struct tegra_smmu_window *tegra_smmu_window(int wnum); +extern int tegra_smmu_window_count(void); +#endif |