Searched refs:submitted_jobs_xa (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/accel/ivpu/ |
D | ivpu_sysfs.c | 31 xa_lock(&vdev->submitted_jobs_xa); in npu_busy_time_us_show() 33 if (!xa_empty(&vdev->submitted_jobs_xa)) in npu_busy_time_us_show() 35 xa_unlock(&vdev->submitted_jobs_xa); in npu_busy_time_us_show()
|
D | ivpu_job.c | 472 xa_lock(&vdev->submitted_jobs_xa); in ivpu_job_remove_from_submitted_jobs() 473 job = __xa_erase(&vdev->submitted_jobs_xa, job_id); in ivpu_job_remove_from_submitted_jobs() 475 if (xa_empty(&vdev->submitted_jobs_xa) && job) { in ivpu_job_remove_from_submitted_jobs() 480 xa_unlock(&vdev->submitted_jobs_xa); in ivpu_job_remove_from_submitted_jobs() 514 xa_for_each(&vdev->submitted_jobs_xa, id, job) in ivpu_jobs_abort_all() 544 xa_lock(&vdev->submitted_jobs_xa); in ivpu_job_submit() 545 is_first_job = xa_empty(&vdev->submitted_jobs_xa); in ivpu_job_submit() 546 ret = __xa_alloc(&vdev->submitted_jobs_xa, &job->job_id, job, job_id_range, GFP_KERNEL); in ivpu_job_submit() 573 xa_unlock(&vdev->submitted_jobs_xa); in ivpu_job_submit() 583 __xa_erase(&vdev->submitted_jobs_xa, job->job_id); in ivpu_job_submit() [all …]
|
D | ivpu_drv.c | 604 xa_init_flags(&vdev->submitted_jobs_xa, XA_FLAGS_ALLOC1); in ivpu_dev_init() 606 lockdep_set_class(&vdev->submitted_jobs_xa.xa_lock, &submitted_jobs_xa_lock_class_key); in ivpu_dev_init() 678 xa_destroy(&vdev->submitted_jobs_xa); in ivpu_dev_init() 715 drm_WARN_ON(&vdev->drm, !xa_empty(&vdev->submitted_jobs_xa)); in ivpu_dev_fini() 716 xa_destroy(&vdev->submitted_jobs_xa); in ivpu_dev_fini()
|
D | ivpu_drv.h | 141 struct xarray submitted_jobs_xa; member
|
D | ivpu_pm.c | 243 drm_WARN_ON(&vdev->drm, !xa_empty(&vdev->submitted_jobs_xa)); in ivpu_pm_runtime_suspend_cb()
|