Lines Matching refs:sgl
3164 struct be_dma_mem *sgl) in be_sgl_create_contiguous() argument
3169 WARN_ON(!sgl); in be_sgl_create_contiguous()
3171 sgl->va = virtual_address; in be_sgl_create_contiguous()
3172 sgl->dma = (unsigned long)physical_address; in be_sgl_create_contiguous()
3173 sgl->size = length; in be_sgl_create_contiguous()
3178 static void be_sgl_destroy_contiguous(struct be_dma_mem *sgl) in be_sgl_destroy_contiguous() argument
3180 memset(sgl, 0, sizeof(*sgl)); in be_sgl_destroy_contiguous()
3185 struct mem_array *pmem, struct be_dma_mem *sgl) in hwi_build_be_sgl_arr() argument
3187 if (sgl->va) in hwi_build_be_sgl_arr()
3188 be_sgl_destroy_contiguous(sgl); in hwi_build_be_sgl_arr()
3192 pmem->size, sgl); in hwi_build_be_sgl_arr()
3197 struct mem_array *pmem, struct be_dma_mem *sgl) in hwi_build_be_sgl_by_offset() argument
3199 if (sgl->va) in hwi_build_be_sgl_by_offset()
3200 be_sgl_destroy_contiguous(sgl); in hwi_build_be_sgl_by_offset()
3204 pmem->size, sgl); in hwi_build_be_sgl_by_offset()
3467 struct be_dma_mem sgl; in beiscsi_post_template_hdr() local
3477 hwi_build_be_sgl_arr(phba, pm_arr, &sgl); in beiscsi_post_template_hdr()
3479 &phba->ctrl, &sgl); in beiscsi_post_template_hdr()
3502 struct be_dma_mem sgl; in beiscsi_post_pages() local
3516 hwi_build_be_sgl_arr(phba, pm_arr, &sgl); in beiscsi_post_pages()
3517 status = be_cmd_iscsi_post_sgl_pages(&phba->ctrl, &sgl, in beiscsi_post_pages()
3568 struct be_dma_mem sgl; in beiscsi_create_wrb_rings() local
3643 hwi_build_be_sgl_by_offset(phba, &pwrb_arr[i], &sgl); in beiscsi_create_wrb_rings()
3644 status = be_cmd_wrbq_create(&phba->ctrl, &sgl, in beiscsi_create_wrb_rings()