Lines Matching defs:hq
355 lpfc_sli4_rq_put(struct lpfc_queue *hq, struct lpfc_queue *dq,
358 struct lpfc_rqe *temp_hrqe = hq->qe[hq->host_index].rqe;
361 int put_index = hq->host_index;
363 if (hq->type != LPFC_HRQ || dq->type != LPFC_DRQ)
365 if (hq->host_index != dq->host_index)
368 if (((hq->host_index + 1) % hq->entry_count) == hq->hba_index)
370 lpfc_sli_pcimem_bcopy(hrqe, temp_hrqe, hq->entry_size);
374 hq->host_index = ((hq->host_index + 1) % hq->entry_count);
378 if (!(hq->host_index % LPFC_RQ_POST_BATCH)) {
382 bf_set(lpfc_rq_doorbell_id, &doorbell, hq->queue_id);
383 writel(doorbell.word0, hq->phba->sli4_hba.RQDBregaddr);
399 lpfc_sli4_rq_release(struct lpfc_queue *hq, struct lpfc_queue *dq)
401 if ((hq->type != LPFC_HRQ) || (dq->type != LPFC_DRQ))
403 hq->hba_index = ((hq->hba_index + 1) % hq->entry_count);