Lines Matching defs:dvma_pg
705 px_dvma_addr_t dvma_pg;
730 dvma_pg = mmu_p->dvma_base_pg + i;
761 mp->dmai_mapping = mp->dmai_roffset | MMU_PTOB(dvma_pg);
779 px_dvma_addr_t dvma_pg, dvma_pg_index;
813 dvma_pg = MMU_BTOP((ulong_t)dvma_addr);
814 dvma_pg_index = dvma_pg - mmu_p->dvma_base_pg;
815 DBG(DBG_DMA_MAP, dip, "fallback dvma_pages: dvma_pg=%x index=%x\n",
816 dvma_pg, dvma_pg_index);
817 if (dvma_pg == 0)
820 mp->dmai_mapping = mp->dmai_roffset | MMU_PTOB(dvma_pg);
825 mp, dvma_pg, npages, 0)) != DDI_SUCCESS) {
844 DBG(DBG_DMA_MAP, dip, "dvma_pg 0 - set callback\n");
856 px_dvma_addr_t dvma_pg = MMU_BTOP(dvma_addr);
857 dvma_addr = MMU_PTOB(dvma_pg);
860 px_iopfn_t index = dvma_pg - mmu_p->dvma_base_pg;