Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/scsi/be2iscsi/
Dbe_cmds.c91 struct be_queue_info *mccq = &phba->ctrl.mcc_obj.q; in alloc_mcc_wrb() local
96 if (mccq->used == mccq->len) { in alloc_mcc_wrb()
100 mccq->used, phba->ctrl.mcc_tag_available); in alloc_mcc_wrb()
129 wrb = queue_head_node(mccq); in alloc_mcc_wrb()
132 wrb->tag0 |= (mccq->head << MCC_Q_WRB_IDX_SHIFT) & MCC_Q_WRB_IDX_MASK; in alloc_mcc_wrb()
133 queue_head_inc(mccq); in alloc_mcc_wrb()
134 mccq->used++; in alloc_mcc_wrb()
143 struct be_queue_info *mccq = &ctrl->mcc_obj.q; in free_mcc_wrb() local
153 mccq->used--; in free_mcc_wrb()
173 struct be_queue_info *mccq = &phba->ctrl.mcc_obj.q; in __beiscsi_mcc_compl_status() local
[all …]
Dbe_cmds.h813 struct be_queue_info *mccq,
/Linux-v6.6/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c121 struct be_queue_info *mccq = &adapter->mcc_obj.q; in be_mcc_notify() local
127 val |= mccq->id & DB_MCCQ_RING_ID_MASK; in be_mcc_notify()
844 struct be_queue_info *mccq = &adapter->mcc_obj.q; in wrb_from_mccq() local
847 if (!mccq->created) in wrb_from_mccq()
850 if (atomic_read(&mccq->used) >= mccq->len) in wrb_from_mccq()
853 wrb = queue_head_node(mccq); in wrb_from_mccq()
854 queue_head_inc(mccq); in wrb_from_mccq()
855 atomic_inc(&mccq->used); in wrb_from_mccq()
1237 struct be_queue_info *mccq, in be_cmd_mccq_ext_create() argument
1242 struct be_dma_mem *q_mem = &mccq->dma_mem; in be_cmd_mccq_ext_create()
[all …]
Dbe_cmds.h2399 int be_cmd_mccq_create(struct be_adapter *adapter, struct be_queue_info *mccq,