Go to the source code of this file.
|
struct iovm_struct * | omap_find_iovm_area (struct device *dev, u32 da) |
|
u32 | omap_iommu_vmap (struct iommu_domain *domain, struct device *dev, u32 da, const struct sg_table *sgt, u32 flags) |
|
struct sg_table * | omap_iommu_vunmap (struct iommu_domain *domain, struct device *dev, u32 da) |
|
u32 | omap_iommu_vmalloc (struct iommu_domain *domain, struct device *dev, u32 da, size_t bytes, u32 flags) |
|
void | omap_iommu_vfree (struct iommu_domain *domain, struct device *dev, const u32 da) |
|
void * | omap_da_to_va (struct device *dev, u32 da) |
|
#define IOVMF_CAM_MASK (~((1 << 10) - 1)) |
#define IOVMF_ELSZ_MASK (3 << 7) |
#define IOVMF_ENDIAN_MASK (1 << 9) |
#define IOVMF_MIXED_MASK (1 << 6) |
#define IOVMF_PGSZ_MASK (3 << 0) |
#define IOVMF_SW_SHIFT 16 |
omap_da_to_va - convert (d) to (v) : client device : iommu device virtual address : mpu virtual address
Returns mpu virtual addr which corresponds to a given device virtual addr
Definition at line 354 of file omap-iovmm.c.
omap_find_iovm_area - find iovma which includes : client device : iommu device virtual address
Find the existing iovma starting at
Definition at line 239 of file omap-iovmm.c.
omap_iommu_vmalloc - (d)-(p)-(v) address allocator and mapper : client device : contiguous iommu virtual memory : allocation size : iovma and page property
Allocate linearly and creates 1-n-1 mapping and returns again, which might be adjusted if 'IOVMF_DA_FIXED' is not set.
Definition at line 661 of file omap-iovmm.c.
omap_iommu_vmap - (d)-(p)-(v) address mapper : iommu domain : client device : address of scatter gather table : iovma and page property
Creates 1-n-1 mapping with given and returns . All element must be io page size aligned.
Definition at line 591 of file omap-iovmm.c.
omap_iommu_vunmap - release virtual mapping obtained by 'omap_iommu_vmap()' : iommu domain : client device : iommu device virtual address
Free the iommu virtually contiguous memory area starting at , which was returned by 'omap_iommu_vmap()'.
Definition at line 633 of file omap-iovmm.c.