Lines Matching defs:thread
444 * Hardware channel thread of PL330 DMAC. NULL if the channel is
447 struct pl330_thread *thread;
490 /* Pointer to the MANAGER thread */
569 /* If manager of the thread is in Non-Secure mode */
1000 /* Start doing req 'idx' of thread 'thrd' */
1675 /* Check which event happened i.e, thread notified */
1801 /* If the event is valid and was held by the thread */
2055 ret = pl330_submit_req(pch->thread, desc);
2092 spin_lock(&pch->thread->dmac->lock);
2093 _stop(pch->thread);
2094 spin_unlock(&pch->thread->dmac->lock);
2098 /* Make sure the PL330 Channel thread is active */
2099 spin_lock(&pch->thread->dmac->lock);
2100 pl330_start_thread(pch->thread);
2101 spin_unlock(&pch->thread->dmac->lock);
2117 spin_lock(&pch->thread->dmac->lock);
2118 pl330_start_thread(pch->thread);
2119 spin_unlock(&pch->thread->dmac->lock);
2175 pch->thread = pl330_request_channel(pl330);
2176 if (!pch->thread) {
2294 _stop(pch->thread);
2295 pch->thread->req[0].desc = NULL;
2296 pch->thread->req[1].desc = NULL;
2297 pch->thread->req_running = -1;
2344 _stop(pch->thread);
2369 pl330_release_channel(pch->thread);
2370 pch->thread = NULL;
2384 struct pl330_thread *thrd = pch->thread;
2427 spin_lock(&pch->thread->dmac->lock);
2429 if (pch->thread->req_running != -1)
2430 running = pch->thread->req[pch->thread->req_running].desc;
2432 last_enq = pch->thread->req[pch->thread->lstenq].desc;
2473 spin_unlock(&pch->thread->dmac->lock);
2946 if (!pch->thread || thrd->id != pch->thread->id)
3120 pch->thread = NULL;
3200 if (pch->thread) {
3243 if (pch->thread) {