Lines Matching refs:iommu_table
45 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_KERNEL);
192 pdn->iommu_table = iommu_table_find(tbl);
193 if (pdn->iommu_table == NULL)
194 pdn->iommu_table = iommu_init_table(tbl, -1);
197 set_iommu_table_base(&pdev->dev, pdn->iommu_table);
203 static struct iommu_table veth_iommu_table;
204 static struct iommu_table vio_iommu_table;
246 struct iommu_table *vio_build_iommu_table_iseries(struct vio_dev *dev)