Lines Matching refs:hbq_buf
2366 struct hbq_dmabuf *hbq_buf; in lpfc_sli_hbqbuf_free_all() local
2376 hbq_buf = container_of(dmabuf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_free_all()
2377 list_del(&hbq_buf->dbuf.list); in lpfc_sli_hbqbuf_free_all()
2378 (phba->hbqs[i].hbq_free_buffer)(phba, hbq_buf); in lpfc_sli_hbqbuf_free_all()
2402 struct hbq_dmabuf *hbq_buf) in lpfc_sli_hbq_to_firmware() argument
2405 return phba->lpfc_sli_hbq_to_firmware(phba, hbqno, hbq_buf); in lpfc_sli_hbq_to_firmware()
2421 struct hbq_dmabuf *hbq_buf) in lpfc_sli_hbq_to_firmware_s3() argument
2424 dma_addr_t physaddr = hbq_buf->dbuf.phys; in lpfc_sli_hbq_to_firmware_s3()
2434 hbqe->bde.tus.f.bdeSize = hbq_buf->total_size; in lpfc_sli_hbq_to_firmware_s3()
2437 hbqe->buffer_tag = le32_to_cpu(hbq_buf->tag); 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()
2461 struct hbq_dmabuf *hbq_buf) in lpfc_sli_hbq_to_firmware_s4() argument
2475 hrqe.address_lo = putPaddrLow(hbq_buf->hbuf.phys); in lpfc_sli_hbq_to_firmware_s4()
2476 hrqe.address_hi = putPaddrHigh(hbq_buf->hbuf.phys); in lpfc_sli_hbq_to_firmware_s4()
2477 drqe.address_lo = putPaddrLow(hbq_buf->dbuf.phys); in lpfc_sli_hbq_to_firmware_s4()
2478 drqe.address_hi = putPaddrHigh(hbq_buf->dbuf.phys); in lpfc_sli_hbq_to_firmware_s4()
2482 hbq_buf->tag = (rc | (hbqno << 16)); in lpfc_sli_hbq_to_firmware_s4()
2483 list_add_tail(&hbq_buf->dbuf.list, &phba->hbqs[hbqno].hbq_buffer_list); in lpfc_sli_hbq_to_firmware_s4()
2656 struct hbq_dmabuf *hbq_buf; in lpfc_sli_hbqbuf_find() local
2665 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_find()
2666 if (hbq_buf->tag == tag) { in lpfc_sli_hbqbuf_find()
2668 return hbq_buf; in lpfc_sli_hbqbuf_find()
18813 struct hbq_dmabuf *hbq_buf; in lpfc_prep_seq() local
18880 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_prep_seq()
18882 &hbq_buf->cq_event.cqe.rcqe_cmpl); in lpfc_prep_seq()
18900 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_prep_seq()
18902 &hbq_buf->cq_event.cqe.rcqe_cmpl); in lpfc_prep_seq()