Searched refs:IOMMU_PAGE_SIZE (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_reloc.c | 84 hat_delete_callback(vaddr, IOMMU_PAGE_SIZE - offset, mp, HAC_PAGELOCK, in pci_dvma_unregister_callbacks() 86 vaddr = (caddr_t)(((uintptr_t)vaddr + IOMMU_PAGE_SIZE) & in pci_dvma_unregister_callbacks() 89 hat_delete_callback(vaddr, IOMMU_PAGE_SIZE, mp, HAC_PAGELOCK, in pci_dvma_unregister_callbacks() 91 vaddr += IOMMU_PAGE_SIZE; in pci_dvma_unregister_callbacks() 238 for (i = 0; i < npages; i++, kvaddr += IOMMU_PAGE_SIZE) { in pci_fdvma_remap() 357 i++, kva += IOMMU_PAGE_SIZE) in pci_fdvma_unregister_callbacks() 358 hat_delete_callback(kva, IOMMU_PAGE_SIZE, mp, HAC_PAGELOCK, in pci_fdvma_unregister_callbacks()
|
H A D | pci_iommu.c | 101 - (tsb_entries * IOMMU_PAGE_SIZE); in iommu_create() 156 IOMMU_PTOB(tsb_entries) - cache_size, IOMMU_PAGE_SIZE, in iommu_create() 157 NULL, NULL, NULL, IOMMU_PAGE_SIZE, VM_SLEEP); in iommu_create() 536 (void) vmem_xalloc(iommu_p->iommu_dvma_map, IOMMU_PAGE_SIZE, in iommu_preserve_tsb() 537 IOMMU_PAGE_SIZE, 0, 0, va, va + IOMMU_PAGE_SIZE, in iommu_preserve_tsb()
|
H A D | pci_dma.c | 76 for (; len; len--, dvma_addr += IOMMU_PAGE_SIZE) { in pci_sc_pg_inv() 457 if (align && (align > IOMMU_PAGE_SIZE)) in pci_dma_attr2hdl() 464 align = MAX(align, IOMMU_PAGE_SIZE) - 1; in pci_dma_attr2hdl() 590 IOMMU_PAGE_SIZE - offset, flags, mp, &pfn0, in pci_dma_type() 712 IOMMU_PAGE_SIZE) & IOMMU_PAGE_MASK); in pci_dma_vapfn() 718 for (vaddr = sva, i = 1; i < npages; i++, vaddr += IOMMU_PAGE_SIZE) { in pci_dma_vapfn() 728 IOMMU_PAGE_SIZE, flags, mp, &pfn, in pci_dma_vapfn() 842 uint32_t redzone_sz = HAS_REDZONE(mp) ? IOMMU_PAGE_SIZE : 0; in pci_dvma_win() 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() [all …]
|
H A D | pci_fdvma.c | 93 for (i = 0, a = baseaddr; i < npages; i++, a += IOMMU_PAGE_SIZE) { in pci_fdvma_load() 98 IOMMU_PAGE_SIZE, flags, mp, &pfn, in pci_fdvma_load() 225 IOMMU_PTOB(npages), IOMMU_PAGE_SIZE, 0, in pci_fdvma_reserve() 259 mp->dmai_size = npages * IOMMU_PAGE_SIZE; in pci_fdvma_reserve()
|
H A D | pci.c | 1261 *((ulong_t *)result) = IOMMU_PAGE_SIZE; in pci_ctlops()
|
/illumos-gate/usr/src/uts/sun4u/sys/pci/ |
H A D | pci_iommu.h | 53 #define IOMMU_PAGE_SIZE (1 << IOMMU_PAGE_SHIFT) macro 54 #define IOMMU_PAGE_MASK ~(IOMMU_PAGE_SIZE - 1) 55 #define IOMMU_PAGE_OFFSET (IOMMU_PAGE_SIZE - 1)
|