Lines Matching refs:hbqp
2326 struct hbq_s *hbqp = &phba->hbqs[hbqno]; in lpfc_sli_next_hbq_slot() local
2330 if (hbqp->next_hbqPutIdx == hbqp->hbqPutIdx && in lpfc_sli_next_hbq_slot()
2331 ++hbqp->next_hbqPutIdx >= hbqp->entry_count) in lpfc_sli_next_hbq_slot()
2332 hbqp->next_hbqPutIdx = 0; in lpfc_sli_next_hbq_slot()
2334 if (unlikely(hbqp->local_hbqGetIdx == hbqp->next_hbqPutIdx)) { in lpfc_sli_next_hbq_slot()
2338 hbqp->local_hbqGetIdx = getidx; in lpfc_sli_next_hbq_slot()
2340 if (unlikely(hbqp->local_hbqGetIdx >= hbqp->entry_count)) { in lpfc_sli_next_hbq_slot()
2344 hbqno, hbqp->local_hbqGetIdx, in lpfc_sli_next_hbq_slot()
2345 hbqp->entry_count); in lpfc_sli_next_hbq_slot()
2351 if (hbqp->local_hbqGetIdx == hbqp->next_hbqPutIdx) in lpfc_sli_next_hbq_slot()
2356 hbqp->hbqPutIdx; in lpfc_sli_next_hbq_slot()
2436 struct hbq_s *hbqp = &phba->hbqs[hbqno]; in lpfc_sli_hbq_to_firmware_s3() local
2445 hbqp->hbqPutIdx = hbqp->next_hbqPutIdx; in lpfc_sli_hbq_to_firmware_s3()
2446 writel(hbqp->hbqPutIdx, phba->hbq_put + hbqno); in lpfc_sli_hbq_to_firmware_s3()
2449 list_add_tail(&hbq_buf->dbuf.list, &hbqp->hbq_buffer_list); in lpfc_sli_hbq_to_firmware_s3()