Home
last modified time | relevance | path

Searched refs:pqinfo (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/drivers/crypto/cavium/cpt/
Dcptvf_reqmanager.c34 static inline void pending_queue_inc_front(struct pending_qinfo *pqinfo, in pending_queue_inc_front() argument
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()
329 struct pending_qinfo *pqinfo, in process_pending_queue() argument
333 struct pending_queue *pqueue = &pqinfo->queue[qno]; in process_pending_queue()
350 pending_queue_inc_front(pqinfo, qno); in process_pending_queue()
366 pending_queue_inc_front(pqinfo, qno); in process_pending_queue()
380 pending_queue_inc_front(pqinfo, qno); in process_pending_queue()
398 pending_queue_inc_front(pqinfo, qno); in process_pending_queue()
480 pqueue = &cptvf->pqinfo.queue[queue]; in process_request()
[all …]
Dcptvf_main.c81 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
111 pqinfo->nr_queues = nr_queues; in alloc_pending_queues()
112 pqinfo->qlen = qlen; in alloc_pending_queues()
116 for_each_pending_queue(pqinfo, queue, i) { in alloc_pending_queues()
134 free_pending_queues(pqinfo); in alloc_pending_queues()
147 ret = alloc_pending_queues(&cptvf->pqinfo, qlen, nr_queues); in init_pending_queues()
[all …]
Dcptvf.h112 struct pending_qinfo pqinfo; /* Pending queue information */ member
/Linux-v5.10/drivers/crypto/marvell/octeontx/
Dotx_cptvf_main.c75 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
101 pqinfo->num_queues = num_queues; in alloc_pending_queues()
104 for_each_pending_queue(pqinfo, queue, i) { in alloc_pending_queues()
122 free_pending_queues(pqinfo); in alloc_pending_queues()
136 ret = alloc_pending_queues(&cptvf->pqinfo, qlen, num_queues); in init_pending_queues()
154 free_pending_queues(&cptvf->pqinfo); in cleanup_pending_queues()
Dotx_cptvf.h89 struct otx_cpt_pending_qinfo pqinfo; /* Pending queue information */ member
Dotx_cptvf_reqmgr.c425 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()