Searched refs:pqinfo (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/crypto/cavium/cpt/ |
H A D | cptvf_reqmanager.c | 37 struct pending_queue *queue = &pqinfo->queue[qno]; in pending_queue_inc_front() 40 if (unlikely(queue->front == pqinfo->qlen)) in pending_queue_inc_front() 325 struct pending_qinfo *pqinfo, in process_pending_queue() argument 329 struct pending_queue *pqueue = &pqinfo->queue[qno]; in process_pending_queue() 346 pending_queue_inc_front(pqinfo, qno); in process_pending_queue() 362 pending_queue_inc_front(pqinfo, qno); in process_pending_queue() 376 pending_queue_inc_front(pqinfo, qno); in process_pending_queue() 394 pending_queue_inc_front(pqinfo, qno); in process_pending_queue() 476 pqueue = &cptvf->pqinfo.queue[queue]; in process_request() 480 process_pending_queue(cptvf, &cptvf->pqinfo, queue); in process_request() [all …]
|
H A D | cptvf_main.c | 81 static void free_pending_queues(struct pending_qinfo *pqinfo) in free_pending_queues() argument 86 for_each_pending_queue(pqinfo, queue, i) { in free_pending_queues() 99 pqinfo->qlen = 0; in free_pending_queues() 100 pqinfo->nr_queues = 0; in free_pending_queues() 103 static int alloc_pending_queues(struct pending_qinfo *pqinfo, u32 qlen, in alloc_pending_queues() argument 110 pqinfo->nr_queues = nr_queues; in alloc_pending_queues() 111 pqinfo->qlen = qlen; in alloc_pending_queues() 113 for_each_pending_queue(pqinfo, queue, i) { in alloc_pending_queues() 131 free_pending_queues(pqinfo); in alloc_pending_queues() 144 ret = alloc_pending_queues(&cptvf->pqinfo, qlen, nr_queues); in init_pending_queues() [all …]
|
H A D | cptvf.h | 112 struct pending_qinfo pqinfo; /* Pending queue information */ member
|
/openbmc/linux/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_main.c | 75 static void free_pending_queues(struct otx_cpt_pending_qinfo *pqinfo) in free_pending_queues() argument 80 for_each_pending_queue(pqinfo, queue, i) { in free_pending_queues() 90 pqinfo->num_queues = 0; in free_pending_queues() 93 static int alloc_pending_queues(struct otx_cpt_pending_qinfo *pqinfo, u32 qlen, in alloc_pending_queues() argument 100 pqinfo->num_queues = num_queues; in alloc_pending_queues() 102 for_each_pending_queue(pqinfo, queue, i) { in alloc_pending_queues() 120 free_pending_queues(pqinfo); in alloc_pending_queues() 134 ret = alloc_pending_queues(&cptvf->pqinfo, qlen, num_queues); in init_pending_queues() 152 free_pending_queues(&cptvf->pqinfo); in cleanup_pending_queues()
|
H A D | otx_cptvf.h | 89 struct otx_cpt_pending_qinfo pqinfo; /* Pending queue information */ member
|
H A D | otx_cptvf_reqmgr.c | 425 return process_request(pdev, req, &cptvf->pqinfo.queue[0], cptvf); in otx_cpt_do_request() 608 process_pending_queue(wqe->cptvf->pdev, &wqe->cptvf->pqinfo.queue[0]); in otx_cpt_post_process()
|