Lines Matching refs:qlen
88 queue->qlen = 0; in free_pending_queues()
93 static int alloc_pending_queues(struct otx_cpt_pending_qinfo *pqinfo, u32 qlen, in alloc_pending_queues() argument
102 size = (qlen * sizeof(struct otx_cpt_pending_entry)); in alloc_pending_queues()
114 queue->qlen = qlen; in alloc_pending_queues()
127 static int init_pending_queues(struct otx_cptvf *cptvf, u32 qlen, in init_pending_queues() argument
136 ret = alloc_pending_queues(&cptvf->pqinfo, qlen, num_queues); in init_pending_queues()
189 u32 qlen) in alloc_command_queues() argument
200 cptvf->qsize = min(qlen, cqinfo->qchunksize) * in alloc_command_queues()
203 q_size = qlen * OTX_CPT_INST_SIZE; in alloc_command_queues()
265 static int init_command_queues(struct otx_cptvf *cptvf, u32 qlen) in init_command_queues() argument
271 ret = alloc_command_queues(cptvf, &cptvf->cqinfo, qlen); in init_command_queues()
299 static int cptvf_sw_init(struct otx_cptvf *cptvf, u32 qlen, u32 num_queues) in cptvf_sw_init() argument
310 ret = init_command_queues(cptvf, qlen); in cptvf_sw_init()
317 ret = init_pending_queues(cptvf, qlen, num_queues); in cptvf_sw_init()