Lines Matching refs:hba_index

157 	if (idx == q->hba_index) {  in lpfc_sli4_wq_put()
243 if (q->hba_index == index) in lpfc_sli4_wq_release()
246 q->hba_index = ((q->hba_index + 1) % q->entry_count); in lpfc_sli4_wq_release()
248 } while (q->hba_index != index); in lpfc_sli4_wq_release()
276 if (((q->host_index + 1) % q->entry_count) == q->hba_index) in lpfc_sli4_mq_put()
312 q->hba_index = ((q->hba_index + 1) % q->entry_count); in lpfc_sli4_mq_release()
336 eqe = q->qe[q->hba_index].eqe; in lpfc_sli4_eq_get()
342 idx = ((q->hba_index + 1) % q->entry_count); in lpfc_sli4_eq_get()
346 q->hba_index = idx; in lpfc_sli4_eq_get()
348 if (phba->sli4_hba.pc_sli4_params.eqav && !q->hba_index) in lpfc_sli4_eq_get()
432 while (q->hba_index != q->host_index) { in lpfc_sli4_eq_release()
490 while (q->hba_index != q->host_index) { in lpfc_sli4_if6_eq_release()
534 cqe = q->qe[q->hba_index].cqe; in lpfc_sli4_cq_get()
540 idx = ((q->hba_index + 1) % q->entry_count); in lpfc_sli4_cq_get()
544 q->hba_index = idx; in lpfc_sli4_cq_get()
546 if (phba->sli4_hba.pc_sli4_params.cqav && !q->hba_index) in lpfc_sli4_cq_get()
590 while (q->hba_index != q->host_index) { in lpfc_sli4_cq_release()
643 while (q->hba_index != q->host_index) { in lpfc_sli4_if6_cq_release()
699 if (((hq_put_index + 1) % hq->entry_count) == hq->hba_index) in lpfc_sli4_rq_put()
749 hq->hba_index = ((hq->hba_index + 1) % hq->entry_count); in lpfc_sli4_rq_release()
750 dq->hba_index = ((dq->hba_index + 1) % dq->entry_count); in lpfc_sli4_rq_release()
6781 hrq->hba_index, in lpfc_post_rq_buffer()
6784 drq->hba_index); in lpfc_post_rq_buffer()
7461 idx = mcq->hba_index; in lpfc_sli4_mbox_completions_pending()
7471 if (mcq->hba_index == idx) in lpfc_sli4_mbox_completions_pending()
14523 eq->hba_index = 0; in lpfc_eq_create()
14666 cq->hba_index = 0; in lpfc_cq_create()
14874 cq->hba_index = 0; in lpfc_cq_create_set()
15124 mq->hba_index = 0; in lpfc_mq_create()
15390 wq->hba_index = 0; in lpfc_wq_create()
15584 hrq->hba_index = 0; in lpfc_rq_create()
15677 drq->hba_index = 0; in lpfc_rq_create()
15835 hrq->hba_index = 0; in lpfc_mrq_create()
15844 drq->hba_index = 0; in lpfc_mrq_create()