Home
last modified time | relevance | path

Searched refs:qtop (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/dev/ocs_fc/
H A Docs_hw_queues.c55 ocs_hw_init_queues(ocs_hw_t *hw, ocs_hw_qtop_t *qtop) in ocs_hw_init_queues() argument
118 ocs_hw_assert(qtop != NULL); in ocs_hw_init_queues()
120 for (i = 0, qt = qtop->entries; i < qtop->inuse_count; i++, qt++) { in ocs_hw_init_queues()
121 if (i == qtop->inuse_count - 1) in ocs_hw_init_queues()
1022 return hw->qtop->entry_counts[QTOP_EQ]; in ocs_hw_qtop_eq_count()
1373 tok_getnumber(ocs_hw_t *hw, ocs_hw_qtop_t *qtop, tok_t *tok) in tok_getnumber() argument
1392 } else if ((qtop->rptcount_idx > 0) && ocs_strcmp(tok->string, "$rpt0") == 0) { in tok_getnumber()
1393 rval = qtop->rptcount[qtop->rptcount_idx-1]; in tok_getnumber()
1394 } else if ((qtop->rptcount_idx > 1) && ocs_strcmp(tok->string, "$rpt1") == 0) { in tok_getnumber()
1395 rval = qtop->rptcount[qtop->rptcount_idx-2]; in tok_getnumber()
[all …]
H A Docs_hw_queues.h85 extern void ocs_hw_qtop_free(ocs_hw_qtop_t *qtop);
89 extern ocs_hw_rtn_e ocs_hw_init_queues(ocs_hw_t *hw, ocs_hw_qtop_t *qtop);
H A Docs_hw.h1064 ocs_hw_qtop_t *qtop; /**< pointer to queue topology */ member
H A Docs_hw.c476 hw->qtop = ocs_hw_qtop_parse(hw, hw->config.queue_topology); in ocs_hw_setup()
478 hw->config.n_eq = hw->qtop->entry_counts[QTOP_EQ]; in ocs_hw_setup()
479 hw->config.n_cq = hw->qtop->entry_counts[QTOP_CQ]; in ocs_hw_setup()
480 hw->config.n_rq = hw->qtop->entry_counts[QTOP_RQ]; in ocs_hw_setup()
481 hw->config.n_wq = hw->qtop->entry_counts[QTOP_WQ]; in ocs_hw_setup()
482 hw->config.n_mq = hw->qtop->entry_counts[QTOP_MQ]; in ocs_hw_setup()
737 rc = ocs_hw_init_queues(hw, hw->qtop); in ocs_hw_init()
1280 ocs_hw_qtop_free(hw->qtop); in ocs_hw_teardown()