Lines Matching refs:tcenum
157 static int tce_build_pSeriesLP(unsigned long liobn, long tcenum, long tceshift, in tce_build_pSeriesLP() argument
166 long tcenum_start = tcenum, npages_start = npages; in tce_build_pSeriesLP()
175 rc = plpar_tce_put((u64)liobn, (u64)tcenum << tceshift, tce); in tce_build_pSeriesLP()
187 printk("\ttcenum = 0x%llx\n", (u64)tcenum); in tce_build_pSeriesLP()
192 tcenum++; in tce_build_pSeriesLP()
200 static int tce_buildmulti_pSeriesLP(struct iommu_table *tbl, long tcenum, in tce_buildmulti_pSeriesLP() argument
210 long tcenum_start = tcenum, npages_start = npages; in tce_buildmulti_pSeriesLP()
216 return tce_build_pSeriesLP(tbl->it_index, tcenum, in tce_buildmulti_pSeriesLP()
233 return tce_build_pSeriesLP(tbl->it_index, tcenum, in tce_buildmulti_pSeriesLP()
259 (u64)tcenum << tceshift, in tce_buildmulti_pSeriesLP()
264 tcenum += limit; in tce_buildmulti_pSeriesLP()
286 static void tce_free_pSeriesLP(unsigned long liobn, long tcenum, long tceshift, in tce_free_pSeriesLP() argument
292 rc = plpar_tce_put((u64)liobn, (u64)tcenum << tceshift, 0); in tce_free_pSeriesLP()
297 printk("\ttcenum = 0x%llx\n", (u64)tcenum); in tce_free_pSeriesLP()
301 tcenum++; in tce_free_pSeriesLP()
306 static void tce_freemulti_pSeriesLP(struct iommu_table *tbl, long tcenum, long npages) in tce_freemulti_pSeriesLP() argument
311 return tce_free_pSeriesLP(tbl->it_index, tcenum, in tce_freemulti_pSeriesLP()
315 (u64)tcenum << tbl->it_page_shift, 0, npages); in tce_freemulti_pSeriesLP()
326 static unsigned long tce_get_pSeriesLP(struct iommu_table *tbl, long tcenum) in tce_get_pSeriesLP() argument
332 (u64)tcenum << tbl->it_page_shift, &tce_ret); in tce_get_pSeriesLP()
337 printk("\ttcenum = 0x%llx\n", (u64)tcenum); in tce_get_pSeriesLP()
434 unsigned long tcenum = dmastart >> tceshift; in tce_setrange_multi_pSeriesLP() local
439 tcenum, tceshift, npages, (unsigned long) uaddr, in tce_setrange_multi_pSeriesLP()