Home
last modified time | relevance | path

Searched refs:iommu_map_entry (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/dev/iommu/
H A Diommu.h41 struct iommu_map_entry;
42 TAILQ_HEAD(iommu_map_entries_tailq, iommu_map_entry);
44 RB_HEAD(iommu_gas_entries_tree, iommu_map_entry);
45 RB_PROTOTYPE(iommu_gas_entries_tree, iommu_map_entry, rb_entry,
53 struct iommu_map_entry { struct
62 TAILQ_ENTRY(iommu_map_entry) dmamap_link; /* DMA map entries */ argument
63 struct iommu_map_entry *tlb_flush_next;
65 RB_ENTRY(iommu_map_entry) rb_entry; /* Links for domain entries */
94 int (*map)(struct iommu_domain *domain, struct iommu_map_entry *entry,
96 int (*unmap)(struct iommu_domain *domain, struct iommu_map_entry *entry,
[all …]
H A Diommu_gas.c84 sizeof(struct iommu_map_entry), NULL, NULL, in intel_gas_init()
89 struct iommu_map_entry *
92 struct iommu_map_entry *res; in iommu_gas_alloc_entry()
110 iommu_gas_free_entry(struct iommu_map_entry *entry) in iommu_gas_free_entry()
126 iommu_gas_cmp_entries(struct iommu_map_entry *a, struct iommu_map_entry *b) in iommu_gas_cmp_entries()
155 iommu_gas_augment_entry(struct iommu_map_entry *entry) in iommu_gas_augment_entry()
157 struct iommu_map_entry *child; in iommu_gas_augment_entry()
187 RB_GENERATE(iommu_gas_entries_tree, iommu_map_entry, rb_entry,
194 struct iommu_map_entry *entry, *l, *r; in iommu_gas_check_free()
218 iommu_gas_rb_remove(struct iommu_domain *domain, struct iommu_map_entry *entry) in iommu_gas_rb_remove()
[all …]
H A Dbusdma_iommu.c575 struct iommu_map_entry *entry; in iommu_bus_dmamem_free()
1027 struct iommu_map_entry *entry; in iommu_fini_busdma()
1092 iommu_map_entry, dmamap_link); in bus_dma_iommu_load_ident()
/freebsd/sys/x86/iommu/
H A Dx86_iommu.h52 struct iommu_map_entry *entry);
76 void (*domain_unload_entry)(struct iommu_map_entry *entry, bool free,
163 struct iommu_map_entry *tlb_flush_head;
164 struct iommu_map_entry *tlb_flush_tail;
171 void iommu_domain_free_entry(struct iommu_map_entry *entry, bool free);
179 struct iommu_map_entry *entry, bool emit_wait);
197 void iommu_db_print_domain_entry(const struct iommu_map_entry *entry);
H A Damd_idpgtbl.c73 struct sf_buf **sf, struct iommu_map_entry *entry, bool free_sf);
76 struct iommu_map_entry *entry);
191 struct iommu_map_entry *entry) in amdiommu_map_buf_locked()
232 amdiommu_map_buf(struct iommu_domain *iodom, struct iommu_map_entry *entry, in amdiommu_map_buf()
291 int lvl, int flags, struct iommu_map_entry *entry) in amdiommu_free_pgtbl_pde()
306 struct iommu_map_entry *entry, bool free_sf) in amdiommu_unmap_clear_pte()
330 iommu_gaddr_t size, int flags, struct iommu_map_entry *entry) in amdiommu_unmap_buf_locked()
381 amdiommu_unmap_buf(struct iommu_domain *iodom, struct iommu_map_entry *entry, in amdiommu_unmap_buf()
H A Diommu_utils.c114 struct iommu_map_entry *entry) in iommu_pgfree()
265 iommu_domain_unload_entry(struct iommu_map_entry *entry, bool free, in iommu_domain_unload_entry()
415 struct iommu_map_entry *entry, bool emit_wait) in iommu_qi_invalidate_locked()
475 struct iommu_map_entry *entry, *head; in iommu_qi_drain_tlb_flush()
479 entry = (struct iommu_map_entry *) in iommu_qi_drain_tlb_flush()
671 iommu_domain_free_entry(struct iommu_map_entry *entry, bool free) in iommu_domain_free_entry()
773 iommu_db_print_domain_entry(const struct iommu_map_entry *entry) in iommu_db_print_domain_entry()
775 struct iommu_map_entry *l, *r; in iommu_db_print_domain_entry()
823 struct iommu_map_entry *entry; in iommu_db_domain_print_mappings()
H A Dintel_idpgtbl.c74 struct iommu_map_entry *entry);
398 struct iommu_map_entry *entry) in dmar_map_buf_locked()
474 dmar_map_buf(struct iommu_domain *iodom, struct iommu_map_entry *entry, in dmar_map_buf()
548 struct sf_buf **sf, struct iommu_map_entry *entry, bool free_fs);
552 int lvl, int flags, struct iommu_map_entry *entry) in dmar_free_pgtbl_pde()
567 struct iommu_map_entry *entry, bool free_sf) in dmar_unmap_clear_pte()
595 iommu_gaddr_t size, int flags, struct iommu_map_entry *entry) in dmar_unmap_buf_locked()
666 dmar_unmap_buf(struct iommu_domain *iodom, struct iommu_map_entry *entry, in dmar_unmap_buf()
H A Damd_ctx.c84 amdiommu_domain_unload_entry(struct iommu_map_entry *entry, bool free, in amdiommu_domain_unload_entry()
111 struct iommu_map_entry *entry) in amdiommu_domain_unload_emit_wait()
122 struct iommu_map_entry *entry, *entry1; in amdiommu_domain_unload()
H A Dintel_ctx.c218 struct iommu_map_entry *entry, *entry1; in domain_init_rmrr()
830 dmar_domain_unload_entry(struct iommu_map_entry *entry, bool free, in dmar_domain_unload_entry()
864 struct iommu_map_entry *entry) in dmar_domain_unload_emit_wait()
878 struct iommu_map_entry *entry, *entry1; in dmar_domain_unload()
H A Dintel_dmar.h212 struct iommu_map_entry *entry, bool emit_wait);
243 void dmar_domain_unload_entry(struct iommu_map_entry *entry, bool free,
H A Damd_iommu.h212 void amdiommu_domain_unload_entry(struct iommu_map_entry *entry, bool free,
H A Dintel_drv.c899 struct iommu_map_entry *entry;
/freebsd/sys/arm64/iommu/
H A Diommu.c84 struct iommu_map_entry *entry, int flags) in iommu_domain_unmap_buf()
96 iommu_domain_map_buf(struct iommu_domain *iodom, struct iommu_map_entry *entry, in iommu_domain_map_buf()
394 iommu_domain_free_entry(struct iommu_map_entry *entry, bool free) in iommu_domain_free_entry()
408 struct iommu_map_entry *entry, *entry1; in iommu_domain_unload()
496 iommu_domain_unload_entry(struct iommu_map_entry *entry, bool free, in iommu_domain_unload_entry()
/freebsd/sys/riscv/iommu/
H A Diommu_frontend.c76 struct iommu_map_entry *entry, int flags) in iommu_domain_unmap_buf()
88 iommu_domain_map_buf(struct iommu_domain *iodom, struct iommu_map_entry *entry, in iommu_domain_map_buf()
387 iommu_domain_free_entry(struct iommu_map_entry *entry, bool free) in iommu_domain_free_entry()
401 struct iommu_map_entry *entry, *entry1; in iommu_domain_unload()
489 iommu_domain_unload_entry(struct iommu_map_entry *entry, bool free, in iommu_domain_unload_entry()