Lines Matching refs:tcep
129 __be64 *tcep, *tces; in tce_build_pSeries() local
137 tces = tcep = ((__be64 *)tbl->it_base) + index; in tce_build_pSeries()
142 *tcep = cpu_to_be64(proto_tce | (rpn & TCE_RPN_MASK) << TCE_RPN_SHIFT); in tce_build_pSeries()
145 tcep++; in tce_build_pSeries()
153 __be64 *tcep, *tces; in tce_free_pSeries() local
155 tces = tcep = ((__be64 *)tbl->it_base) + index; in tce_free_pSeries()
158 *(tcep++) = 0; in tce_free_pSeries()
163 __be64 *tcep; in tce_get_pseries() local
165 tcep = ((__be64 *)tbl->it_base) + index; in tce_get_pseries()
167 return be64_to_cpu(*tcep); in tce_get_pseries()
223 __be64 *tcep; in tce_buildmulti_pSeriesLP() local
237 tcep = __this_cpu_read(tce_page); in tce_buildmulti_pSeriesLP()
242 if (!tcep) { in tce_buildmulti_pSeriesLP()
243 tcep = (__be64 *)__get_free_page(GFP_ATOMIC); in tce_buildmulti_pSeriesLP()
245 if (!tcep) { in tce_buildmulti_pSeriesLP()
250 __this_cpu_write(tce_page, tcep); in tce_buildmulti_pSeriesLP()
267 tcep[l] = cpu_to_be64(proto_tce | (rpn & TCE_RPN_MASK) << TCE_RPN_SHIFT); in tce_buildmulti_pSeriesLP()
273 (u64)__pa(tcep), in tce_buildmulti_pSeriesLP()
293 printk("\ttce[0] val = 0x%llx\n", tcep[0]); in tce_buildmulti_pSeriesLP()
433 __be64 *tcep; in tce_setrange_multi_pSeriesLP() local
439 tcep = __this_cpu_read(tce_page); in tce_setrange_multi_pSeriesLP()
441 if (!tcep) { in tce_setrange_multi_pSeriesLP()
442 tcep = (__be64 *)__get_free_page(GFP_ATOMIC); in tce_setrange_multi_pSeriesLP()
443 if (!tcep) { in tce_setrange_multi_pSeriesLP()
447 __this_cpu_write(tce_page, tcep); in tce_setrange_multi_pSeriesLP()
476 tcep[l] = cpu_to_be64(proto_tce | next); in tce_setrange_multi_pSeriesLP()
482 (u64)__pa(tcep), in tce_setrange_multi_pSeriesLP()