Lines Matching refs:sgl

3185 			 struct be_dma_mem *sgl)  in be_sgl_create_contiguous()  argument
3190 WARN_ON(!sgl); in be_sgl_create_contiguous()
3192 sgl->va = virtual_address; in be_sgl_create_contiguous()
3193 sgl->dma = (unsigned long)physical_address; in be_sgl_create_contiguous()
3194 sgl->size = length; in be_sgl_create_contiguous()
3199 static void be_sgl_destroy_contiguous(struct be_dma_mem *sgl) in be_sgl_destroy_contiguous() argument
3201 memset(sgl, 0, sizeof(*sgl)); in be_sgl_destroy_contiguous()
3206 struct mem_array *pmem, struct be_dma_mem *sgl) in hwi_build_be_sgl_arr() argument
3208 if (sgl->va) in hwi_build_be_sgl_arr()
3209 be_sgl_destroy_contiguous(sgl); in hwi_build_be_sgl_arr()
3213 pmem->size, sgl); in hwi_build_be_sgl_arr()
3218 struct mem_array *pmem, struct be_dma_mem *sgl) in hwi_build_be_sgl_by_offset() argument
3220 if (sgl->va) in hwi_build_be_sgl_by_offset()
3221 be_sgl_destroy_contiguous(sgl); in hwi_build_be_sgl_by_offset()
3225 pmem->size, sgl); in hwi_build_be_sgl_by_offset()
3488 struct be_dma_mem sgl; in beiscsi_post_template_hdr() local
3498 hwi_build_be_sgl_arr(phba, pm_arr, &sgl); in beiscsi_post_template_hdr()
3500 &phba->ctrl, &sgl); in beiscsi_post_template_hdr()
3523 struct be_dma_mem sgl; in beiscsi_post_pages() local
3537 hwi_build_be_sgl_arr(phba, pm_arr, &sgl); in beiscsi_post_pages()
3538 status = be_cmd_iscsi_post_sgl_pages(&phba->ctrl, &sgl, in beiscsi_post_pages()
3589 struct be_dma_mem sgl; in beiscsi_create_wrb_rings() local
3664 hwi_build_be_sgl_by_offset(phba, &pwrb_arr[i], &sgl); in beiscsi_create_wrb_rings()
3665 status = be_cmd_wrbq_create(&phba->ctrl, &sgl, in beiscsi_create_wrb_rings()