Searched refs:tcep (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
D | iommu.c | 89 __be64 *tcep, *tces; in tce_build_pSeries() local 97 tces = tcep = ((__be64 *)tbl->it_base) + index; in tce_build_pSeries() 102 *tcep = cpu_to_be64(proto_tce | (rpn & TCE_RPN_MASK) << TCE_RPN_SHIFT); in tce_build_pSeries() 105 tcep++; in tce_build_pSeries() 109 tce_invalidate_pSeries_sw(tbl, tces, tcep - 1); in tce_build_pSeries() 116 __be64 *tcep, *tces; in tce_free_pSeries() local 118 tces = tcep = ((__be64 *)tbl->it_base) + index; in tce_free_pSeries() 121 *(tcep++) = 0; in tce_free_pSeries() 124 tce_invalidate_pSeries_sw(tbl, tces, tcep - 1); in tce_free_pSeries() 129 __be64 *tcep; in tce_get_pseries() local [all …]
|
/linux-4.1.27/arch/powerpc/platforms/powernv/ |
D | pci.c | 581 __be64 *tcep, *tces; in pnv_tce_build() local 589 tces = tcep = ((__be64 *)tbl->it_base) + index - tbl->it_offset; in pnv_tce_build() 593 *(tcep++) = cpu_to_be64(proto_tce | in pnv_tce_build() 601 pnv_pci_ioda_tce_invalidate(tbl, tces, tcep - 1, rm); in pnv_tce_build() 618 __be64 *tcep, *tces; in pnv_tce_free() local 620 tces = tcep = ((__be64 *)tbl->it_base) + index - tbl->it_offset; in pnv_tce_free() 623 *(tcep++) = cpu_to_be64(0); in pnv_tce_free() 626 pnv_pci_ioda_tce_invalidate(tbl, tces, tcep - 1, rm); in pnv_tce_free()
|