Lines Matching refs:cqinfo
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()
268 ret = alloc_command_queues(cptvf, &cptvf->cqinfo, qlen); in init_command_queues()
286 free_command_queues(cptvf, &cptvf->cqinfo); in cleanup_command_queues()
633 base_addr = (u64)(cptvf->cqinfo.queue[0].qhead->dma_addr); in cptvf_device_init()
845 cptvf->cqinfo.qchunksize = OTX_CPT_CMD_QCHUNK_SIZE; in otx_cptvf_probe()