Lines Matching refs:rqs
21 struct hw_rq *rqs[EFCT_HW_MAX_NUM_EQ]; in efct_hw_init_queues() local
79 if (efct_hw_new_rq_set(cqs, rqs, i, EFCT_HW_RQ_ENTRIES_DEF)) { in efct_hw_init_queues()
85 rqs[j]->filter_mask = 0; in efct_hw_init_queues()
86 rqs[j]->is_mrq = true; in efct_hw_init_queues()
87 rqs[j]->base_mrq_id = rqs[0]->hdr->id; in efct_hw_init_queues()
310 efct_hw_new_rq_set(struct hw_cq *cqs[], struct hw_rq *rqs[], in efct_hw_new_rq_set() argument
320 rqs[i] = NULL; in efct_hw_new_rq_set()
331 rqs[i] = rq; in efct_hw_new_rq_set()
356 rqs[0]->entry_count, in efct_hw_new_rq_set()
357 rqs[0]->hdr_entry_size, in efct_hw_new_rq_set()
358 rqs[0]->data_entry_size)) { in efct_hw_new_rq_set()
365 hw->hw_rq[rqs[i]->instance] = rqs[i]; in efct_hw_new_rq_set()
366 INIT_LIST_HEAD(&rqs[i]->list_entry); in efct_hw_new_rq_set()
367 list_add_tail(&rqs[i]->list_entry, &cqs[i]->q_list); in efct_hw_new_rq_set()
368 size = sizeof(struct efc_hw_sequence *) * rqs[i]->entry_count; in efct_hw_new_rq_set()
369 rqs[i]->rq_tracker = kzalloc(size, GFP_KERNEL); in efct_hw_new_rq_set()
370 if (!rqs[i]->rq_tracker) in efct_hw_new_rq_set()
378 if (rqs[i]) { in efct_hw_new_rq_set()
379 kfree(rqs[i]->rq_tracker); in efct_hw_new_rq_set()
380 kfree(rqs[i]); in efct_hw_new_rq_set()