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

Go to the source code of this file.

Data Structures

struct  iommu_domain_geometry
 
struct  iommu_domain
 
struct  iommu_ops
 
struct  iommu_group
 

Macros

#define IOMMU_READ   (1)
 
#define IOMMU_WRITE   (2)
 
#define IOMMU_CACHE   (4) /* DMA cache coherency */
 
#define IOMMU_FAULT_READ   0x0
 
#define IOMMU_FAULT_WRITE   0x1
 
#define IOMMU_CAP_CACHE_COHERENCY   0x1
 
#define IOMMU_CAP_INTR_REMAP   0x2 /* isolates device intrs */
 

Typedefs

typedef int(* iommu_fault_handler_t )(struct iommu_domain *, struct device *, unsigned long, int, void *)
 

Enumerations

enum  iommu_attr { DOMAIN_ATTR_MAX, DOMAIN_ATTR_GEOMETRY }
 

Macro Definition Documentation

#define IOMMU_CACHE   (4) /* DMA cache coherency */

Definition at line 27 of file iommu.h.

#define IOMMU_CAP_CACHE_COHERENCY   0x1

Definition at line 57 of file iommu.h.

#define IOMMU_CAP_INTR_REMAP   0x2 /* isolates device intrs */

Definition at line 58 of file iommu.h.

#define IOMMU_FAULT_READ   0x0

Definition at line 37 of file iommu.h.

#define IOMMU_FAULT_WRITE   0x1

Definition at line 38 of file iommu.h.

#define IOMMU_READ   (1)

Definition at line 25 of file iommu.h.

#define IOMMU_WRITE   (2)

Definition at line 26 of file iommu.h.

Typedef Documentation

typedef int(* iommu_fault_handler_t)(struct iommu_domain *, struct device *, unsigned long, int, void *)

Definition at line 40 of file iommu.h.

Enumeration Type Documentation

enum iommu_attr
Enumerator:
DOMAIN_ATTR_MAX 
DOMAIN_ATTR_GEOMETRY 

Definition at line 60 of file iommu.h.