Lines Matching refs:hbqp
1648 struct hbq_s *hbqp = &phba->hbqs[hbqno]; in lpfc_sli_next_hbq_slot() local
1650 if (hbqp->next_hbqPutIdx == hbqp->hbqPutIdx && in lpfc_sli_next_hbq_slot()
1651 ++hbqp->next_hbqPutIdx >= hbqp->entry_count) in lpfc_sli_next_hbq_slot()
1652 hbqp->next_hbqPutIdx = 0; in lpfc_sli_next_hbq_slot()
1654 if (unlikely(hbqp->local_hbqGetIdx == hbqp->next_hbqPutIdx)) { in lpfc_sli_next_hbq_slot()
1658 hbqp->local_hbqGetIdx = getidx; in lpfc_sli_next_hbq_slot()
1660 if (unlikely(hbqp->local_hbqGetIdx >= hbqp->entry_count)) { in lpfc_sli_next_hbq_slot()
1665 hbqno, hbqp->local_hbqGetIdx, in lpfc_sli_next_hbq_slot()
1666 hbqp->entry_count); in lpfc_sli_next_hbq_slot()
1672 if (hbqp->local_hbqGetIdx == hbqp->next_hbqPutIdx) in lpfc_sli_next_hbq_slot()
1677 hbqp->hbqPutIdx; in lpfc_sli_next_hbq_slot()
1774 struct hbq_s *hbqp = &phba->hbqs[hbqno]; in lpfc_sli_hbq_to_firmware_s3() local
1783 hbqp->hbqPutIdx = hbqp->next_hbqPutIdx; in lpfc_sli_hbq_to_firmware_s3()
1784 writel(hbqp->hbqPutIdx, phba->hbq_put + hbqno); in lpfc_sli_hbq_to_firmware_s3()
1787 list_add_tail(&hbq_buf->dbuf.list, &hbqp->hbq_buffer_list); in lpfc_sli_hbq_to_firmware_s3()