Lines Matching refs:cqs
20 struct hw_cq *cqs[EFCT_HW_MAX_NUM_EQ]; in efct_hw_init_queues() local
73 if (efct_hw_new_cq_set(eqs, cqs, i, hw->num_qentries[SLI4_QTYPE_CQ])) { in efct_hw_init_queues()
79 if (efct_hw_new_rq_set(cqs, rqs, i, EFCT_HW_RQ_ENTRIES_DEF)) { in efct_hw_init_queues()
192 efct_hw_new_cq_set(struct hw_eq *eqs[], struct hw_cq *cqs[], in efct_hw_new_cq_set() argument
204 cqs[i] = NULL; in efct_hw_new_cq_set()
211 cqs[i] = cq; in efct_hw_new_cq_set()
228 hw->hw_cq[cqs[i]->instance] = cqs[i]; in efct_hw_new_cq_set()
229 INIT_LIST_HEAD(&cqs[i]->list_entry); in efct_hw_new_cq_set()
230 list_add_tail(&cqs[i]->list_entry, &cqs[i]->eq->cq_list); in efct_hw_new_cq_set()
237 kfree(cqs[i]); in efct_hw_new_cq_set()
238 cqs[i] = NULL; in efct_hw_new_cq_set()
310 efct_hw_new_rq_set(struct hw_cq *cqs[], struct hw_rq *rqs[], in efct_hw_new_rq_set() argument
313 struct efct_hw *hw = cqs[0]->eq->hw; in efct_hw_new_rq_set()
333 rq->cq = cqs[i]; in efct_hw_new_rq_set()
355 cqs[0]->queue->id, in efct_hw_new_rq_set()
360 cqs[0]->queue->id); in efct_hw_new_rq_set()
367 list_add_tail(&rqs[i]->list_entry, &cqs[i]->q_list); in efct_hw_new_rq_set()