Home
last modified time | relevance | path

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

/linux/drivers/scsi/csiostor/
A Dcsio_lnode.c1442 csio_err(mgmtm->hw, in csio_ln_mgmt_wr_handler()
1444 mgmtm->stats.n_err++; in csio_ln_mgmt_wr_handler()
1454 csio_err(mgmtm->hw, in csio_ln_mgmt_wr_handler()
1457 mgmtm->stats.n_err++; in csio_ln_mgmt_wr_handler()
1462 mgmtm = csio_hw_to_mgmtm(hw); in csio_ln_mgmt_wr_handler()
1466 mgmtm->stats.n_active--; in csio_ln_mgmt_wr_handler()
1731 struct csio_hw *hw = mgmtm->hw; in csio_ln_mgmt_submit_wr()
1786 csio_wr_issue(mgmtm->hw, mgmtm->eq_idx, false); in csio_ln_mgmt_submit_wr()
1818 io_req->eq_idx = mgmtm->eq_idx; in csio_ln_mgmt_submit_req()
1819 io_req->iq_idx = mgmtm->iq_idx; in csio_ln_mgmt_submit_req()
[all …]
A Dcsio_hw.c4110 struct csio_mgmtm *mgmtm = from_timer(mgmtm, t, mgmt_timer); in csio_mgmt_tmo_handler() local
4116 spin_lock_irq(&mgmtm->hw->lock); in csio_mgmt_tmo_handler()
4137 if (!list_empty(&mgmtm->active_q)) in csio_mgmt_tmo_handler()
4138 mod_timer(&mgmtm->mgmt_timer, in csio_mgmt_tmo_handler()
4140 spin_unlock_irq(&mgmtm->hw->lock); in csio_mgmt_tmo_handler()
4146 struct csio_hw *hw = mgmtm->hw; in csio_mgmtm_cleanup()
4164 mgmtm->stats.n_active--; in csio_mgmtm_cleanup()
4192 INIT_LIST_HEAD(&mgmtm->active_q); in csio_mgmtm_init()
4193 INIT_LIST_HEAD(&mgmtm->cbfn_q); in csio_mgmtm_init()
4195 mgmtm->hw = hw; in csio_mgmtm_init()
[all …]
A Dcsio_init.c260 struct csio_mgmtm *mgmtm = csio_hw_to_mgmtm(hw); in csio_create_queues() local
286 rv = csio_wr_eq_create(hw, NULL, mgmtm->eq_idx, in csio_create_queues()
287 mgmtm->iq_idx, hw->pport[0].portid, NULL); in csio_create_queues()
339 struct csio_mgmtm *mgmtm = csio_hw_to_mgmtm(hw); in csio_config_queues() local
389 mgmtm->eq_idx = csio_wr_alloc_q(hw, CSIO_MGMT_EQSIZE, in csio_config_queues()
392 if (mgmtm->eq_idx == -1) { in csio_config_queues()
398 mgmtm->iq_idx = hw->fwevt_iq_idx; in csio_config_queues()
A Dcsio_hw.h477 struct csio_mgmtm mgmtm; /* management module */ member
595 #define csio_hw_to_mgmtm(hw) ((struct csio_mgmtm *)(&(hw)->mgmtm))

Completed in 18 milliseconds