Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/cavium/cpt/
H A Dcptvf_main.c167 struct command_qinfo *cqinfo) in free_command_queues() argument
177 queue = &cqinfo->queue[i]; in free_command_queues()
178 if (hlist_empty(&cqinfo->queue[i].chead)) in free_command_queues()
197 cqinfo->cmd_size = 0; in free_command_queues()
210 cqinfo->cmd_size = cmd_size; in alloc_command_queues()
215 q_size = qlen * cqinfo->cmd_size; in alloc_command_queues()
222 u32 qcsize_bytes = cqinfo->qchunksize * cqinfo->cmd_size; in alloc_command_queues()
224 queue = &cqinfo->queue[i]; in alloc_command_queues()
225 INIT_HLIST_HEAD(&cqinfo->queue[i].chead); in alloc_command_queues()
247 &cqinfo->queue[i].chead); in alloc_command_queues()
[all …]
H A Dcptvf.h111 struct command_qinfo cqinfo; /* Command queue information */ member
H A Dcptvf_reqmanager.c239 qinfo = &cptvf->cqinfo; in send_cpt_command()
/openbmc/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_main.c156 struct otx_cpt_cmd_qinfo *cqinfo) in free_command_queues() argument
165 queue = &cqinfo->queue[i]; in free_command_queues()
167 while (!list_empty(&cqinfo->queue[i].chead)) { in free_command_queues()
168 chunk = list_first_entry(&cqinfo->queue[i].chead, in free_command_queues()
186 struct otx_cpt_cmd_qinfo *cqinfo, in alloc_command_queues() argument
198 cptvf->qsize = min(qlen, cqinfo->qchunksize) * in alloc_command_queues()
211 queue = &cqinfo->queue[i]; in alloc_command_queues()
236 &cqinfo->queue[i].chead); in alloc_command_queues()
258 free_command_queues(cptvf, cqinfo); in alloc_command_queues()
286 free_command_queues(cptvf, &cptvf->cqinfo); in cleanup_command_queues()
[all …]
H A Dotx_cptvf.h88 struct otx_cpt_cmd_qinfo cqinfo; /* Command queue information */ member
H A Dotx_cptvf_reqmgr.c270 struct otx_cpt_cmd_qinfo *qinfo = &cptvf->cqinfo; in cpt_send_cmd()