Lines Matching refs: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' */
1673 /* Check which event happened i.e, thread notified */
1799 /* If the event is valid and was held by the thread */
2053 ret = pl330_submit_req(pch->thread, desc);
2090 spin_lock(&pch->thread->dmac->lock);
2091 _stop(pch->thread);
2092 spin_unlock(&pch->thread->dmac->lock);
2096 /* Make sure the PL330 Channel thread is active */
2097 spin_lock(&pch->thread->dmac->lock);
2098 pl330_start_thread(pch->thread);
2099 spin_unlock(&pch->thread->dmac->lock);
2115 spin_lock(&pch->thread->dmac->lock);
2116 pl330_start_thread(pch->thread);
2117 spin_unlock(&pch->thread->dmac->lock);
2173 pch->thread = pl330_request_channel(pl330);
2174 if (!pch->thread) {
2292 _stop(pch->thread);
2293 pch->thread->req[0].desc = NULL;
2294 pch->thread->req[1].desc = NULL;
2295 pch->thread->req_running = -1;
2342 _stop(pch->thread);
2367 pl330_release_channel(pch->thread);
2368 pch->thread = NULL;
2382 struct pl330_thread *thrd = pch->thread;
2425 spin_lock(&pch->thread->dmac->lock);
2427 if (pch->thread->req_running != -1)
2428 running = pch->thread->req[pch->thread->req_running].desc;
2430 last_enq = pch->thread->req[pch->thread->lstenq].desc;
2471 spin_unlock(&pch->thread->dmac->lock);
2940 if (!pch->thread || thrd->id != pch->thread->id)
3114 pch->thread = NULL;
3194 if (pch->thread) {
3237 if (pch->thread) {