Lines Matching refs:hbq_buf

1693 	struct hbq_dmabuf *hbq_buf;  in lpfc_sli_hbqbuf_free_all()  local
1704 hbq_buf = container_of(dmabuf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_free_all()
1705 list_del(&hbq_buf->dbuf.list); in lpfc_sli_hbqbuf_free_all()
1706 (phba->hbqs[i].hbq_free_buffer)(phba, hbq_buf); in lpfc_sli_hbqbuf_free_all()
1713 hbq_buf = container_of(dmabuf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_free_all()
1714 list_del(&hbq_buf->dbuf.list); in lpfc_sli_hbqbuf_free_all()
1715 if (hbq_buf->tag == -1) { in lpfc_sli_hbqbuf_free_all()
1717 (phba, hbq_buf); in lpfc_sli_hbqbuf_free_all()
1719 hbqno = hbq_buf->tag >> 16; in lpfc_sli_hbqbuf_free_all()
1722 (phba, hbq_buf); in lpfc_sli_hbqbuf_free_all()
1725 hbq_buf); in lpfc_sli_hbqbuf_free_all()
1748 struct hbq_dmabuf *hbq_buf) in lpfc_sli_hbq_to_firmware() argument
1750 return phba->lpfc_sli_hbq_to_firmware(phba, hbqno, hbq_buf); in lpfc_sli_hbq_to_firmware()
1766 struct hbq_dmabuf *hbq_buf) in lpfc_sli_hbq_to_firmware_s3() argument
1769 dma_addr_t physaddr = hbq_buf->dbuf.phys; in lpfc_sli_hbq_to_firmware_s3()
1778 hbqe->bde.tus.f.bdeSize = hbq_buf->size; in lpfc_sli_hbq_to_firmware_s3()
1781 hbqe->buffer_tag = le32_to_cpu(hbq_buf->tag); 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()
1805 struct hbq_dmabuf *hbq_buf) in lpfc_sli_hbq_to_firmware_s4() argument
1811 hrqe.address_lo = putPaddrLow(hbq_buf->hbuf.phys); in lpfc_sli_hbq_to_firmware_s4()
1812 hrqe.address_hi = putPaddrHigh(hbq_buf->hbuf.phys); in lpfc_sli_hbq_to_firmware_s4()
1813 drqe.address_lo = putPaddrLow(hbq_buf->dbuf.phys); in lpfc_sli_hbq_to_firmware_s4()
1814 drqe.address_hi = putPaddrHigh(hbq_buf->dbuf.phys); in lpfc_sli_hbq_to_firmware_s4()
1819 hbq_buf->tag = rc; in lpfc_sli_hbq_to_firmware_s4()
1820 list_add_tail(&hbq_buf->dbuf.list, &phba->hbqs[hbqno].hbq_buffer_list); in lpfc_sli_hbq_to_firmware_s4()
1986 struct hbq_dmabuf *hbq_buf; in lpfc_sli_hbqbuf_find() local
1995 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_sli_hbqbuf_find()
1996 if (hbq_buf->tag == tag) { in lpfc_sli_hbqbuf_find()
1998 return hbq_buf; in lpfc_sli_hbqbuf_find()
15319 struct hbq_dmabuf *hbq_buf; in lpfc_prep_seq() local
15386 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_prep_seq()
15388 &hbq_buf->cq_event.cqe.rcqe_cmpl); in lpfc_prep_seq()
15411 hbq_buf = container_of(d_buf, struct hbq_dmabuf, dbuf); in lpfc_prep_seq()
15413 &hbq_buf->cq_event.cqe.rcqe_cmpl); in lpfc_prep_seq()