Lines Matching refs:dq
456 lpfc_sli4_rq_put(struct lpfc_queue *hq, struct lpfc_queue *dq, in lpfc_sli4_rq_put() argument
465 if (unlikely(!hq) || unlikely(!dq)) in lpfc_sli4_rq_put()
469 temp_drqe = dq->qe[dq->host_index].rqe; in lpfc_sli4_rq_put()
471 if (hq->type != LPFC_HRQ || dq->type != LPFC_DRQ) in lpfc_sli4_rq_put()
473 if (hq->host_index != dq->host_index) in lpfc_sli4_rq_put()
479 lpfc_sli_pcimem_bcopy(drqe, temp_drqe, dq->entry_size); in lpfc_sli4_rq_put()
483 dq->host_index = ((dq->host_index + 1) % dq->entry_count); in lpfc_sli4_rq_put()
517 lpfc_sli4_rq_release(struct lpfc_queue *hq, struct lpfc_queue *dq) in lpfc_sli4_rq_release() argument
520 if (unlikely(!hq) || unlikely(!dq)) in lpfc_sli4_rq_release()
523 if ((hq->type != LPFC_HRQ) || (dq->type != LPFC_DRQ)) in lpfc_sli4_rq_release()
526 dq->hba_index = ((dq->hba_index + 1) % dq->entry_count); in lpfc_sli4_rq_release()