Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/sun4/io/px/
H A Dpx_dma.c953 uint32_t cookie_no, uint32_t start_idx, uint32_t end_idx, in px_dma_newwin() argument
962 size_t sz = cookie_no * sizeof (ddi_dma_cookie_t); in px_dma_newwin()
972 win_p->win_ncookies = cookie_no; in px_dma_newwin()
1015 MMU_PTOB(seg_pfn0), pfn_no, cookie_no); in px_dma_newwin()
1018 ASSERT((cookie_p - (ddi_dma_cookie_t *)(win_p + 1)) == cookie_no); in px_dma_newwin()
1132 uint32_t i, win_no = 0, pfn_no = 1, win_pfn0_index = 0, cookie_no = 0; in px_dma_physwin() local
1199 cookie_no++; in px_dma_physwin()
1201 if (cookie_no < sgllen) in px_dma_physwin()
1205 win_pfn0_index, i - 1, cookie_no); in px_dma_physwin()
1206 if (ret = px_dma_newwin(dip, dmareq, mp, cookie_no, in px_dma_physwin()
[all …]
/titanic_41/usr/src/uts/sun4u/io/pci/
H A Dpci_dma.c1173 pci_dma_newwin(ddi_dma_req_t *dmareq, ddi_dma_impl_t *mp, uint32_t cookie_no, in pci_dma_newwin() argument
1183 size_t sz = cookie_no * sizeof (ddi_dma_cookie_t); in pci_dma_newwin()
1190 win_p->win_ncookies = cookie_no; in pci_dma_newwin()
1216 IOMMU_PTOB(seg_pfn0) | bypass_prefix, pfn_no, cookie_no); in pci_dma_newwin()
1219 ASSERT((cookie_p - (ddi_dma_cookie_t *)(win_p + 1)) == cookie_no); in pci_dma_newwin()
1333 uint32_t i, win_no = 0, pfn_no = 1, win_pfn0_index = 0, cookie_no = 0; in pci_dma_physwin() local
1377 cookie_no++; in pci_dma_physwin()
1379 if (cookie_no < sgllen) in pci_dma_physwin()
1383 win_pfn0_index, i - 1, cookie_no); in pci_dma_physwin()
1384 if (ret = pci_dma_newwin(dmareq, mp, cookie_no, in pci_dma_physwin()
[all …]