Lines Matching refs:pentry

77 static inline void free_pentry(struct otx2_cpt_pending_entry *pentry)  in free_pentry()  argument
79 pentry->completion_addr = NULL; in free_pentry()
80 pentry->info = NULL; in free_pentry()
81 pentry->callback = NULL; in free_pentry()
82 pentry->areq = NULL; in free_pentry()
83 pentry->resume_sender = false; in free_pentry()
84 pentry->busy = false; in free_pentry()
235 struct otx2_cpt_pending_entry *pentry = NULL; in process_request() local
261 pentry = get_free_pending_entry(pqueue, pqueue->qlen); in process_request()
263 while (unlikely(!pentry) && retry--) { in process_request()
267 pentry = get_free_pending_entry(pqueue, pqueue->qlen); in process_request()
270 if (unlikely(!pentry)) { in process_request()
282 pentry->resume_sender = true; in process_request()
284 pentry->resume_sender = false; in process_request()
285 resume_sender = pentry->resume_sender; in process_request()
288 pentry->completion_addr = info->completion_addr; in process_request()
289 pentry->info = info; in process_request()
290 pentry->callback = req->callback; in process_request()
291 pentry->areq = req->areq; in process_request()
292 pentry->busy = true; in process_request()
293 info->pentry = pentry; in process_request()
436 struct otx2_cpt_pending_entry *pentry = NULL; in process_pending_queue() local
446 pentry = &pqueue->head[pqueue->front]; in process_pending_queue()
448 if (WARN_ON(!pentry)) { in process_pending_queue()
454 if (unlikely(!pentry->busy)) { in process_pending_queue()
459 if (unlikely(!pentry->callback)) { in process_pending_queue()
464 info = pentry->info; in process_pending_queue()
476 cpt_status = pentry->completion_addr; in process_pending_queue()
515 callback = pentry->callback; in process_pending_queue()
516 areq = pentry->areq; in process_pending_queue()
517 free_pentry(pentry); in process_pending_queue()