Searched refs:iopfn_t (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/uts/sun4u/sys/pci/ |
H A D | pci_dma.h | 35 typedef pfn_t iopfn_t; typedef 97 #define MP_PFN0(mp) ((iopfn_t)(mp)->dmai_pfn0) 265 #define PCI_GET_MP_PFN1_ADDR(mp) (((iopfn_t *)(mp)->dmai_pfnlst) + 1) 273 #define PCI_GET_MP_PFN1(mp, page_no) (((iopfn_t *)(mp)->dmai_pfnlst)[page_no]) 275 (iopfn_t)(mp)->dmai_pfnlst : PCI_GET_MP_PFN1(mp, page_no)) 282 ((iopfn_t *)(mp)->dmai_pfnlst)[page_no] = (iopfn_t)(pfn); \ 285 ((iopfn_t *)(mp)->dmai_pfnlst)[page_no] = (pfn); \
|
H A D | pci_pbm.h | 102 iopfn_t pbm_base_pfn; 103 iopfn_t pbm_last_pfn;
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_dma.c | 332 kmem_free(addr, npages * sizeof (iopfn_t)); in pci_dma_freepfn() 665 iopfn_t pfn = page_pptonum(pplist[i]); in pci_dma_pgpfn() 678 iopfn_t pfn = page_pptonum(pp); in pci_dma_pgpfn() 742 PCI_SET_MP_PFN1(mp, i, (iopfn_t)pfn); in pci_dma_vapfn() 744 mp, i, (iopfn_t)pfn); in pci_dma_vapfn() 770 iopfn_t pfn_base = pbm_p->pbm_base_pfn; in pci_dma_pfn() 771 iopfn_t pfn_last = pbm_p->pbm_last_pfn; in pci_dma_pfn() 772 iopfn_t pfn_adj = peer ? pfn_base : 0; in pci_dma_pfn() 782 if (!(mp->dmai_pfnlst = kmem_alloc(npages * sizeof (iopfn_t), in pci_dma_pfn() 797 iopfn_t pfn = PCI_GET_MP_PFN1(mp, i); in pci_dma_pfn() [all …]
|
H A D | pci_reloc.c | 147 index, ((iopfn_t *)mp->dmai_pfnlst)[index], newpfn); in pci_dvma_postrelocator() 148 ((iopfn_t *)mp->dmai_pfnlst)[index] = (iopfn_t)newpfn; in pci_dvma_postrelocator() 222 iopfn_t pfn = (iopfn_t)newpfn; in pci_fdvma_remap()
|
H A D | pci_fdvma.c | 109 tte = MAKE_TTE_TEMPLATE((iopfn_t)pfn, mp); in pci_fdvma_load()
|
H A D | pci_iommu.c | 282 iopfn_t pfn = PCI_GET_MP_PFN(mp, i); in iommu_map_pages()
|
H A D | pcisch.c | 2955 iopfn_t pfn; in iommu_tlb_scrub() 2960 pfn = (iopfn_t)(data & TLBDATA_MEMPA_BITS); in iommu_tlb_scrub()
|