Searched refs:dmai_winsize (Results 1 – 7 of 7) sorted by relevance
64 uint_t dmai_winsize; member148 #define PX_DMA_WINNPGS(mp) MMU_BTOP((mp)->dmai_winsize)168 (((mp)->dmai_offset + (mp)->dmai_roffset) / (mp)->dmai_winsize)
270 size_t win_size = mp->dmai_winsize; in px_mmu_map_window()306 uint_t npages = MMU_BTOP(mp->dmai_winsize); in px_mmu_unmap_window()
642 mp->dmai_winsize = MMU_PAGE_SIZE; in px_dvma_win()671 mp->dmai_winsize = P2ROUNDUP(xfer_sz + pg_off, MMU_PAGE_SIZE); in px_dvma_win()683 mp->dmai_winsize = xfer_sz; /* redzone not in winsize */ in px_dvma_win()711 size_t npages = MMU_BTOP(mp->dmai_winsize); in px_dvma_map_fast()715 ASSERT(MMU_PTOB(npages) == mp->dmai_winsize); in px_dvma_map_fast()883 size_t npages = MMU_BTOP(mp->dmai_winsize) + PX_HAS_REDZONE(mp); in px_dvma_unmap()1394 hp->dmai_winsize, hp->dmai_tte, hp->dmai_pfnlst, hp->dmai_pfn0); in px_dump_dma_handle()
66 uint_t dmai_winsize; member146 #define PCI_DMA_WINNPGS(mp) IOMMU_BTOP((mp)->dmai_winsize)191 (((mp)->dmai_offset + (mp)->dmai_roffset) / (mp)->dmai_winsize)
850 mp->dmai_winsize = IOMMU_PAGE_SIZE; in pci_dvma_win()880 mp->dmai_winsize = P2ROUNDUP(xfer_sz + pg_off, IOMMU_PAGE_SIZE); in pci_dvma_win()893 mp->dmai_winsize = xfer_sz; /* redzone not in winsize */ in pci_dvma_win()921 size_t npages = IOMMU_BTOP(mp->dmai_winsize); in pci_dvma_map_fast()926 ASSERT(IOMMU_PTOB(npages) == mp->dmai_winsize); in pci_dvma_map_fast()1072 npages = IOMMU_BTOP(mp->dmai_winsize) + HAS_REDZONE(mp); in pci_dvma_unmap()1634 hp->dmai_winsize, hp->dmai_tte, hp->dmai_pfnlst, hp->dmai_pfn0); in dump_dma_handle()
325 size_t win_size = mp->dmai_winsize; in iommu_map_window()383 uint_t npages = IOMMU_BTOP(mp->dmai_winsize); in iommu_unmap_window()
886 uint_t dmai_winsize; member