Lines Matching refs:pqueue
85 struct otx2_cpt_pending_queue *pqueue, in process_request() argument
114 spin_lock_bh(&pqueue->lock); in process_request()
115 pentry = get_free_pending_entry(pqueue, pqueue->qlen); in process_request()
118 spin_unlock_bh(&pqueue->lock); in process_request()
120 spin_lock_bh(&pqueue->lock); in process_request()
121 pentry = get_free_pending_entry(pqueue, pqueue->qlen); in process_request()
135 pqueue->pending_count > (pqueue->qlen - CPT_IQ_STOP_MARGIN)) { in process_request()
140 pqueue->pending_count++; in process_request()
185 spin_unlock_bh(&pqueue->lock); in process_request()
191 spin_unlock_bh(&pqueue->lock); in process_request()
202 return process_request(lfs->pdev, req, &lfs->lf[cpu_num].pqueue, in otx2_cpt_do_request()
286 struct otx2_cpt_pending_queue *pqueue) in process_pending_queue() argument
299 spin_lock_bh(&pqueue->lock); in process_pending_queue()
300 pentry = &pqueue->head[pqueue->front]; in process_pending_queue()
303 spin_unlock_bh(&pqueue->lock); in process_pending_queue()
309 spin_unlock_bh(&pqueue->lock); in process_pending_queue()
337 spin_unlock_bh(&pqueue->lock); in process_pending_queue()
348 resume_index = modulo_inc(pqueue->front, pqueue->qlen, in process_pending_queue()
350 resume_pentry = &pqueue->head[resume_index]; in process_pending_queue()
358 spin_unlock_bh(&pqueue->lock); in process_pending_queue()
365 spin_lock_bh(&pqueue->lock); in process_pending_queue()
373 pqueue->pending_count--; in process_pending_queue()
374 pqueue->front = modulo_inc(pqueue->front, pqueue->qlen, 1); in process_pending_queue()
375 spin_unlock_bh(&pqueue->lock); in process_pending_queue()
390 &wqe->lfs->lf[wqe->lf_num].pqueue); in otx2_cpt_post_process()