Lines Matching refs:tegra_smmu

24 	struct tegra_smmu *smmu;
30 struct tegra_smmu { struct
54 struct tegra_smmu *smmu; argument
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()
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()
332 tegra_smmu_find_swgroup(struct tegra_smmu *smmu, unsigned int swgroup) in tegra_smmu_find_swgroup()
347 static void tegra_smmu_enable(struct tegra_smmu *smmu, unsigned int swgroup, in tegra_smmu_enable()
380 static void tegra_smmu_disable(struct tegra_smmu *smmu, unsigned int swgroup, in tegra_smmu_disable()
408 static int tegra_smmu_as_prepare(struct tegra_smmu *smmu, in tegra_smmu_as_prepare()
461 static void tegra_smmu_as_unprepare(struct tegra_smmu *smmu, in tegra_smmu_as_unprepare()
484 struct tegra_smmu *smmu = dev_iommu_priv_get(dev); in tegra_smmu_attach_dev()
519 struct tegra_smmu *smmu = as->smmu; in tegra_smmu_set_platform_dma()
535 struct tegra_smmu *smmu = as->smmu; in tegra_smmu_set_pde()
563 struct tegra_smmu *smmu = as->smmu; in tegra_smmu_pte_lookup()
581 struct tegra_smmu *smmu = as->smmu; in as_get_pte()
632 struct tegra_smmu *smmu = as->smmu; in tegra_smmu_pte_put_use()
647 struct tegra_smmu *smmu = as->smmu; in tegra_smmu_set_pte()
797 static struct tegra_smmu *tegra_smmu_find(struct device_node *np) in tegra_smmu_find()
815 static int tegra_smmu_configure(struct tegra_smmu *smmu, struct device *dev, in tegra_smmu_configure()
840 struct tegra_smmu *smmu = NULL; in tegra_smmu_probe_device()
869 tegra_smmu_find_group(struct tegra_smmu *smmu, unsigned int swgroup) in tegra_smmu_find_group()
884 struct tegra_smmu *smmu = group->smmu; in tegra_smmu_group_release()
894 struct tegra_smmu *smmu = dev_iommu_priv_get(dev); in tegra_smmu_device_group()
998 struct tegra_smmu *smmu = s->private; in tegra_smmu_swgroups_show()
1030 struct tegra_smmu *smmu = s->private; in tegra_smmu_clients_show()
1056 static void tegra_smmu_debugfs_init(struct tegra_smmu *smmu) in tegra_smmu_debugfs_init()
1068 static void tegra_smmu_debugfs_exit(struct tegra_smmu *smmu) in tegra_smmu_debugfs_exit()
1073 struct tegra_smmu *tegra_smmu_probe(struct device *dev, in tegra_smmu_probe()
1077 struct tegra_smmu *smmu; in tegra_smmu_probe()
1153 void tegra_smmu_remove(struct tegra_smmu *smmu) in tegra_smmu_remove()