Lines Matching refs:hbq_buf

2372 	struct hbq_dmabuf *hbq_buf;  in lpfc_sli_hbqbuf_free_all()  local
2382 hbq_buf = container_of(dmabuf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_free_all()
2383 list_del(&hbq_buf->dbuf.list); in lpfc_sli_hbqbuf_free_all()
2384 (phba->hbqs[i].hbq_free_buffer)(phba, hbq_buf); in lpfc_sli_hbqbuf_free_all()
2408 struct hbq_dmabuf *hbq_buf) in lpfc_sli_hbq_to_firmware() argument
2411 return phba->lpfc_sli_hbq_to_firmware(phba, hbqno, hbq_buf); in lpfc_sli_hbq_to_firmware()
2427 struct hbq_dmabuf *hbq_buf) in lpfc_sli_hbq_to_firmware_s3() argument
2430 dma_addr_t physaddr = hbq_buf->dbuf.phys; in lpfc_sli_hbq_to_firmware_s3()
2440 hbqe->bde.tus.f.bdeSize = hbq_buf->total_size; in lpfc_sli_hbq_to_firmware_s3()
2443 hbqe->buffer_tag = le32_to_cpu(hbq_buf->tag); 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()
2467 struct hbq_dmabuf *hbq_buf) in lpfc_sli_hbq_to_firmware_s4() argument
2481 hrqe.address_lo = putPaddrLow(hbq_buf->hbuf.phys); in lpfc_sli_hbq_to_firmware_s4()
2482 hrqe.address_hi = putPaddrHigh(hbq_buf->hbuf.phys); in lpfc_sli_hbq_to_firmware_s4()
2483 drqe.address_lo = putPaddrLow(hbq_buf->dbuf.phys); in lpfc_sli_hbq_to_firmware_s4()
2484 drqe.address_hi = putPaddrHigh(hbq_buf->dbuf.phys); in lpfc_sli_hbq_to_firmware_s4()
2488 hbq_buf->tag = (rc | (hbqno << 16)); in lpfc_sli_hbq_to_firmware_s4()
2489 list_add_tail(&hbq_buf->dbuf.list, &phba->hbqs[hbqno].hbq_buffer_list); in lpfc_sli_hbq_to_firmware_s4()
2662 struct hbq_dmabuf *hbq_buf; in lpfc_sli_hbqbuf_find() local
2671 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_find()
2672 if (hbq_buf->tag == tag) { in lpfc_sli_hbqbuf_find()
2674 return hbq_buf; in lpfc_sli_hbqbuf_find()
19064 struct hbq_dmabuf *hbq_buf; in lpfc_prep_seq() local
19131 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_prep_seq()
19133 &hbq_buf->cq_event.cqe.rcqe_cmpl); in lpfc_prep_seq()
19151 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_prep_seq()
19153 &hbq_buf->cq_event.cqe.rcqe_cmpl); in lpfc_prep_seq()