Lines Matching refs:hbq_buf

1993 	struct hbq_dmabuf *hbq_buf;  in lpfc_sli_hbqbuf_free_all()  local
2003 hbq_buf = container_of(dmabuf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_free_all()
2004 list_del(&hbq_buf->dbuf.list); in lpfc_sli_hbqbuf_free_all()
2005 (phba->hbqs[i].hbq_free_buffer)(phba, hbq_buf); in lpfc_sli_hbqbuf_free_all()
2029 struct hbq_dmabuf *hbq_buf) in lpfc_sli_hbq_to_firmware() argument
2032 return phba->lpfc_sli_hbq_to_firmware(phba, hbqno, hbq_buf); in lpfc_sli_hbq_to_firmware()
2048 struct hbq_dmabuf *hbq_buf) in lpfc_sli_hbq_to_firmware_s3() argument
2051 dma_addr_t physaddr = hbq_buf->dbuf.phys; in lpfc_sli_hbq_to_firmware_s3()
2061 hbqe->bde.tus.f.bdeSize = hbq_buf->total_size; in lpfc_sli_hbq_to_firmware_s3()
2064 hbqe->buffer_tag = le32_to_cpu(hbq_buf->tag); in lpfc_sli_hbq_to_firmware_s3()
2070 list_add_tail(&hbq_buf->dbuf.list, &hbqp->hbq_buffer_list); in lpfc_sli_hbq_to_firmware_s3()
2088 struct hbq_dmabuf *hbq_buf) in lpfc_sli_hbq_to_firmware_s4() argument
2102 hrqe.address_lo = putPaddrLow(hbq_buf->hbuf.phys); in lpfc_sli_hbq_to_firmware_s4()
2103 hrqe.address_hi = putPaddrHigh(hbq_buf->hbuf.phys); in lpfc_sli_hbq_to_firmware_s4()
2104 drqe.address_lo = putPaddrLow(hbq_buf->dbuf.phys); in lpfc_sli_hbq_to_firmware_s4()
2105 drqe.address_hi = putPaddrHigh(hbq_buf->dbuf.phys); in lpfc_sli_hbq_to_firmware_s4()
2109 hbq_buf->tag = (rc | (hbqno << 16)); in lpfc_sli_hbq_to_firmware_s4()
2110 list_add_tail(&hbq_buf->dbuf.list, &phba->hbqs[hbqno].hbq_buffer_list); in lpfc_sli_hbq_to_firmware_s4()
2283 struct hbq_dmabuf *hbq_buf; in lpfc_sli_hbqbuf_find() local
2292 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_find()
2293 if (hbq_buf->tag == tag) { in lpfc_sli_hbqbuf_find()
2295 return hbq_buf; in lpfc_sli_hbqbuf_find()
18084 struct hbq_dmabuf *hbq_buf; in lpfc_prep_seq() local
18152 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_prep_seq()
18154 &hbq_buf->cq_event.cqe.rcqe_cmpl); in lpfc_prep_seq()
18177 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_prep_seq()
18179 &hbq_buf->cq_event.cqe.rcqe_cmpl); in lpfc_prep_seq()