Searched refs:hw_sge (Results 1 – 3 of 3) sorted by relevance
176 struct acc_hw_sge *hw_sge) in sg_map_to_hw_sg() argument178 hw_sge->buf = sg_dma_address(sgl); in sg_map_to_hw_sg()179 hw_sge->len = cpu_to_le32(sg_dma_len(sgl)); in sg_map_to_hw_sg()180 hw_sge->page_ctrl = sg_virt(sgl); in sg_map_to_hw_sg()198 struct acc_hw_sge *hw_sge = hw_sgl->sge_entries; in clear_hw_sgl_sge() local202 hw_sge[i].page_ctrl = NULL; in clear_hw_sgl_sge()203 hw_sge[i].buf = 0; in clear_hw_sgl_sge()204 hw_sge[i].len = 0; in clear_hw_sgl_sge()
1592 union myrs_sgl *hw_sge; in myrs_queuecommand() local1667 hw_sge = &mbox->SCSI_10.dma_addr; in myrs_queuecommand()1714 hw_sge = &mbox->SCSI_255.dma_addr; in myrs_queuecommand()1721 hw_sge->sge[0].sge_addr = (u64)sg_dma_address(sgl); in myrs_queuecommand()1722 hw_sge->sge[0].sge_count = (u64)sg_dma_len(sgl); in myrs_queuecommand()1752 hw_sge->ext.sge0_len = nsge; in myrs_queuecommand()1753 hw_sge->ext.sge0_addr = cmd_blk->sgl_addr; in myrs_queuecommand()1755 hw_sgl = hw_sge->sge; in myrs_queuecommand()
764 struct sq_sge *hw_sge; in bnxt_qplib_post_srq_recv() local783 for (i = 0, hw_sge = (struct sq_sge *)srqe->data; in bnxt_qplib_post_srq_recv()784 i < wqe->num_sge; i++, hw_sge++) { in bnxt_qplib_post_srq_recv()785 hw_sge->va_or_pa = cpu_to_le64(wqe->sg_list[i].addr); in bnxt_qplib_post_srq_recv()786 hw_sge->l_key = cpu_to_le32(wqe->sg_list[i].lkey); in bnxt_qplib_post_srq_recv()787 hw_sge->size = cpu_to_le32(wqe->sg_list[i].size); in bnxt_qplib_post_srq_recv()