Home
last modified time | relevance | path

Searched refs:iommu_t (Results 1 – 11 of 11) sorted by relevance

/titanic_41/usr/src/uts/sun4u/sys/pci/
H A Dpci_iommu.h124 typedef struct iommu iommu_t; typedef
230 extern void pci_dvma_debug_fini(iommu_t *iommu_p);
231 extern void pci_dvma_alloc_debug(iommu_t *iommu_p, char *address, uint_t len,
233 extern void pci_dvma_free_debug(iommu_t *iommu_p, char *address, uint_t len,
237 extern void iommu_map_pages(iommu_t *iommu_p, ddi_dma_impl_t *mp,
239 extern void iommu_unmap_pages(iommu_t *iommu_p, dvma_addr_t dvma_pg,
241 extern void iommu_remap_pages(iommu_t *iommu_p, ddi_dma_impl_t *mp,
243 extern void iommu_map_window(iommu_t *iommu_p,
245 extern void iommu_unmap_window(iommu_t *iommu_p, ddi_dma_impl_t *mp);
248 extern void iommu_configure(iommu_t *iommu_p);
H A Dpci_chip.h77 extern uintptr_t pci_iommu_setup(iommu_t *iommu_p);
78 extern void pci_iommu_teardown(iommu_t *iommu_p);
79 extern void pci_iommu_config(iommu_t *iommu_p, uint64_t iommu_ctl,
82 extern dvma_context_t pci_iommu_get_dvma_context(iommu_t *iommu_p,
84 extern void pci_iommu_free_dvma_context(iommu_t *iommu_p, dvma_context_t ctx);
116 extern void pci_vmem_free(iommu_t *iommu_p, ddi_dma_impl_t *mp,
H A Dpci_dma.h239 iommu_t *iommu_p, ddi_dma_req_t *dmareq);
246 extern int pci_dvma_map_fast(iommu_t *iommu_p, ddi_dma_impl_t *mp);
248 iommu_t *iommu_p);
249 extern void pci_dvma_unmap(iommu_t *iommu_p, ddi_dma_impl_t *mp);
260 extern void pci_vmem_do_free(iommu_t *iommu_p, void *base_addr, size_t npages,
H A Dpci_var.h103 iommu_t *pci_common_iommu_p;
138 iommu_t *pci_iommu_p; /* IOMMU block */
/titanic_41/usr/src/uts/sun4u/io/pci/
H A Dpci_iommu.c46 static void iommu_tlb_flushall(iommu_t *iommu_p);
47 static void iommu_preserve_tsb(iommu_t *iommu_p);
53 iommu_t *iommu_p; in iommu_create()
67 iommu_p = (iommu_t *)kmem_zalloc(sizeof (iommu_t), KM_SLEEP); in iommu_create()
177 iommu_t *iommu_p = pci_p->pci_iommu_p; in iommu_destroy()
217 kmem_free(iommu_p, sizeof (iommu_t)); in iommu_destroy()
226 iommu_configure(iommu_t *iommu_p) in iommu_configure()
262 iommu_map_pages(iommu_t *iommu_p, ddi_dma_impl_t *mp, in iommu_map_pages()
321 iommu_map_window(iommu_t *iommu_p, ddi_dma_impl_t *mp, window_t win_no) in iommu_map_window()
345 iommu_unmap_pages(iommu_t *iommu_p, dvma_addr_t dvma_pg, uint_t npages) in iommu_unmap_pages()
[all …]
H A Dpci_fdvma.c55 iommu_t *iommu_p = pci_p->pci_iommu_p; in pci_fdvma_load()
183 iommu_t *iommu_p = pci_p->pci_iommu_p; in pci_fdvma_reserve()
273 iommu_t *iommu_p = pci_p->pci_iommu_p; in pci_fdvma_release()
H A Dpci_dma.c357 pci_dma_lmts2hdl(dev_info_t *dip, dev_info_t *rdip, iommu_t *iommu_p, in pci_dma_lmts2hdl()
427 iommu_t *iommu_p = pci_p->pci_iommu_p; in pci_dma_attr2hdl()
909 pci_dvma_map_fast(iommu_t *iommu_p, ddi_dma_impl_t *mp) in pci_dvma_map_fast()
985 pci_dvma_map(ddi_dma_impl_t *mp, ddi_dma_req_t *dmareq, iommu_t *iommu_p) in pci_dvma_map()
1052 pci_dvma_unmap(iommu_t *iommu_p, ddi_dma_impl_t *mp) in pci_dvma_unmap()
1081 iommu_t *iommu_p = pci_p->pci_iommu_p; in pci_dma_sync_unmap()
1502 pci_dvma_debug_init(iommu_t *iommu_p) in pci_dvma_debug_init()
1518 pci_dvma_debug_fini(iommu_t *iommu_p) in pci_dvma_debug_fini()
1546 pci_dvma_alloc_debug(iommu_t *iommu_p, char *address, uint_t len, in pci_dvma_alloc_debug()
1579 pci_dvma_free_debug(iommu_t *iommu_p, char *address, uint_t len, in pci_dvma_free_debug()
[all …]
H A Dpcisch.c65 static void iommu_ctx_free(iommu_t *);
66 static int iommu_tlb_scrub(iommu_t *, int);
79 static void tm_vmem_free(ddi_dma_impl_t *mp, iommu_t *iommu_p,
1011 pci_iommu_get_dvma_context(iommu_t *iommu_p, dvma_addr_t dvma_pg_index) in pci_iommu_get_dvma_context()
1047 pci_iommu_free_dvma_context(iommu_t *iommu_p, dvma_context_t ctx) in pci_iommu_free_dvma_context()
1184 pci_iommu_setup(iommu_t *iommu_p) in pci_iommu_setup()
1245 pci_iommu_teardown(iommu_t *iommu_p) in pci_iommu_teardown()
2143 iommu_t *iommu_p = pci_p->pci_iommu_p; in iommu_err_handler()
2578 iommu_t *iommu_p = pci_p->pci_iommu_p; in pci_pbm_errstate_get()
2668 iommu_t *iommu_p = pci_p->pci_iommu_p; in pci_clear_error()
[all …]
H A Dpcipsy.c1079 pci_iommu_get_dvma_context(iommu_t *iommu_p, dvma_addr_t dvma_pg_index) in pci_iommu_get_dvma_context()
1087 pci_iommu_free_dvma_context(iommu_t *iommu_p, dvma_context_t ctx) in pci_iommu_free_dvma_context()
1093 pci_iommu_config(iommu_t *iommu_p, uint64_t iommu_ctl, uint64_t cfgpa) in pci_iommu_config()
1191 pci_iommu_setup(iommu_t *iommu_p) in pci_iommu_setup()
1240 pci_iommu_teardown(iommu_t *iommu_p) in pci_iommu_teardown()
1975 pci_vmem_free(iommu_t *iommu_p, ddi_dma_impl_t *mp, void *dvma_addr, in pci_vmem_free()
H A Dpci_reloc.c194 iommu_t *iommu_p = pci_p->pci_iommu_p; in pci_dvma_remap()
220 iommu_t *iommu_p = pci_p->pci_iommu_p; in pci_fdvma_remap()
H A Dpci.c573 iommu_t *iommu_p = pci_p->pci_iommu_p; in pci_dma_setup()
697 iommu_t *iommu_p = pci_p->pci_iommu_p; in pci_dma_bindhdl()
771 iommu_t *iommu_p = pci_p->pci_iommu_p; in pci_dma_unbindhdl()