Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
iommu.h File Reference
#include <linux/interrupt.h>
#include <linux/clk.h>

Go to the source code of this file.

Data Structures

struct  msm_iommu_dev
 
struct  msm_iommu_ctx_dev
 
struct  msm_iommu_drvdata
 
struct  msm_iommu_ctx_drvdata
 

Macros

#define MSM_IOMMU_ATTR_NON_SH   0x0
 
#define MSM_IOMMU_ATTR_SH   0x4
 
#define MSM_IOMMU_ATTR_NONCACHED   0x0
 
#define MSM_IOMMU_ATTR_CACHED_WB_WA   0x1
 
#define MSM_IOMMU_ATTR_CACHED_WB_NWA   0x2
 
#define MSM_IOMMU_ATTR_CACHED_WT   0x3
 
#define MSM_IOMMU_CP_MASK   0x03
 
#define MAX_NUM_MIDS   32
 

Functions

struct devicemsm_iommu_get_ctx (const char *ctx_name)
 
irqreturn_t msm_iommu_fault_handler (int irq, void *dev_id)
 

Macro Definition Documentation

#define MAX_NUM_MIDS   32

Definition at line 43 of file iommu.h.

#define MSM_IOMMU_ATTR_CACHED_WB_NWA   0x2

Definition at line 31 of file iommu.h.

#define MSM_IOMMU_ATTR_CACHED_WB_WA   0x1

Definition at line 30 of file iommu.h.

#define MSM_IOMMU_ATTR_CACHED_WT   0x3

Definition at line 32 of file iommu.h.

#define MSM_IOMMU_ATTR_NON_SH   0x0

Definition at line 25 of file iommu.h.

#define MSM_IOMMU_ATTR_NONCACHED   0x0

Definition at line 29 of file iommu.h.

#define MSM_IOMMU_ATTR_SH   0x4

Definition at line 26 of file iommu.h.

#define MSM_IOMMU_CP_MASK   0x03

Definition at line 35 of file iommu.h.

Function Documentation

irqreturn_t msm_iommu_fault_handler ( int  irq,
void dev_id 
)

Definition at line 639 of file msm_iommu.c.

struct device* msm_iommu_get_ctx ( const char ctx_name)
read

Definition at line 64 of file msm_iommu_dev.c.