Lines Matching refs:mccq
91 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
191 temp_wrb = (struct be_mcc_wrb *)queue_get_wrb(mccq, wrb_num); in __beiscsi_mcc_compl_status()
563 struct be_queue_info *mccq = &phba->ctrl.mcc_obj.q; in be_mcc_notify() local
567 val |= mccq->id & DB_MCCQ_RING_ID_MASK; in be_mcc_notify()
851 struct be_queue_info *mccq, in beiscsi_cmd_mccq_create() argument
856 struct be_dma_mem *q_mem = &mccq->dma_mem; in beiscsi_cmd_mccq_create()
882 be_encoded_q_len(mccq->len)); in beiscsi_cmd_mccq_create()
892 mccq->id = le16_to_cpu(resp->id); in beiscsi_cmd_mccq_create()
893 mccq->created = true; in beiscsi_cmd_mccq_create()