Searched refs:iommu_table (Results 1 - 17 of 17) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/include/asm/iseries/
H A Diommu.h27 struct iommu_table;
32 struct iommu_table *tbl);
34 extern struct iommu_table *vio_build_iommu_table_iseries(struct vio_dev *dev);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/include/asm/
H A Dtce.h28 struct iommu_table;
41 extern void tce_build(struct iommu_table *tbl, unsigned long index,
43 extern void tce_free(struct iommu_table *tbl, long index, unsigned int npages);
H A Dcalgary.h33 struct iommu_table { struct
47 void (*handle_quirks)(struct iommu_table *tbl, struct pci_dev *dev);
48 void (*tce_cache_blast)(struct iommu_table *tbl);
49 void (*dump_error_regs)(struct iommu_table *tbl);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/include/asm/
H A Diommu.h56 struct iommu_table { struct
84 extern void iommu_free_table(struct iommu_table *tbl, const char *node_name);
86 /* Initializes an iommu_table based in values set in the passed-in
89 extern struct iommu_table *iommu_init_table(struct iommu_table * tbl,
92 extern int iommu_map_sg(struct device *dev, struct iommu_table *tbl,
96 extern void iommu_unmap_sg(struct iommu_table *tbl, struct scatterlist *sglist,
100 extern void *iommu_alloc_coherent(struct device *dev, struct iommu_table *tbl,
103 extern void iommu_free_coherent(struct iommu_table *tbl, size_t size,
105 extern dma_addr_t iommu_map_page(struct device *dev, struct iommu_table *tb
[all...]
H A Dmachdep.h26 struct iommu_table;
79 int (*tce_build)(struct iommu_table *tbl,
85 void (*tce_free)(struct iommu_table *tbl,
88 unsigned long (*tce_get)(struct iommu_table *tbl,
90 void (*tce_flush)(struct iommu_table *tbl);
H A Dvio.h47 struct iommu_table;
H A Dpci-bridge.h188 struct iommu_table;
195 struct iommu_table *iommu_table; /* for phb's or bridges */ member in struct:pci_dn
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/platforms/iseries/
H A Diommu.c45 static int tce_build_iSeries(struct iommu_table *tbl, long index, long npages,
78 static void tce_free_iSeries(struct iommu_table *tbl, long index, long npages)
120 struct iommu_table* tbl)
151 * This function compares the known tables to find an iommu_table
154 static struct iommu_table *iommu_table_find(struct iommu_table * tbl)
160 struct iommu_table *it;
164 it = pdn->iommu_table;
180 struct iommu_table *tbl;
187 tbl = kzalloc(sizeof(struct iommu_table), GFP_KERNE
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/platforms/pseries/
H A Diommu.c52 static int tce_build_pSeries(struct iommu_table *tbl, long index,
80 static void tce_free_pSeries(struct iommu_table *tbl, long index, long npages)
90 static unsigned long tce_get_pseries(struct iommu_table *tbl, long index)
99 static void tce_free_pSeriesLP(struct iommu_table*, long, long);
100 static void tce_freemulti_pSeriesLP(struct iommu_table*, long, long);
102 static int tce_build_pSeriesLP(struct iommu_table *tbl, long tcenum,
145 static int tce_buildmulti_pSeriesLP(struct iommu_table *tbl, long tcenum,
222 static void tce_free_pSeriesLP(struct iommu_table *tbl, long tcenum, long npages)
241 static void tce_freemulti_pSeriesLP(struct iommu_table *tbl, long tcenum, long npages)
256 static unsigned long tce_get_pSeriesLP(struct iommu_table *tb
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/kernel/
H A Dtce_64.c48 void tce_build(struct iommu_table *tbl, unsigned long index,
74 void tce_free(struct iommu_table *tbl, long index, unsigned int npages)
97 static int tce_table_setparms(struct pci_dev *dev, struct iommu_table *tbl)
136 struct iommu_table *tbl;
145 tbl = kzalloc(sizeof(struct iommu_table), GFP_KERNEL);
147 printk(KERN_ERR "Calgary: error allocating iommu_table\n");
H A Dpci-calgary_64.c172 static void calgary_handle_quirks(struct iommu_table *tbl, struct pci_dev *dev);
173 static void calgary_tce_cache_blast(struct iommu_table *tbl);
174 static void calgary_dump_error_regs(struct iommu_table *tbl);
175 static void calioc2_handle_quirks(struct iommu_table *tbl, struct pci_dev *dev);
176 static void calioc2_tce_cache_blast(struct iommu_table *tbl);
177 static void calioc2_dump_error_regs(struct iommu_table *tbl);
178 static void calgary_init_bitmap_from_tce_table(struct iommu_table *tbl);
195 static inline int translation_enabled(struct iommu_table *tbl)
201 static void iommu_range_reserve(struct iommu_table *tbl,
226 struct iommu_table *tb
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/kernel/
H A Diommu.c47 static void __iommu_free(struct iommu_table *, dma_addr_t, unsigned int);
61 struct iommu_table *tbl,
161 static dma_addr_t iommu_alloc(struct device *dev, struct iommu_table *tbl,
212 static void __iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr,
240 static void iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr,
259 int iommu_map_sg(struct device *dev, struct iommu_table *tbl,
408 void iommu_unmap_sg(struct iommu_table *tbl, struct scatterlist *sglist,
445 static void iommu_table_clear(struct iommu_table *tbl)
482 * Build a iommu_table structure. This contains a bit map which
485 struct iommu_table *iommu_init_tabl
[all...]
H A Ddma-iommu.c75 struct iommu_table *tbl = get_iommu_table_base(dev);
H A Dvio.c1048 static struct iommu_table *vio_build_iommu_table(struct vio_dev *dev)
1051 struct iommu_table *tbl;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/sysdev/
H A Ddart_iommu.c68 static struct iommu_table iommu_table_dart;
141 static void dart_flush(struct iommu_table *tbl)
150 static int dart_build(struct iommu_table *tbl, long index,
191 static void dart_free(struct iommu_table *tbl, long index, long npages)
311 PCI_DN(dn)->iommu_table = &iommu_table_dart;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/platforms/pasemi/
H A Diommu.c83 static struct iommu_table iommu_table_iobmap;
86 static int iobmap_build(struct iommu_table *tbl, long index,
115 static void iobmap_free(struct iommu_table *tbl, long index,
171 PCI_DN(dn)->iommu_table = &iommu_table_iobmap;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/platforms/cell/
H A Diommu.c118 struct iommu_table table;
136 * - on dev setup, assign iommu_table ptr
166 static int tce_build_cell(struct iommu_table *tbl, long index, long npages,
212 static void tce_free_cell(struct iommu_table *tbl, long index, long npages)
521 static struct iommu_table *cell_get_iommu_table(struct device *dev)
745 /* Setup the iommu_table */

Completed in 221 milliseconds