Searched refs:dvma_addr_t (Results 1 – 9 of 9) sorted by relevance
/titanic_41/usr/src/uts/sun4u/sys/pci/ |
H A D | pci_iommu.h | 37 typedef uint64_t dvma_addr_t; typedef 147 dvma_addr_t iommu_dvma_base; 148 dvma_addr_t iommu_dvma_end; 149 dvma_addr_t iommu_dvma_fast_end; 150 dvma_addr_t dvma_base_pg; /* = IOMMU_BTOP(iommu_dvma_base) */ 151 dvma_addr_t dvma_end_pg; /* = IOMMU_BTOP(iommu_dvma_end) */ 238 dvma_addr_t dvma_pg, size_t npages, size_t pfn_index); 239 extern void iommu_unmap_pages(iommu_t *iommu_p, dvma_addr_t dvma_pg, 242 dvma_addr_t dvma_pg, size_t npages, size_t pfn_index);
|
H A D | pci_reloc.h | 51 extern void pci_fdvma_remap(ddi_dma_impl_t *, caddr_t, dvma_addr_t,
|
H A D | pci_chip.h | 83 dvma_addr_t dvma_pg_index);
|
/titanic_41/usr/src/uts/sun4u/io/pci/ |
H A D | pci_iommu.c | 263 dvma_addr_t dvma_pg, size_t npages, size_t pfn_index) in iommu_map_pages() 266 dvma_addr_t pg_index = dvma_pg - iommu_p->dvma_base_pg; in iommu_map_pages() 328 dvma_addr_t dvma_pg = IOMMU_BTOP(mp->dmai_mapping); in iommu_map_window() 345 iommu_unmap_pages(iommu_t *iommu_p, dvma_addr_t dvma_pg, uint_t npages) in iommu_unmap_pages() 347 dvma_addr_t pg_index = IOMMU_PAGE_INDEX(iommu_p, dvma_pg); in iommu_unmap_pages() 359 iommu_remap_pages(iommu_t *iommu_p, ddi_dma_impl_t *mp, dvma_addr_t dvma_pg, in iommu_remap_pages() 381 dvma_addr_t dvma_pg = IOMMU_BTOP(mp->dmai_mapping); in iommu_unmap_window() 382 dvma_addr_t pg_index = IOMMU_PAGE_INDEX(iommu_p, dvma_pg); in iommu_unmap_window()
|
H A D | pci_reloc.c | 195 dvma_addr_t dvma_pg; in pci_dvma_remap() 215 pci_fdvma_remap(ddi_dma_impl_t *mp, caddr_t kvaddr, dvma_addr_t dvma_pg, in pci_fdvma_remap() 223 dvma_addr_t pg_index = dvma_pg - iommu_p->dvma_base_pg; in pci_fdvma_remap() 288 dvma_addr_t dvma_pg; in pci_fdvma_postrelocator()
|
H A D | pci_fdvma.c | 57 dvma_addr_t dvma_addr, dvma_pg; in pci_fdvma_load() 135 dvma_addr_t dvma_pg = IOMMU_BTOP(mp->dmai_mapping + IOMMU_PTOB(index)); in pci_fdvma_unload() 182 dvma_addr_t dvma_pg; in pci_fdvma_reserve()
|
H A D | pci_dma.c | 52 dvma_addr_t dvma_addr, pg_off; in pci_sc_pg_inv() 918 dvma_addr_t dvma_pg; in pci_dvma_map_fast() 988 dvma_addr_t dvma_pg, dvma_pg_index; in pci_dvma_map() 1055 dvma_addr_t dvma_addr = (dvma_addr_t)mp->dmai_mapping; in pci_dvma_unmap() 1056 dvma_addr_t dvma_pg = IOMMU_BTOP(dvma_addr); in pci_dvma_unmap() 1086 dvma_addr_t dvma_pg = IOMMU_BTOP(mp->dmai_mapping); in pci_dma_sync_unmap()
|
H A D | pcisch.c | 80 dvma_addr_t dvma_pg, int npages); 1011 pci_iommu_get_dvma_context(iommu_t *iommu_p, dvma_addr_t dvma_pg_index) in pci_iommu_get_dvma_context() 3579 tm_vmem_free(ddi_dma_impl_t *mp, iommu_t *iommu_p, dvma_addr_t dvma_pg, in tm_vmem_free() 3644 (dvma_addr_t)IOMMU_BTOP((dvma_addr_t)dvma_addr), npages); in pci_vmem_free()
|
H A D | pcipsy.c | 1079 pci_iommu_get_dvma_context(iommu_t *iommu_p, dvma_addr_t dvma_pg_index) in pci_iommu_get_dvma_context()
|