Home
last modified time | relevance | path

Searched refs:dmai_winsize (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_dma.h64 uint_t dmai_winsize; member
148 #define PX_DMA_WINNPGS(mp) MMU_BTOP((mp)->dmai_winsize)
168 (((mp)->dmai_offset + (mp)->dmai_roffset) / (mp)->dmai_winsize)
H A Dpx_mmu.c270 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()
H A Dpx_dma.c642 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()
/illumos-gate/usr/src/uts/sun4u/sys/pci/
H A Dpci_dma.h66 uint_t dmai_winsize; member
146 #define PCI_DMA_WINNPGS(mp) IOMMU_BTOP((mp)->dmai_winsize)
191 (((mp)->dmai_offset + (mp)->dmai_roffset) / (mp)->dmai_winsize)
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_dma.c850 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()
H A Dpci_iommu.c325 size_t win_size = mp->dmai_winsize; in iommu_map_window()
383 uint_t npages = IOMMU_BTOP(mp->dmai_winsize); in iommu_unmap_window()
/illumos-gate/usr/src/uts/common/sys/
H A Dddi_impldefs.h886 uint_t dmai_winsize; member