Home
last modified time | relevance | path

Searched refs:pfn_no (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_dma.c960 uint32_t pfn_no = 1; in px_dma_newwin() local
981 for (; start_idx <= end_idx; start_idx++, prev_pfn = pfn, pfn_no++) { in px_dma_newwin()
984 (MMU_PTOB(pfn_no + 1) - 1 <= count_max)) in px_dma_newwin()
997 MAKE_DMA_COOKIE(cookie_p, baddr, MMU_PTOB(pfn_no)); in px_dma_newwin()
999 MMU_PTOB(seg_pfn0), pfn_no); in px_dma_newwin()
1002 pfn_no = 0; in px_dma_newwin()
1015 MAKE_DMA_COOKIE(cookie_p, baddr, MMU_PTOB(pfn_no)); in px_dma_newwin()
1017 MMU_PTOB(seg_pfn0), pfn_no, cookie_no); in px_dma_newwin()
1134 uint32_t i, win_no = 0, pfn_no = 1, win_pfn0_index = 0, cookie_no = 0; in px_dma_physwin() local
1184 i++, prev_pfn = pfn, pfn_no++) { in px_dma_physwin()
[all …]
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_dma.c1181 uint32_t pfn_no = 1; in pci_dma_newwin() local
1199 for (; start_idx <= end_idx; start_idx++, prev_pfn = pfn, pfn_no++) { in pci_dma_newwin()
1202 (IOMMU_PTOB(pfn_no + 1) - 1 <= count_max)) in pci_dma_newwin()
1207 IOMMU_PTOB(pfn_no)); in pci_dma_newwin()
1209 IOMMU_PTOB(seg_pfn0) | bypass_prefix, pfn_no); in pci_dma_newwin()
1212 pfn_no = 0; in pci_dma_newwin()
1216 IOMMU_PTOB(pfn_no)); in pci_dma_newwin()
1218 IOMMU_PTOB(seg_pfn0) | bypass_prefix, pfn_no, cookie_no); in pci_dma_newwin()
1335 uint32_t i, win_no = 0, pfn_no = 1, win_pfn0_index = 0, cookie_no = 0; in pci_dma_physwin() local
1370 i++, prev_pfn = pfn, pfn_no++) { in pci_dma_physwin()
[all …]