• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/dev/ocs_fc/

Lines Matching refs:entry_count

352  * @param entry_count number of entries in the EQ
357 hw_new_eq(ocs_hw_t *hw, uint32_t entry_count)
364 eq->entry_count = entry_count;
374 if (sli_queue_alloc(&hw->sli, SLI_QTYPE_EQ, eq->queue, entry_count, NULL, 0)) {
383 eq->entry_count);
396 * @param entry_count number of entries in the CQ
401 hw_new_cq(hw_eq_t *eq, uint32_t entry_count)
410 cq->entry_count = entry_count;
415 if (sli_queue_alloc(&hw->sli, SLI_QTYPE_CQ, cq->queue, cq->entry_count, eq->queue, 0)) {
418 eq->entry_count);
425 cq->entry_count);
437 * @param entry_count number of entries in the CQ.
442 hw_new_cq_set(hw_eq_t *eqs[], hw_cq_t *cqs[], uint32_t num_cqs, uint32_t entry_count)
464 cq->entry_count = entry_count;
471 if (sli_cq_alloc_set(sli4, qs, num_cqs, entry_count, assocs)) {
499 * @param entry_count number of entries in the MQ
504 hw_new_mq(hw_cq_t *cq, uint32_t entry_count)
513 mq->entry_count = entry_count;
528 mq->entry_count);
540 * @param entry_count number of entries in the WQ
547 hw_new_wq(hw_cq_t *cq, uint32_t entry_count, uint32_t class, uint32_t ulp)
557 wq->entry_count = entry_count;
562 wq->free_count = wq->entry_count - 1;
566 if (sli_queue_alloc(&hw->sli, SLI_QTYPE_WQ, wq->queue, wq->entry_count, cq->queue, ulp)) {
574 wq->entry_count, wq->class, wq->ulp);
586 * @param entry_count number of entries in the RQs
592 hw_new_rq(hw_cq_t *cq, uint32_t entry_count, uint32_t ulp)
606 rq->entry_count = OCS_MIN(entry_count, OCS_MIN(max_hw_rq, OCS_HW_RQ_NUM_HDR));
614 rq->entry_count,
625 rq->instance, rq->hdr->id, rq->entry_count, rq->hdr_entry_size, rq->ulp);
633 rq->entry_count,
644 rq->data->id, rq->entry_count, rq->data_entry_size, rq->ulp);
650 rq->entry_count, OCS_M_ZERO | OCS_M_NOWAIT);
668 * @param entry_count number of entries in the RQs
674 hw_new_rq_set(hw_cq_t *cqs[], hw_rq_t *rqs[], uint32_t num_rq_pairs, uint32_t entry_count, uint32_t ulp)
698 rq->entry_count = OCS_MIN(entry_count, OCS_MIN(max_hw_rq, OCS_HW_RQ_NUM_HDR));
719 rqs[0]->entry_count,
731 rqs[i]->entry_count, OCS_M_ZERO | OCS_M_NOWAIT);
746 rqs[i]->entry_count);
873 ocs_free(hw->os, rq->rq_tracker, sizeof(ocs_hw_sequence_t*) * rq->entry_count);