Searched refs:IOMMU_PTOB (Results 1 - 8 of 8) sorted by relevance
/opensolaris-onvv-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_fdvma.c | 84 dvma_addr = mp->dmai_mapping + IOMMU_PTOB(index); 112 iommu_p->iommu_tsb_vaddr[pg_index + i] = tte | IOMMU_PTOB(pfn); 135 dvma_addr_t dvma_pg = IOMMU_BTOP(mp->dmai_mapping + IOMMU_PTOB(index)); 139 mp->dmai_mapping, IOMMU_PTOB(index), IOMMU_PTOB(npg)); 150 IOMMU_PTOB(index), IOMMU_PTOB(npg), sync_flags); 172 mp->dmai_mapping, IOMMU_PTOB(index), IOMMU_PTOB(npg)); 173 pci_dma_sync(pci_p->pci_dip, mp->dmai_rdip, h, IOMMU_PTOB(inde [all...] |
H A D | pci_iommu.c | 149 cache_size = IOMMU_PTOB(pci_dvma_page_cache_entries * 155 IOMMU_PTOB(tsb_entries) - cache_size, IOMMU_PAGE_SIZE, 283 volatile uint64_t cur_tte = IOMMU_PTOB(pfn) | tte; 337 mp->dmai_mapping = IOMMU_PTOB(dvma_pg) | win_pg0_off; 535 va = (caddr_t)(IOMMU_PTOB(base_pg_index + i));
|
H A D | pci_dma.c | 886 xfer_sz = IOMMU_PTOB(IOMMU_BTOP(xfer_sz + pg_off)); /* page align */ 921 ASSERT(IOMMU_PTOB(npages) == mp->dmai_winsize); 952 *tte_addr = tte | IOMMU_PTOB(MP_PFN0(mp)); /* map page 0 */ 959 *tte_addr = tte | IOMMU_PTOB(*pfn_addr); 967 mp->dmai_mapping = mp->dmai_roffset | IOMMU_PTOB(dvma_pg); 1007 IOMMU_PTOB(npages + HAS_REDZONE(mp)), 1033 mp->dmai_mapping = mp->dmai_roffset | IOMMU_PTOB(dvma_pg); 1054 dvma_addr = IOMMU_PTOB(dvma_pg); 1289 win_p->win_size = IOMMU_PTOB(end_idx - start_idx + 1); 1297 (IOMMU_PTOB(pfn_n [all...] |
H A D | pci_reloc.c | 106 size_t length = IOMMU_PTOB(1); 250 iommu_p->iommu_tsb_vaddr[pg_index + i] = tte | IOMMU_PTOB(pfn); 273 endva = baseva + IOMMU_PTOB(fdvma_p->pagecnt[i]); 322 endva = baseva + IOMMU_PTOB(fdvma_p->pagecnt[i]);
|
H A D | pcisch.c | 3622 (void *)IOMMU_PTOB(req_p->dur_base),
|
/opensolaris-onvv-gate/usr/src/uts/sun4u/sys/pci/ |
H A D | pci_iommu.h | 56 #define IOMMU_PTOB(x) (((uint64_t)(x)) << IOMMU_PAGE_SHIFT) macro 210 *(iommu_p)->iommu_flush_page_reg = IOMMU_PTOB(dvma_pg)
|
H A D | pci_dma.h | 188 ((IOMMU_PTOB(pfn) < attrp->dma_attr_addr_lo) || \ 189 (IOMMU_PTOB(pfn) > attrp->dma_attr_addr_hi))
|
/opensolaris-onvv-gate/usr/src/uts/sun4/io/px/ |
H A D | px_dma.h | 165 ((IOMMU_PTOB(pfn) < attrp->dma_attr_addr_lo) || \ 166 (IOMMU_PTOB(pfn) > attrp->dma_attr_addr_hi))
|
Completed in 301 milliseconds