Lines Matching defs:dvma_pg
915 dvma_addr_t dvma_pg;
947 dvma_pg = iommu_p->dvma_base_pg + i;
953 DEBUG5(DBG_DMA_MAP, dip, "fast %p:dvma_pg=%x tte0(%p)=%08x.%08x\n", mp,
954 dvma_pg, tte_addr, HI32(*tte_addr), LO32(*tte_addr));
967 mp->dmai_mapping = mp->dmai_roffset | IOMMU_PTOB(dvma_pg);
985 dvma_addr_t dvma_pg, dvma_pg_index;
1018 dvma_pg = IOMMU_BTOP((ulong_t)dvma_addr);
1019 dvma_pg_index = dvma_pg - iommu_p->dvma_base_pg;
1020 DEBUG2(DBG_DMA_MAP, dip, "fallback dvma_pages: dvma_pg=%x index=%x\n",
1021 dvma_pg, dvma_pg_index);
1022 if (dvma_pg == 0)
1033 mp->dmai_mapping = mp->dmai_roffset | IOMMU_PTOB(dvma_pg);
1036 iommu_map_pages(iommu_p, mp, dvma_pg, npages, 0);
1040 DEBUG0(DBG_DMA_MAP, dip, "dvma_pg 0 - set callback\n");
1053 dvma_addr_t dvma_pg = IOMMU_BTOP(dvma_addr);
1054 dvma_addr = IOMMU_PTOB(dvma_pg);
1057 iopfn_t index = dvma_pg - iommu_p->dvma_base_pg;
1083 dvma_addr_t dvma_pg = IOMMU_BTOP(mp->dmai_mapping);
1085 SYNC_BUF_PA(mp) = IOMMU_PAGE_TTEPA(iommu_p, dvma_pg);