Lines Matching refs:host_index
100 uint32_t host_index; in lpfc_sli4_wq_put() local
106 temp_wqe = q->qe[q->host_index].wqe; in lpfc_sli4_wq_put()
109 idx = ((q->host_index + 1) % q->entry_count); in lpfc_sli4_wq_put()
116 if (!((q->host_index + 1) % q->entry_repost)) in lpfc_sli4_wq_put()
123 host_index = q->host_index; in lpfc_sli4_wq_put()
125 q->host_index = idx; in lpfc_sli4_wq_put()
131 bf_set(lpfc_wq_db_list_fm_index, &doorbell, host_index); in lpfc_sli4_wq_put()
194 temp_mqe = q->qe[q->host_index].mqe; in lpfc_sli4_mq_put()
197 if (((q->host_index + 1) % q->entry_count) == q->hba_index) in lpfc_sli4_mq_put()
204 q->host_index = ((q->host_index + 1) % q->entry_count); in lpfc_sli4_mq_put()
262 if (idx == q->host_index) in lpfc_sli4_eq_get()
325 while (q->hba_index != q->host_index) { in lpfc_sli4_eq_release()
326 temp_eqe = q->qe[q->host_index].eqe; in lpfc_sli4_eq_release()
329 q->host_index = ((q->host_index + 1) % q->entry_count); in lpfc_sli4_eq_release()
376 if (idx == q->host_index) in lpfc_sli4_cq_get()
421 while (q->hba_index != q->host_index) { in lpfc_sli4_cq_release()
422 temp_qe = q->qe[q->host_index].cqe; in lpfc_sli4_cq_release()
425 q->host_index = ((q->host_index + 1) % q->entry_count); in lpfc_sli4_cq_release()
467 put_index = hq->host_index; in lpfc_sli4_rq_put()
468 temp_hrqe = hq->qe[hq->host_index].rqe; in lpfc_sli4_rq_put()
469 temp_drqe = dq->qe[dq->host_index].rqe; in lpfc_sli4_rq_put()
473 if (hq->host_index != dq->host_index) in lpfc_sli4_rq_put()
476 if (((hq->host_index + 1) % hq->entry_count) == hq->hba_index) in lpfc_sli4_rq_put()
482 hq->host_index = ((hq->host_index + 1) % hq->entry_count); in lpfc_sli4_rq_put()
483 dq->host_index = ((dq->host_index + 1) % dq->entry_count); in lpfc_sli4_rq_put()
486 if (!(hq->host_index % hq->entry_repost)) { in lpfc_sli4_rq_put()
496 hq->host_index); in lpfc_sli4_rq_put()
13041 eq->host_index = 0; in lpfc_eq_create()
13167 cq->host_index = 0; in lpfc_cq_create()
13378 mq->host_index = 0; in lpfc_mq_create()
13584 wq->host_index = 0; in lpfc_wq_create()
13806 hrq->host_index = 0; in lpfc_rq_create()
13887 drq->host_index = 0; in lpfc_rq_create()