/* * Copyright (C) 2014 NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef MEMORY_TEGRA_MC_H #define MEMORY_TEGRA_MC_H #include <linux/io.h> #include <linux/types.h> #include <soc/tegra/mc.h> #define MC_INT_DECERR_MTS (1 << 16) #define MC_INT_SECERR_SEC (1 << 13) #define MC_INT_DECERR_VPR (1 << 12) #define MC_INT_INVALID_APB_ASID_UPDATE (1 << 11) #define MC_INT_INVALID_SMMU_PAGE (1 << 10) #define MC_INT_ARBITRATION_EMEM (1 << 9) #define MC_INT_SECURITY_VIOLATION (1 << 8) #define MC_INT_INVALID_GART_PAGE (1 << 7) #define MC_INT_DECERR_EMEM (1 << 6)
static inline u32 mc_readl(struct tegra_mc *mc, unsigned long offset) { if (mc->regs2 && offset >= 0x24) return readl(mc->regs2 + offset - 0x3c); return readl(mc->regs + offset); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Thierry Reding | 26 | 54.17% | 1 | 50.00% |
Dmitry Osipenko | 22 | 45.83% | 1 | 50.00% |
Total | 48 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Thierry Reding | 30 | 55.56% | 1 | 50.00% |
Dmitry Osipenko | 24 | 44.44% | 1 | 50.00% |
Total | 54 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Thierry Reding | 130 | 56.77% | 3 | 50.00% |
Dmitry Osipenko | 99 | 43.23% | 3 | 50.00% |
Total | 229 | 100.00% | 6 | 100.00% |