Lines Matching refs:sg_list
159 struct scatterlist *sg_list; member
790 kfree(imxdmac->sg_list); in imxdma_free_chan_resources()
791 imxdmac->sg_list = NULL; in imxdma_free_chan_resources()
867 kfree(imxdmac->sg_list); in imxdma_prep_dma_cyclic()
869 imxdmac->sg_list = kcalloc(periods + 1, in imxdma_prep_dma_cyclic()
871 if (!imxdmac->sg_list) in imxdma_prep_dma_cyclic()
874 sg_init_table(imxdmac->sg_list, periods); in imxdma_prep_dma_cyclic()
877 sg_assign_page(&imxdmac->sg_list[i], NULL); in imxdma_prep_dma_cyclic()
878 imxdmac->sg_list[i].offset = 0; in imxdma_prep_dma_cyclic()
879 imxdmac->sg_list[i].dma_address = dma_addr; in imxdma_prep_dma_cyclic()
880 sg_dma_len(&imxdmac->sg_list[i]) = period_len; in imxdma_prep_dma_cyclic()
885 sg_chain(imxdmac->sg_list, periods + 1, imxdmac->sg_list); in imxdma_prep_dma_cyclic()
888 desc->sg = imxdmac->sg_list; in imxdma_prep_dma_cyclic()