Lines Matching refs:tcenum
173 static int tce_build_pSeriesLP(struct iommu_table *tbl, long tcenum, in tce_build_pSeriesLP() argument
182 long tcenum_start = tcenum, npages_start = npages; in tce_build_pSeriesLP()
191 rc = plpar_tce_put((u64)tbl->it_index, (u64)tcenum << 12, tce); in tce_build_pSeriesLP()
203 printk("\ttcenum = 0x%llx\n", (u64)tcenum); in tce_build_pSeriesLP()
208 tcenum++; in tce_build_pSeriesLP()
216 static int tce_buildmulti_pSeriesLP(struct iommu_table *tbl, long tcenum, in tce_buildmulti_pSeriesLP() argument
226 long tcenum_start = tcenum, npages_start = npages; in tce_buildmulti_pSeriesLP()
231 return tce_build_pSeriesLP(tbl, tcenum, npages, uaddr, in tce_buildmulti_pSeriesLP()
247 return tce_build_pSeriesLP(tbl, tcenum, npages, uaddr, in tce_buildmulti_pSeriesLP()
272 (u64)tcenum << 12, in tce_buildmulti_pSeriesLP()
277 tcenum += limit; in tce_buildmulti_pSeriesLP()
299 static void tce_free_pSeriesLP(struct iommu_table *tbl, long tcenum, long npages) in tce_free_pSeriesLP() argument
304 rc = plpar_tce_put((u64)tbl->it_index, (u64)tcenum << 12, 0); in tce_free_pSeriesLP()
309 printk("\ttcenum = 0x%llx\n", (u64)tcenum); in tce_free_pSeriesLP()
313 tcenum++; in tce_free_pSeriesLP()
318 static void tce_freemulti_pSeriesLP(struct iommu_table *tbl, long tcenum, long npages) in tce_freemulti_pSeriesLP() argument
323 return tce_free_pSeriesLP(tbl, tcenum, npages); in tce_freemulti_pSeriesLP()
325 rc = plpar_tce_stuff((u64)tbl->it_index, (u64)tcenum << 12, 0, npages); in tce_freemulti_pSeriesLP()
336 static unsigned long tce_get_pSeriesLP(struct iommu_table *tbl, long tcenum) in tce_get_pSeriesLP() argument
341 rc = plpar_tce_get((u64)tbl->it_index, (u64)tcenum << 12, &tce_ret); in tce_get_pSeriesLP()
346 printk("\ttcenum = 0x%llx\n", (u64)tcenum); in tce_get_pSeriesLP()