Lines Matching refs:entry_count

355 hw_new_eq(ocs_hw_t *hw, uint32_t entry_count)  in hw_new_eq()  argument
362 eq->entry_count = entry_count; in hw_new_eq()
372 if (sli_queue_alloc(&hw->sli, SLI_QTYPE_EQ, eq->queue, entry_count, NULL, 0)) { in hw_new_eq()
381 eq->entry_count); in hw_new_eq()
399 hw_new_cq(hw_eq_t *eq, uint32_t entry_count) in hw_new_cq() argument
408 cq->entry_count = entry_count; in hw_new_cq()
413 if (sli_queue_alloc(&hw->sli, SLI_QTYPE_CQ, cq->queue, cq->entry_count, eq->queue, 0)) { in hw_new_cq()
416 eq->entry_count); in hw_new_cq()
423 cq->entry_count); in hw_new_cq()
440 hw_new_cq_set(hw_eq_t *eqs[], hw_cq_t *cqs[], uint32_t num_cqs, uint32_t entry_count) in hw_new_cq_set() argument
462 cq->entry_count = entry_count; in hw_new_cq_set()
469 if (sli_cq_alloc_set(sli4, qs, num_cqs, entry_count, assocs)) { in hw_new_cq_set()
502 hw_new_mq(hw_cq_t *cq, uint32_t entry_count) in hw_new_mq() argument
511 mq->entry_count = entry_count; in hw_new_mq()
526 mq->entry_count); in hw_new_mq()
545 hw_new_wq(hw_cq_t *cq, uint32_t entry_count, uint32_t class, uint32_t ulp) in hw_new_wq() argument
555 wq->entry_count = entry_count; in hw_new_wq()
560 wq->free_count = wq->entry_count - 1; in hw_new_wq()
564 if (sli_queue_alloc(&hw->sli, SLI_QTYPE_WQ, wq->queue, wq->entry_count, cq->queue, ulp)) { in hw_new_wq()
572 wq->entry_count, wq->class, wq->ulp); in hw_new_wq()
590 hw_new_rq(hw_cq_t *cq, uint32_t entry_count, uint32_t ulp) in hw_new_rq() argument
604 rq->entry_count = OCS_MIN(entry_count, OCS_MIN(max_hw_rq, OCS_HW_RQ_NUM_HDR)); in hw_new_rq()
612 rq->entry_count, in hw_new_rq()
623 rq->instance, rq->hdr->id, rq->entry_count, rq->hdr_entry_size, rq->ulp); in hw_new_rq()
631 rq->entry_count, in hw_new_rq()
642 rq->data->id, rq->entry_count, rq->data_entry_size, rq->ulp); in hw_new_rq()
648 rq->entry_count, OCS_M_ZERO | OCS_M_NOWAIT); in hw_new_rq()
672 hw_new_rq_set(hw_cq_t *cqs[], hw_rq_t *rqs[], uint32_t num_rq_pairs, uint32_t entry_count, uint32_t… in hw_new_rq_set() argument
696 rq->entry_count = OCS_MIN(entry_count, OCS_MIN(max_hw_rq, OCS_HW_RQ_NUM_HDR)); in hw_new_rq_set()
717 rqs[0]->entry_count, in hw_new_rq_set()
729 rqs[i]->entry_count, OCS_M_ZERO | OCS_M_NOWAIT); in hw_new_rq_set()
744 rqs[i]->entry_count); in hw_new_rq_set()
871 ocs_free(hw->os, rq->rq_tracker, sizeof(ocs_hw_sequence_t*) * rq->entry_count); in hw_del_rq()