Lines Matching refs:pentry

86 static inline void free_pentry(struct otx_cpt_pending_entry *pentry)  in free_pentry()  argument
88 pentry->completion_addr = NULL; in free_pentry()
89 pentry->info = NULL; in free_pentry()
90 pentry->callback = NULL; in free_pentry()
91 pentry->areq = NULL; in free_pentry()
92 pentry->resume_sender = false; in free_pentry()
93 pentry->busy = false; in free_pentry()
302 struct otx_cpt_pending_entry *pentry = NULL; in process_request() local
325 pentry = get_free_pending_entry(pqueue, pqueue->qlen); in process_request()
327 while (unlikely(!pentry) && retry--) { in process_request()
331 pentry = get_free_pending_entry(pqueue, pqueue->qlen); in process_request()
334 if (unlikely(!pentry)) { in process_request()
347 pentry->resume_sender = true; in process_request()
349 pentry->resume_sender = false; in process_request()
350 resume_sender = pentry->resume_sender; in process_request()
353 pentry->completion_addr = info->completion_addr; in process_request()
354 pentry->info = info; in process_request()
355 pentry->callback = req->callback; in process_request()
356 pentry->areq = req->areq; in process_request()
357 pentry->busy = true; in process_request()
358 info->pentry = pentry; in process_request()
509 struct otx_cpt_pending_entry *pentry = NULL; in process_pending_queue() local
518 pentry = &pqueue->head[pqueue->front]; in process_pending_queue()
520 if (WARN_ON(!pentry)) { in process_pending_queue()
526 if (unlikely(!pentry->busy)) { in process_pending_queue()
531 if (unlikely(!pentry->callback)) { in process_pending_queue()
536 cpt_info = pentry->info; in process_pending_queue()
548 cpt_status = (union otx_cpt_res_s *) pentry->completion_addr; in process_pending_queue()
588 callback = pentry->callback; in process_pending_queue()
589 areq = pentry->areq; in process_pending_queue()
590 free_pentry(pentry); in process_pending_queue()