Home
last modified time | relevance | path

Searched refs:pfn0 (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/uts/sun4/io/px/
H A Dpx_dma.c392 pfn_t pfn0; in px_dma_type() local
410 pfn0 = page_pptonum(*pplist); in px_dma_type()
414 pfn0 = hat_getpfnum(hat_p, vaddr); in px_dma_type()
422 pfn0 = page_pptonum(dobj_p->dmao_obj.pp_obj.pp_pp); in px_dma_type()
431 if (pfn0 == PFN_INVALID) { in px_dma_type()
436 if (TGT_PFN_INBETWEEN(pfn0, pec_p->pec_base32_pfn, in px_dma_type()
440 } else if (TGT_PFN_INBETWEEN(pfn0, pec_p->pec_base64_pfn, in px_dma_type()
459 mp->dmai_pfn0 = (void *)pfn0; /* cache pfn0 */ in px_dma_type()
/titanic_50/usr/src/uts/sun4u/io/pci/
H A Dpci_dma.c559 pfn_t pfn0; in pci_dma_type() local
579 pfn0 = page_pptonum(*pplist); in pci_dma_type()
588 IOMMU_PAGE_SIZE - offset, flags, mp, &pfn0, in pci_dma_type()
591 if (pfn0 == PFN_INVALID && ret == ENOMEM) { in pci_dma_type()
602 pfn0 = hat_getpfnum(as_p->a_hat, vaddr); in pci_dma_type()
609 pfn0 = page_pptonum(dobj_p->dmao_obj.pp_obj.pp_pp); in pci_dma_type()
619 if (pfn0 == PFN_INVALID) { in pci_dma_type()
624 if (TGT_PFN_INBETWEEN(pfn0, pbm_p->pbm_base_pfn, pbm_p->pbm_last_pfn)) { in pci_dma_type()
637 mp->dmai_pfn0 = (void *)pfn0; /* cache pfn0 */ in pci_dma_type()
/titanic_50/usr/src/uts/sun4v/io/niumx/
H A Dniumx.c730 pfn_t pfn0; in niumx_dma_bindhdl() local
744 pfn0 = hat_getpfnum(hat_p, vaddr); in niumx_dma_bindhdl()
757 if (pfn0 == PFN_INVALID) { in niumx_dma_bindhdl()
764 mp->dmai_pfn0 = (void *)pfn0; /* cache pfn0 */ in niumx_dma_bindhdl()
766 mp->dmai_mapping = mp->dmai_roffset | NIUMX_PTOB(pfn0); in niumx_dma_bindhdl()