Searched refs:dvma_addr (Results 1 – 5 of 5) sorted by relevance
66 void dvma_print (unsigned long dvma_addr) in dvma_print() argument71 index = dvma_addr >> DVMA_PAGE_SHIFT; in dvma_print()73 printk("idx %lx dvma_addr %08lx paddr %08lx\n", index, dvma_addr, in dvma_print()
23 unsigned long dvma_addr; member
234 sg[sz].dvma_addr = vdma_alloc(PHYSADDR(sg[sz].addr), sg[sz].len); in dma_mmu_get_scsi_sgl()251 vdma_free(sg[sz].dvma_addr); in dma_mmu_release_scsi_sgl()
350 sg[sz].dvma_addr = dvma_map((unsigned long)sg[sz].addr, sg[sz].len); in dma_mmu_get_scsi_sgl()367 dvma_unmap((char *)sg[sz].dvma_addr); in dma_mmu_release_scsi_sgl()
291 void *sbus_alloc_consistent(struct sbus_dev *sdev, size_t size, dma_addr_t *dvma_addr) in sbus_alloc_consistent() argument299 if (size <= 0 || sdev == NULL || dvma_addr == NULL) in sbus_alloc_consistent()322 *dvma_addr = MAP_BASE + ((iopte - iommu->page_table) << IO_PAGE_SHIFT); in sbus_alloc_consistent()330 iommu_flush(iommu, *dvma_addr, size >> IO_PAGE_SHIFT); in sbus_alloc_consistent()