#include <linux/init.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/spinlock.h>
#include <linux/string.h>
#include <linux/dma-mapping.h>
#include <linux/bitmap.h>
#include <linux/iommu-helper.h>
#include <linux/crash_dump.h>
#include <linux/hash.h>
#include <linux/fault-inject.h>
#include <linux/pci.h>
#include <asm/io.h>
#include <asm/prom.h>
#include <asm/iommu.h>
#include <asm/pci-bridge.h>
#include <asm/machdep.h>
#include <asm/kdump.h>
#include <asm/fadump.h>
#include <asm/vio.h>
Go to the source code of this file.
|
| __setup ("iommu=", setup_iommu) |
|
| subsys_initcall (setup_iommu_pool_hash) |
|
int | iommu_map_sg (struct device *dev, struct iommu_table *tbl, struct scatterlist *sglist, int nelems, unsigned long mask, enum dma_data_direction direction, struct dma_attrs *attrs) |
|
void | iommu_unmap_sg (struct iommu_table *tbl, struct scatterlist *sglist, int nelems, enum dma_data_direction direction, struct dma_attrs *attrs) |
|
struct iommu_table * | iommu_init_table (struct iommu_table *tbl, int nid) |
|
void | iommu_free_table (struct iommu_table *tbl, const char *node_name) |
|
dma_addr_t | iommu_map_page (struct device *dev, struct iommu_table *tbl, struct page *page, unsigned long offset, size_t size, unsigned long mask, enum dma_data_direction direction, struct dma_attrs *attrs) |
|
void | iommu_unmap_page (struct iommu_table *tbl, dma_addr_t dma_handle, size_t size, enum dma_data_direction direction, struct dma_attrs *attrs) |
|
void * | iommu_alloc_coherent (struct device *dev, struct iommu_table *tbl, size_t size, dma_addr_t *dma_handle, unsigned long mask, gfp_t flag, int node) |
|
void | iommu_free_coherent (struct iommu_table *tbl, size_t size, void *vaddr, dma_addr_t dma_handle) |
|
subsys_initcall |
( |
setup_iommu_pool_hash |
| ) |
|