Lines Matching refs:sgl
169 if (ddp->sgl) { in i40e_fcoe_ddp_unmap()
170 dma_unmap_sg(&pf->pdev->dev, ddp->sgl, ddp->sgc, in i40e_fcoe_ddp_unmap()
172 ddp->sgl = NULL; in i40e_fcoe_ddp_unmap()
740 if (!ddp->sgl) in i40e_fcoe_handle_offload()
816 struct scatterlist *sgl, unsigned int sgc, in i40e_fcoe_ddp_setup() argument
847 if (ddp->sgl) { in i40e_fcoe_ddp_setup()
849 xid, ddp->sgl, ddp->sgc); in i40e_fcoe_ddp_setup()
866 dmacount = dma_map_sg(&pf->pdev->dev, sgl, sgc, DMA_FROM_DEVICE); in i40e_fcoe_ddp_setup()
869 sgl, sgc); in i40e_fcoe_ddp_setup()
883 for_each_sg(sgl, sg, dmacount, i) { in i40e_fcoe_ddp_setup()
927 ddp->sgl = sgl; in i40e_fcoe_ddp_setup()
942 dma_unmap_sg(&pf->pdev->dev, sgl, sgc, DMA_FROM_DEVICE); in i40e_fcoe_ddp_setup()
963 struct scatterlist *sgl, unsigned int sgc) in i40e_fcoe_ddp_get() argument
965 return i40e_fcoe_ddp_setup(netdev, xid, sgl, sgc, 0); in i40e_fcoe_ddp_get()
984 struct scatterlist *sgl, unsigned int sgc) in i40e_fcoe_ddp_target() argument
986 return i40e_fcoe_ddp_setup(netdev, xid, sgl, sgc, 1); in i40e_fcoe_ddp_target()