Searched refs:ioctx (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/arm64/iommu/ |
H A D | iommu.c | 186 struct iommu_ctx *ioctx; in iommu_ctx_alloc() local 190 ioctx = IOMMU_CTX_ALLOC(iommu->dev, iodom, requester, disabled); in iommu_ctx_alloc() 191 if (ioctx == NULL) in iommu_ctx_alloc() 194 ioctx->domain = iodom; in iommu_ctx_alloc() 196 return (ioctx); in iommu_ctx_alloc() 200 iommu_ctx_init(device_t requester, struct iommu_ctx *ioctx) in iommu_ctx_init() argument 207 iodom = ioctx->domain; in iommu_ctx_init() 210 error = IOMMU_CTX_INIT(iommu->dev, ioctx); in iommu_ctx_init() 214 tag = ioctx->tag = malloc(sizeof(struct bus_dma_tag_iommu), in iommu_ctx_init() 217 tag->ctx = ioctx; in iommu_ctx_init() [all …]
|
H A D | iommu_if.m | 131 struct iommu_ctx *ioctx; 139 struct iommu_ctx *ioctx; 148 struct iommu_ctx *ioctx;
|
H A D | smmu.c | 1819 return (&ctx->ioctx); in smmu_ctx_alloc() 1823 smmu_ctx_init(device_t dev, struct iommu_ctx *ioctx) in smmu_ctx_init() argument 1833 ctx = (struct smmu_ctx *)ioctx; in smmu_ctx_init() 1846 ioctx->rid = pci_get_rid(dev); in smmu_ctx_init() 1875 smmu_ctx_free(device_t dev, struct iommu_ctx *ioctx) in smmu_ctx_free() argument 1880 IOMMU_ASSERT_LOCKED(ioctx->domain->iommu); in smmu_ctx_free() 1883 ctx = (struct smmu_ctx *)ioctx; in smmu_ctx_free() 1935 return (&ctx->ioctx); in smmu_ctx_lookup() 1966 smmu_ofw_md_data(device_t dev, struct iommu_ctx *ioctx, pcell_t *cells, in smmu_ofw_md_data() argument 1971 ctx = (struct smmu_ctx *)ioctx; in smmu_ofw_md_data()
|