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

/linux-4.4.14/arch/powerpc/platforms/pseries/
H A Diommu.c208 static int tce_build_pSeriesLP(struct iommu_table *tbl, long tcenum, tce_build_pSeriesLP() argument
217 long tcenum_start = tcenum, npages_start = npages; tce_build_pSeriesLP()
226 rc = plpar_tce_put((u64)tbl->it_index, (u64)tcenum << 12, tce); tce_build_pSeriesLP()
238 printk("\ttcenum = 0x%llx\n", (u64)tcenum); tce_build_pSeriesLP()
243 tcenum++; tce_build_pSeriesLP()
251 static int tce_buildmulti_pSeriesLP(struct iommu_table *tbl, long tcenum, tce_buildmulti_pSeriesLP() argument
261 long tcenum_start = tcenum, npages_start = npages; tce_buildmulti_pSeriesLP()
266 return tce_build_pSeriesLP(tbl, tcenum, npages, uaddr, tce_buildmulti_pSeriesLP()
282 return tce_build_pSeriesLP(tbl, tcenum, npages, uaddr, tce_buildmulti_pSeriesLP()
307 (u64)tcenum << 12, tce_buildmulti_pSeriesLP()
312 tcenum += limit; tce_buildmulti_pSeriesLP()
334 static void tce_free_pSeriesLP(struct iommu_table *tbl, long tcenum, long npages) tce_free_pSeriesLP() argument
339 rc = plpar_tce_put((u64)tbl->it_index, (u64)tcenum << 12, 0); tce_free_pSeriesLP()
344 printk("\ttcenum = 0x%llx\n", (u64)tcenum); tce_free_pSeriesLP()
348 tcenum++; tce_free_pSeriesLP()
353 static void tce_freemulti_pSeriesLP(struct iommu_table *tbl, long tcenum, long npages) tce_freemulti_pSeriesLP() argument
358 return tce_free_pSeriesLP(tbl, tcenum, npages); tce_freemulti_pSeriesLP()
360 rc = plpar_tce_stuff((u64)tbl->it_index, (u64)tcenum << 12, 0, npages); tce_freemulti_pSeriesLP()
371 static unsigned long tce_get_pSeriesLP(struct iommu_table *tbl, long tcenum) tce_get_pSeriesLP() argument
376 rc = plpar_tce_get((u64)tbl->it_index, (u64)tcenum << 12, &tce_ret); tce_get_pSeriesLP()
381 printk("\ttcenum = 0x%llx\n", (u64)tcenum); tce_get_pSeriesLP()

Completed in 69 milliseconds