Searched refs:mccq (Results 1 – 4 of 4) sorted by relevance
91 struct be_queue_info *mccq = &phba->ctrl.mcc_obj.q; in alloc_mcc_wrb() local96 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() local153 mccq->used--; in free_mcc_wrb()173 struct be_queue_info *mccq = &phba->ctrl.mcc_obj.q; in __beiscsi_mcc_compl_status() local[all …]
813 struct be_queue_info *mccq,
121 struct be_queue_info *mccq = &adapter->mcc_obj.q; in be_mcc_notify() local127 val |= mccq->id & DB_MCCQ_RING_ID_MASK; in be_mcc_notify()843 struct be_queue_info *mccq = &adapter->mcc_obj.q; in wrb_from_mccq() local846 if (!mccq->created) in wrb_from_mccq()849 if (atomic_read(&mccq->used) >= mccq->len) in wrb_from_mccq()852 wrb = queue_head_node(mccq); in wrb_from_mccq()853 queue_head_inc(mccq); in wrb_from_mccq()854 atomic_inc(&mccq->used); in wrb_from_mccq()1236 struct be_queue_info *mccq, in be_cmd_mccq_ext_create() argument1241 struct be_dma_mem *q_mem = &mccq->dma_mem; in be_cmd_mccq_ext_create()[all …]
2399 int be_cmd_mccq_create(struct be_adapter *adapter, struct be_queue_info *mccq,