Home
last modified time | relevance | path

Searched refs:iommu_ctx (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/dev/iommu/
H A Diommu.h120 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 Diommu_msi.h38 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 Dbusdma_iommu.c229 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 Dbusdma_iommu.h39 struct iommu_ctx *ctx;
H A Diommu_gas.c228 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 Diommu.c185 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 Diommu_if.m111 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 Diommu.h41 struct iommu_ctx * iommu_get_ctx_ofw(device_t dev, int channel);
H A Dsmmuvar.h63 struct iommu_ctx ioctx;
H A Dsmmu.c1806 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 Dintel_ctx.c949 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 Dintel_dmar.h74 struct iommu_ctx context;
/freebsd/sys/arm64/arm64/
H A Dgicv3_its.c1735 struct iommu_ctx *ctx; in gicv3_iommu_init()
1753 struct iommu_ctx *ctx; in gicv3_iommu_deinit()