Home
last modified time | relevance | path

Searched refs:tcep (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/arch/powerpc/platforms/pseries/
Diommu.c90 u64 *tcep, *tces; in tce_build_pSeries() local
98 tces = tcep = ((u64 *)tbl->it_base) + index; in tce_build_pSeries()
103 *tcep = proto_tce | (rpn & TCE_RPN_MASK) << TCE_RPN_SHIFT; in tce_build_pSeries()
106 tcep++; in tce_build_pSeries()
110 tce_invalidate_pSeries_sw(tbl, tces, tcep - 1); in tce_build_pSeries()
117 u64 *tcep, *tces; in tce_free_pSeries() local
119 tces = tcep = ((u64 *)tbl->it_base) + index; in tce_free_pSeries()
122 *(tcep++) = 0; in tce_free_pSeries()
125 tce_invalidate_pSeries_sw(tbl, tces, tcep - 1); in tce_free_pSeries()
130 u64 *tcep; in tce_get_pseries() local
[all …]
/linux-3.4.99/arch/powerpc/platforms/powernv/
Dpci.c413 u64 *tcep, *tces; in pnv_tce_build() local
421 tces = tcep = ((u64 *)tbl->it_base) + index - tbl->it_offset; in pnv_tce_build()
425 *(tcep++) = proto_tce | (rpn++ << TCE_RPN_SHIFT); in pnv_tce_build()
432 pnv_tce_invalidate(tbl, tces, tcep - 1); in pnv_tce_build()
439 u64 *tcep, *tces; in pnv_tce_free() local
441 tces = tcep = ((u64 *)tbl->it_base) + index - tbl->it_offset; in pnv_tce_free()
444 *(tcep++) = 0; in pnv_tce_free()
447 pnv_tce_invalidate(tbl, tces, tcep - 1); in pnv_tce_free()
/linux-3.4.99/arch/powerpc/platforms/wsp/
Dwsp_pci.c239 u64 *tcep; in tce_build_wsp() local
255 tcep = (u64 *)page_address(ptbl->tces[index >> 16]); in tce_build_wsp()
256 tcep += (index & 0xffff); in tce_build_wsp()
260 *tcep = proto_tce | (rpn & TCE_RPN_MASK) << TCE_RPN_SHIFT; in tce_build_wsp()
263 tcep, *tcep, (tbl->it_offset + index) << IOMMU_PAGE_SHIFT); in tce_build_wsp()
279 u64 *tcep; in tce_free_wsp() local
287 tcep = (u64 *)page_address(ptbl->tces[index >> 16]); in tce_free_wsp()
288 tcep += (index & 0xffff); in tce_free_wsp()
289 dma_debug("[DMA] TCE %p cleared\n", tcep); in tce_free_wsp()
290 *tcep = 0; in tce_free_wsp()
[all …]