Lines Matching defs:smmu

24 	struct tegra_smmu *smmu;  member
54 struct tegra_smmu *smmu; member
70 static inline void smmu_writel(struct tegra_smmu *smmu, u32 value, in smmu_writel()
76 static inline u32 smmu_readl(struct tegra_smmu *smmu, unsigned long offset) in smmu_readl()
87 #define SMMU_TLB_CONFIG_ACTIVE_LINES(smmu) \ argument
166 static bool smmu_dma_addr_valid(struct tegra_smmu *smmu, dma_addr_t addr) in smmu_dma_addr_valid()
172 static dma_addr_t smmu_pde_to_dma(struct tegra_smmu *smmu, u32 pde) in smmu_pde_to_dma()
177 static void smmu_flush_ptc_all(struct tegra_smmu *smmu) in smmu_flush_ptc_all()
182 static inline void smmu_flush_ptc(struct tegra_smmu *smmu, dma_addr_t dma, in smmu_flush_ptc()
202 static inline void smmu_flush_tlb(struct tegra_smmu *smmu) in smmu_flush_tlb()
207 static inline void smmu_flush_tlb_asid(struct tegra_smmu *smmu, in smmu_flush_tlb_asid()
221 static inline void smmu_flush_tlb_section(struct tegra_smmu *smmu, in smmu_flush_tlb_section()
236 static inline void smmu_flush_tlb_group(struct tegra_smmu *smmu, in smmu_flush_tlb_group()
251 static inline void smmu_flush(struct tegra_smmu *smmu) in smmu_flush()
256 static int tegra_smmu_alloc_asid(struct tegra_smmu *smmu, unsigned int *idp) in tegra_smmu_alloc_asid()
270 static void tegra_smmu_free_asid(struct tegra_smmu *smmu, unsigned int id) in tegra_smmu_free_asid()
337 tegra_smmu_find_swgroup(struct tegra_smmu *smmu, unsigned int swgroup) in tegra_smmu_find_swgroup()
352 static void tegra_smmu_enable(struct tegra_smmu *smmu, unsigned int swgroup, in tegra_smmu_enable()
385 static void tegra_smmu_disable(struct tegra_smmu *smmu, unsigned int swgroup, in tegra_smmu_disable()
413 static int tegra_smmu_as_prepare(struct tegra_smmu *smmu, in tegra_smmu_as_prepare()
466 static void tegra_smmu_as_unprepare(struct tegra_smmu *smmu, in tegra_smmu_as_unprepare()
489 struct tegra_smmu *smmu = dev_iommu_priv_get(dev); in tegra_smmu_attach_dev() local
523 struct tegra_smmu *smmu = as->smmu; in tegra_smmu_detach_dev() local
539 struct tegra_smmu *smmu = as->smmu; in tegra_smmu_set_pde() local
567 struct tegra_smmu *smmu = as->smmu; in tegra_smmu_pte_lookup() local
585 struct tegra_smmu *smmu = as->smmu; in as_get_pte() local
636 struct tegra_smmu *smmu = as->smmu; in tegra_smmu_pte_put_use() local
651 struct tegra_smmu *smmu = as->smmu; in tegra_smmu_set_pte() local
817 static int tegra_smmu_configure(struct tegra_smmu *smmu, struct device *dev, in tegra_smmu_configure()
842 struct tegra_smmu *smmu = NULL; in tegra_smmu_probe_device() local
873 tegra_smmu_find_group(struct tegra_smmu *smmu, unsigned int swgroup) in tegra_smmu_find_group()
888 struct tegra_smmu *smmu = group->smmu; in tegra_smmu_group_release() local
898 struct tegra_smmu *smmu = dev_iommu_priv_get(dev); in tegra_smmu_device_group() local
1002 struct tegra_smmu *smmu = s->private; in tegra_smmu_swgroups_show() local
1034 struct tegra_smmu *smmu = s->private; in tegra_smmu_clients_show() local
1060 static void tegra_smmu_debugfs_init(struct tegra_smmu *smmu) in tegra_smmu_debugfs_init()
1072 static void tegra_smmu_debugfs_exit(struct tegra_smmu *smmu) in tegra_smmu_debugfs_exit()
1081 struct tegra_smmu *smmu; in tegra_smmu_probe() local
1174 void tegra_smmu_remove(struct tegra_smmu *smmu) in tegra_smmu_remove()