Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/sun4u/io/pci/
H A Dpci_fdvma.c53 fdvma_t *fdvma_p = (fdvma_t *)mp->dmai_fdvma; in pci_fdvma_load() local
54 pci_t *pci_p = (pci_t *)fdvma_p->softsp; in pci_fdvma_load()
81 ASSERT(fdvma_p->kvbase[index] == NULL); in pci_fdvma_load()
82 ASSERT(fdvma_p->pagecnt[index] == 0); in pci_fdvma_load()
99 &fdvma_p->cbcookie[index + i]); in pci_fdvma_load()
117 fdvma_p->kvbase[index] = baseaddr; in pci_fdvma_load()
118 fdvma_p->pagecnt[index] = npages; in pci_fdvma_load()
131 fdvma_t *fdvma_p = (fdvma_t *)mp->dmai_fdvma; in pci_fdvma_unload() local
132 pci_t *pci_p = (pci_t *)fdvma_p->softsp; in pci_fdvma_unload()
133 size_t npg = fdvma_p->pagecnt[index]; in pci_fdvma_unload()
[all …]
H A Dpci_reloc.c218 fdvma_t *fdvma_p = (fdvma_t *)mp->dmai_fdvma; in pci_fdvma_remap() local
219 pci_t *pci_p = (pci_t *)fdvma_p->softsp; in pci_fdvma_remap()
263 fdvma_t *fdvma_p = (fdvma_t *)mp->dmai_fdvma; in pci_fdvma_prerelocator() local
272 baseva = fdvma_p->kvbase[i]; in pci_fdvma_prerelocator()
273 endva = baseva + IOMMU_PTOB(fdvma_p->pagecnt[i]); in pci_fdvma_prerelocator()
286 fdvma_t *fdvma_p = (fdvma_t *)mp->dmai_fdvma; in pci_fdvma_postrelocator() local
321 baseva = fdvma_p->kvbase[i]; in pci_fdvma_postrelocator()
322 endva = baseva + IOMMU_PTOB(fdvma_p->pagecnt[i]); in pci_fdvma_postrelocator()
346 pci_fdvma_unregister_callbacks(pci_t *pci_p, fdvma_t *fdvma_p, in pci_fdvma_unregister_callbacks() argument
349 size_t npgs = fdvma_p->pagecnt[index]; in pci_fdvma_unregister_callbacks()
[all …]
/titanic_50/usr/src/uts/sun4/io/px/
H A Dpx_fdvma.c53 fdvma_t *fdvma_p = (fdvma_t *)mp->dmai_fdvma; in px_fdvma_load() local
54 px_t *px_p = (px_t *)fdvma_p->softsp; in px_fdvma_load()
76 fdvma_p->pagecnt[index] = npages; in px_fdvma_load()
103 fdvma_t *fdvma_p = (fdvma_t *)mp->dmai_fdvma; in px_fdvma_unload() local
104 px_t *px_p = (px_t *)fdvma_p->softsp; in px_fdvma_unload()
105 size_t npages = fdvma_p->pagecnt[index]; in px_fdvma_unload()
113 fdvma_p->pagecnt[index] = 0; in px_fdvma_unload()
121 fdvma_t *fdvma_p = (fdvma_t *)mp->dmai_fdvma; in px_fdvma_sync() local
122 px_t *px_p = (px_t *)fdvma_p->softsp; in px_fdvma_sync()
123 size_t npg = fdvma_p->pagecnt[index]; in px_fdvma_sync()
[all …]