Searched refs:iommu_ctx (Results 1 – 13 of 13) sorted by relevance
/freebsd/sys/dev/iommu/ |
H A D | iommu.h | 120 struct iommu_ctx { struct 151 void iommu_free_ctx(struct iommu_ctx *ctx); 152 void iommu_free_ctx_locked(struct iommu_unit *iommu, struct iommu_ctx *ctx); 153 struct iommu_ctx *iommu_get_ctx(struct iommu_unit *, device_t dev, 161 struct iommu_ctx *iommu_instantiate_ctx(struct iommu_unit *iommu, 197 struct iommu_ctx *iommu_get_dev_ctx(device_t dev); 198 struct iommu_domain *iommu_get_ctx_domain(struct iommu_ctx *ctx);
|
H A D | iommu_msi.h | 38 struct iommu_ctx; 41 int iommu_map_msi(struct iommu_ctx *ctx, iommu_gaddr_t size, int offset, 43 void iommu_unmap_msi(struct iommu_ctx *ctx);
|
H A D | busdma_iommu.c | 229 struct iommu_ctx * 233 struct iommu_ctx *ctx; in iommu_instantiate_ctx() 269 struct iommu_ctx * 292 struct iommu_ctx *ctx; in iommu_get_dma_tag() 550 struct iommu_ctx *ctx; in iommu_bus_dmamap_load_something1() 636 struct iommu_ctx *ctx; in iommu_bus_dmamap_load_something() 848 struct iommu_ctx *ctx; in iommu_bus_dmamap_unload() 998 struct iommu_ctx *ctx; in bus_dma_iommu_load_ident()
|
H A D | busdma_iommu.h | 39 struct iommu_ctx *ctx;
|
H A D | iommu_gas.c | 228 iommu_get_ctx_domain(struct iommu_ctx *ctx) in iommu_get_ctx_domain() 972 iommu_unmap_msi(struct iommu_ctx *ctx) in iommu_unmap_msi() 995 iommu_map_msi(struct iommu_ctx *ctx, iommu_gaddr_t size, int offset, in iommu_map_msi()
|
/freebsd/sys/arm64/iommu/ |
H A D | iommu.c | 185 static struct iommu_ctx * 189 struct iommu_ctx *ioctx; in iommu_ctx_alloc() 203 iommu_ctx_init(device_t requester, struct iommu_ctx *ioctx) in iommu_ctx_init() 248 struct iommu_ctx * 253 struct iommu_ctx *ioctx; in iommu_get_ctx_ofw() 335 struct iommu_ctx * 340 struct iommu_ctx *ioctx; in iommu_get_ctx() 376 iommu_free_ctx_locked(struct iommu_unit *iommu, struct iommu_ctx *ioctx) in iommu_free_ctx_locked() 390 iommu_free_ctx(struct iommu_ctx *ioctx) in iommu_free_ctx()
|
H A D | iommu_if.m | 111 METHOD struct iommu_ctx * ctx_lookup { 119 METHOD struct iommu_ctx * ctx_alloc { 131 struct iommu_ctx *ioctx; struct 139 struct iommu_ctx *ioctx; struct 148 struct iommu_ctx *ioctx; struct
|
H A D | iommu.h | 41 struct iommu_ctx * iommu_get_ctx_ofw(device_t dev, int channel);
|
H A D | smmuvar.h | 63 struct iommu_ctx ioctx;
|
H A D | smmu.c | 1806 static struct iommu_ctx * 1829 smmu_ctx_init(device_t dev, struct iommu_ctx *ioctx) in smmu_ctx_init() 1881 smmu_ctx_free(device_t dev, struct iommu_ctx *ioctx) in smmu_ctx_free() 1920 static struct iommu_ctx * 1972 smmu_ofw_md_data(device_t dev, struct iommu_ctx *ioctx, pcell_t *cells, in smmu_ofw_md_data()
|
/freebsd/sys/x86/iommu/ |
H A D | intel_ctx.c | 949 struct iommu_ctx * 964 iommu_free_ctx_locked(struct iommu_unit *iommu, struct iommu_ctx *context) in iommu_free_ctx_locked() 976 iommu_free_ctx(struct iommu_ctx *context) in iommu_free_ctx()
|
H A D | intel_dmar.h | 74 struct iommu_ctx context;
|
/freebsd/sys/arm64/arm64/ |
H A D | gicv3_its.c | 1735 struct iommu_ctx *ctx; in gicv3_iommu_init() 1753 struct iommu_ctx *ctx; in gicv3_iommu_deinit()
|