Lines Matching refs:hba_index

110 	if (idx == q->hba_index) {  in lpfc_sli4_wq_put()
164 if (q->hba_index == index) in lpfc_sli4_wq_release()
167 q->hba_index = ((q->hba_index + 1) % q->entry_count); in lpfc_sli4_wq_release()
169 } while (q->hba_index != index); in lpfc_sli4_wq_release()
197 if (((q->host_index + 1) % q->entry_count) == q->hba_index) in lpfc_sli4_mq_put()
233 q->hba_index = ((q->hba_index + 1) % q->entry_count); in lpfc_sli4_mq_release()
255 eqe = q->qe[q->hba_index].eqe; in lpfc_sli4_eq_get()
261 idx = ((q->hba_index + 1) % q->entry_count); in lpfc_sli4_eq_get()
265 q->hba_index = idx; in lpfc_sli4_eq_get()
325 while (q->hba_index != q->host_index) { in lpfc_sli4_eq_release()
372 if (!bf_get_le32(lpfc_cqe_valid, q->qe[q->hba_index].cqe)) in lpfc_sli4_cq_get()
375 idx = ((q->hba_index + 1) % q->entry_count); in lpfc_sli4_cq_get()
379 cqe = q->qe[q->hba_index].cqe; in lpfc_sli4_cq_get()
380 q->hba_index = idx; in lpfc_sli4_cq_get()
421 while (q->hba_index != q->host_index) { in lpfc_sli4_cq_release()
476 if (((hq->host_index + 1) % hq->entry_count) == hq->hba_index) in lpfc_sli4_rq_put()
525 hq->hba_index = ((hq->hba_index + 1) % hq->entry_count); in lpfc_sli4_rq_release()
526 dq->hba_index = ((dq->hba_index + 1) % dq->entry_count); in lpfc_sli4_rq_release()
6714 idx = mcq->hba_index; in lpfc_sli4_mbox_completions_pending()
6723 if (mcq->hba_index == idx) in lpfc_sli4_mbox_completions_pending()
13066 eq->hba_index = 0; in lpfc_eq_create()
13192 cq->hba_index = 0; in lpfc_cq_create()
13403 mq->hba_index = 0; in lpfc_mq_create()
13609 wq->hba_index = 0; in lpfc_wq_create()
13831 hrq->hba_index = 0; in lpfc_rq_create()
13912 drq->hba_index = 0; in lpfc_rq_create()