Linux Kernel
3.7.1
|
#include <plat/iommu2.h>
Go to the source code of this file.
Data Structures | |
struct | iotlb_entry |
struct | omap_iommu |
struct | cr_regs |
struct | iotlb_lock |
struct | iommu_functions |
struct | omap_mmu_dev_attr |
struct | iommu_platform_data |
struct | omap_iommu_arch_data |
#define bytes_to_iopgsz | ( | bytes | ) |
#define iopgsz_max | ( | bytes | ) |
#define iopgsz_ok | ( | bytes | ) | (bytes_to_iopgsz(bytes) >= 0) |
#define iopgsz_to_bytes | ( | iopgsz | ) |
size_t omap_dump_tlb_entries | ( | struct omap_iommu * | obj, |
char * | buf, | ||
ssize_t | len | ||
) |
int omap_install_iommu_arch | ( | const struct iommu_functions * | ops | ) |
omap_install_iommu_arch - Install archtecure specific iommu functions : a pointer to architecture specific iommu functions
There are several kind of iommu algorithm(tlb, pagetable) among omap series. This interface installs such an iommu algorighm.
Definition at line 67 of file omap-iommu.c.
omap_iommu_arch_version - Return running iommu arch version
Definition at line 119 of file omap-iommu.c.
ssize_t omap_iommu_dump_ctx | ( | struct omap_iommu * | obj, |
char * | buf, | ||
ssize_t | len | ||
) |
omap_iommu_restore_ctx - Restore registers for pm off-mode support : client device
Definition at line 108 of file omap-iommu.c.
omap_iommu_save_ctx - Save registers for pm off-mode support : client device
Definition at line 96 of file omap-iommu.c.
int omap_iommu_set_isr | ( | const char * | name, |
int(*)(struct omap_iommu *obj, u32 da, u32 iommu_errs, void *priv) | isr, | ||
void * | isr_priv | ||
) |
int omap_iopgtable_store_entry | ( | struct omap_iommu * | obj, |
struct iotlb_entry * | e | ||
) |
omap_iopgtable_store_entry - Make an iommu pte entry : target iommu : an iommu tlb entry info
Definition at line 649 of file omap-iommu.c.
void omap_iotlb_cr_to_e | ( | struct cr_regs * | cr, |
struct iotlb_entry * | e | ||
) |
Definition at line 158 of file omap-iommu.c.
void omap_uninstall_iommu_arch | ( | const struct iommu_functions * | ops | ) |
omap_uninstall_iommu_arch - Uninstall archtecure specific iommu functions : a pointer to architecture specific iommu functions
This interface uninstalls the iommu algorighm installed previously.
Definition at line 83 of file omap-iommu.c.