Searched refs:ioctx (Results 1 – 4 of 4) sorted by relevance
193 if (ioctx == NULL) in iommu_ctx_alloc()196 ioctx->domain = iodom; in iommu_ctx_alloc()198 return (ioctx); in iommu_ctx_alloc()219 tag->ctx = ioctx; in iommu_ctx_init()310 if (ioctx == NULL) { in iommu_get_ctx_ofw()330 return (ioctx); in iommu_get_ctx_ofw()344 if (ioctx) { in iommu_get_ctx()346 return (ioctx); in iommu_get_ctx()359 if (ioctx == NULL) { in iommu_get_ctx()371 return (ioctx); in iommu_get_ctx()[all …]
131 struct iommu_ctx *ioctx;139 struct iommu_ctx *ioctx;148 struct iommu_ctx *ioctx;
1831 return (&ctx->ioctx); in smmu_ctx_alloc()1835 smmu_ctx_init(device_t dev, struct iommu_ctx *ioctx) in smmu_ctx_init() argument1845 ctx = (struct smmu_ctx *)ioctx; in smmu_ctx_init()1858 ioctx->rid = pci_get_rid(dev); in smmu_ctx_init()1887 smmu_ctx_free(device_t dev, struct iommu_ctx *ioctx) in smmu_ctx_free() argument1892 IOMMU_ASSERT_LOCKED(ioctx->domain->iommu); in smmu_ctx_free()1895 ctx = (struct smmu_ctx *)ioctx; in smmu_ctx_free()1947 return (&ctx->ioctx); in smmu_ctx_lookup()1978 smmu_ofw_md_data(device_t dev, struct iommu_ctx *ioctx, pcell_t *cells, in smmu_ofw_md_data() argument1983 ctx = (struct smmu_ctx *)ioctx; in smmu_ofw_md_data()
63 struct iommu_ctx ioctx; member