Lines Matching full:scheduler
61 job->scheduler); in rga_set_mmu_base()
69 job->scheduler); in rga_set_mmu_base()
77 job->scheduler); in rga_set_mmu_base()
90 job->scheduler); in rga_set_mmu_base()
239 struct rga_scheduler_t *scheduler = (struct rga_scheduler_t *)arg; in rga_iommu_intr_fault_handler() local
240 struct rga_job *job = scheduler->running_job; in rga_iommu_intr_fault_handler()
246 if (scheduler->ops->irq) in rga_iommu_intr_fault_handler()
247 scheduler->ops->irq(scheduler); in rga_iommu_intr_fault_handler()
252 scheduler->ops->soft_reset(scheduler); in rga_iommu_intr_fault_handler()
336 struct rga_scheduler_t *scheduler = NULL; in rga_iommu_bind() local
343 scheduler = rga_drvdata->scheduler[i]; in rga_iommu_bind()
345 switch (scheduler->data->mmu) { in rga_iommu_bind()
347 if (scheduler->iommu_info == NULL) in rga_iommu_bind()
351 main_iommu = scheduler->iommu_info; in rga_iommu_bind()
355 (void *)scheduler); in rga_iommu_bind()
357 scheduler->iommu_info->domain = main_iommu->domain; in rga_iommu_bind()
358 scheduler->iommu_info->default_dev = main_iommu->default_dev; in rga_iommu_bind()
359 rga_iommu_attach(scheduler->iommu_info); in rga_iommu_bind()
370 dev_err(scheduler->dev, "rga mmu base init failed!\n"); in rga_iommu_bind()
390 * The scheduler core with IOMMU will be used preferentially as the in rga_iommu_bind()
403 pr_err("%s, binding map scheduler failed!\n", __func__); in rga_iommu_bind()
408 rga_drvdata->scheduler[rga_drvdata->map_scheduler_index]->core); in rga_iommu_bind()
418 if (rga_drvdata->scheduler[i]->iommu_info != NULL) in rga_iommu_unbind()
419 rga_iommu_detach(rga_drvdata->scheduler[i]->iommu_info); in rga_iommu_unbind()