Searched refs:cqinfo (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/crypto/cavium/cpt/ |
H A D | cptvf_main.c | 167 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() 181 hlist_for_each_entry_safe(chunk, node, &cqinfo->queue[i].chead, in free_command_queues() 197 cqinfo->cmd_size = 0; in free_command_queues() 201 struct command_qinfo *cqinfo, size_t cmd_size, in alloc_command_queues() argument 210 cqinfo->cmd_size = cmd_size; in alloc_command_queues() 212 cptvf->qsize = min(qlen, cqinfo->qchunksize) * 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() [all …]
|
H A D | cptvf.h | 111 struct command_qinfo cqinfo; /* Command queue information */ member
|
/linux/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_main.c | 156 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() 203 qcsize_bytes = cqinfo->qchunksize * OTX_CPT_INST_SIZE; 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() [all …]
|
H A D | otx_cptvf.h | 88 struct otx_cpt_cmd_qinfo cqinfo; /* Command queue information */ member
|
H A D | otx_cptvf_reqmgr.c | 270 struct otx_cpt_cmd_qinfo *qinfo = &cptvf->cqinfo; in cpt_send_cmd()
|