Lines Matching refs:hbqp
2320 struct hbq_s *hbqp = &phba->hbqs[hbqno]; in lpfc_sli_next_hbq_slot() local
2324 if (hbqp->next_hbqPutIdx == hbqp->hbqPutIdx && in lpfc_sli_next_hbq_slot()
2325 ++hbqp->next_hbqPutIdx >= hbqp->entry_count) in lpfc_sli_next_hbq_slot()
2326 hbqp->next_hbqPutIdx = 0; in lpfc_sli_next_hbq_slot()
2328 if (unlikely(hbqp->local_hbqGetIdx == hbqp->next_hbqPutIdx)) { in lpfc_sli_next_hbq_slot()
2332 hbqp->local_hbqGetIdx = getidx; in lpfc_sli_next_hbq_slot()
2334 if (unlikely(hbqp->local_hbqGetIdx >= hbqp->entry_count)) { in lpfc_sli_next_hbq_slot()
2338 hbqno, hbqp->local_hbqGetIdx, in lpfc_sli_next_hbq_slot()
2339 hbqp->entry_count); in lpfc_sli_next_hbq_slot()
2345 if (hbqp->local_hbqGetIdx == hbqp->next_hbqPutIdx) in lpfc_sli_next_hbq_slot()
2350 hbqp->hbqPutIdx; in lpfc_sli_next_hbq_slot()
2430 struct hbq_s *hbqp = &phba->hbqs[hbqno]; in lpfc_sli_hbq_to_firmware_s3() local
2439 hbqp->hbqPutIdx = hbqp->next_hbqPutIdx; in lpfc_sli_hbq_to_firmware_s3()
2440 writel(hbqp->hbqPutIdx, phba->hbq_put + hbqno); in lpfc_sli_hbq_to_firmware_s3()
2443 list_add_tail(&hbq_buf->dbuf.list, &hbqp->hbq_buffer_list); in lpfc_sli_hbq_to_firmware_s3()