Lines Matching refs:host_index

142 	uint32_t host_index;  in lpfc_sli4_wq_put()  local
151 temp_wqe = lpfc_sli4_qe(q, q->host_index); in lpfc_sli4_wq_put()
154 idx = ((q->host_index + 1) % q->entry_count); in lpfc_sli4_wq_put()
161 if (!((q->host_index + 1) % q->notify_interval)) in lpfc_sli4_wq_put()
185 host_index = q->host_index; in lpfc_sli4_wq_put()
187 q->host_index = idx; in lpfc_sli4_wq_put()
208 host_index); in lpfc_sli4_wq_put()
271 temp_mqe = lpfc_sli4_qe(q, q->host_index); in lpfc_sli4_mq_put()
274 if (((q->host_index + 1) % q->entry_count) == q->hba_index) in lpfc_sli4_mq_put()
281 q->host_index = ((q->host_index + 1) % q->entry_count); in lpfc_sli4_mq_put()
331 eqe = lpfc_sli4_qe(q, q->host_index); in lpfc_sli4_eq_get()
462 eq->host_index = ((eq->host_index + 1) % eq->entry_count); in __lpfc_sli4_consume_eqe()
465 if (phba->sli4_hba.pc_sli4_params.eqav && !eq->host_index) in __lpfc_sli4_consume_eqe()
545 cqe = lpfc_sli4_qe(q, q->host_index); in lpfc_sli4_cq_get()
570 cq->host_index = ((cq->host_index + 1) % cq->entry_count); in __lpfc_sli4_consume_cqe()
573 if (phba->sli4_hba.pc_sli4_params.cqav && !cq->host_index) in __lpfc_sli4_consume_cqe()
665 hq_put_index = hq->host_index; in lpfc_sli4_rq_put()
666 dq_put_index = dq->host_index; in lpfc_sli4_rq_put()
681 hq->host_index = ((hq_put_index + 1) % hq->entry_count); in lpfc_sli4_rq_put()
682 dq->host_index = ((dq_put_index + 1) % dq->entry_count); in lpfc_sli4_rq_put()
686 if (!(hq->host_index % hq->notify_interval)) { in lpfc_sli4_rq_put()
696 hq->host_index); in lpfc_sli4_rq_put()
7123 hrq->host_index, in lpfc_post_rq_buffer()
7126 drq->host_index, in lpfc_post_rq_buffer()
14688 eq->host_index = 0; in lpfc_eq_create()
14829 cq->host_index = 0; in lpfc_cq_create()
15041 cq->host_index = 0; in lpfc_cq_create_set()
15294 mq->host_index = 0; in lpfc_mq_create()
15559 wq->host_index = 0; in lpfc_wq_create()
15753 hrq->host_index = 0; in lpfc_rq_create()
15846 drq->host_index = 0; in lpfc_rq_create()
16004 hrq->host_index = 0; in lpfc_mrq_create()
16013 drq->host_index = 0; in lpfc_mrq_create()