Lines Matching refs:sg_list
159 struct scatterlist *sg_list; member
791 kfree(imxdmac->sg_list); in imxdma_free_chan_resources()
792 imxdmac->sg_list = NULL; in imxdma_free_chan_resources()
868 kfree(imxdmac->sg_list); in imxdma_prep_dma_cyclic()
870 imxdmac->sg_list = kcalloc(periods + 1, in imxdma_prep_dma_cyclic()
872 if (!imxdmac->sg_list) in imxdma_prep_dma_cyclic()
875 sg_init_table(imxdmac->sg_list, periods); in imxdma_prep_dma_cyclic()
878 sg_assign_page(&imxdmac->sg_list[i], NULL); in imxdma_prep_dma_cyclic()
879 imxdmac->sg_list[i].offset = 0; in imxdma_prep_dma_cyclic()
880 imxdmac->sg_list[i].dma_address = dma_addr; in imxdma_prep_dma_cyclic()
881 sg_dma_len(&imxdmac->sg_list[i]) = period_len; in imxdma_prep_dma_cyclic()
886 sg_chain(imxdmac->sg_list, periods + 1, imxdmac->sg_list); in imxdma_prep_dma_cyclic()
889 desc->sg = imxdmac->sg_list; in imxdma_prep_dma_cyclic()