Lines Matching +full:iommu +full:- +full:ctx
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * omap iommu: main structures
5 * Copyright (C) 2008-2009 Nokia Corporation
14 #include <linux/iommu.h>
29 * struct omap_iommu_device - omap iommu device data
30 * @pgtable: page table used by an omap iommu attached to a domain
31 * @iommu_dev: pointer to store an omap iommu instance attached to a domain
39 * struct omap_iommu_domain - omap iommu domain
41 * @iommus: omap iommu device data for all iommus in this domain
44 * @domain: generic domain handle used by iommu core code
66 * but share it globally for each iommu.
74 void *ctx; /* iommu context: registres saved area */ member
82 struct iommu_device iommu; member
89 * struct omap_iommu_arch_data - omap iommu private data
90 * @iommu_dev: handle of the OMAP iommu device
91 * @dev: handle of the iommu device
93 * This is an omap iommu private data object, which binds an iommu user
94 * to its iommu device. This object should be placed at the iommu user's
95 * dev_archdata so generic IOMMU API can be used without having to
96 * utilize omap-specific plumbing anymore.
221 ((bytes) == SZ_4K) ? MMU_CAM_PGSZ_4K : -1)
258 return __raw_readl(obj->regbase + offs); in iommu_read_reg()
263 __raw_writel(val, obj->regbase + offs); in iommu_write_reg()
269 return -EINVAL; in iotlb_cr_valid()
271 return cr->cam & MMU_CAM_V; in iotlb_cr_valid()