Lines Matching refs:jobs
158 struct panfrost_job *job = pfdev->jobs[slot][0]; in panfrost_dequeue_job()
161 pfdev->jobs[slot][0] = pfdev->jobs[slot][1]; in panfrost_dequeue_job()
162 pfdev->jobs[slot][1] = NULL; in panfrost_dequeue_job()
174 if (!pfdev->jobs[slot][0]) { in panfrost_enqueue_job()
175 pfdev->jobs[slot][0] = job; in panfrost_enqueue_job()
179 WARN_ON(pfdev->jobs[slot][1]); in panfrost_enqueue_job()
180 pfdev->jobs[slot][1] = job; in panfrost_enqueue_job()
182 panfrost_get_job_chain_flag(pfdev->jobs[slot][0])); in panfrost_enqueue_job()
520 } else if (pfdev->jobs[j][0] && !(js_state & MK_JS_MASK(j))) { in panfrost_job_handle_irq()
547 if (!failed[j] || !pfdev->jobs[j][0]) in panfrost_job_handle_irq()
550 if (pfdev->jobs[j][0]->jc == 0) { in panfrost_job_handle_irq()
661 for (j = 0; j < ARRAY_SIZE(pfdev->jobs[0]) && pfdev->jobs[i][j]; j++) { in panfrost_reset()
666 memset(pfdev->jobs, 0, sizeof(pfdev->jobs)); in panfrost_reset()
881 for (j = ARRAY_SIZE(pfdev->jobs[0]) - 1; j >= 0; j--) { in panfrost_job_close()
882 struct panfrost_job *job = pfdev->jobs[i][j]; in panfrost_job_close()