Lines Matching refs:ld_free
148 struct list_head ld_free; member
627 list_move_tail(imxdmac->ld_active.next, &imxdmac->ld_free); in imxdma_tasklet()
652 list_splice_tail_init(&imxdmac->ld_active, &imxdmac->ld_free); in imxdma_terminate_all()
653 list_splice_tail_init(&imxdmac->ld_queue, &imxdmac->ld_free); in imxdma_terminate_all()
732 list_move_tail(imxdmac->ld_free.next, &imxdmac->ld_queue); in imxdma_tx_submit()
759 list_add_tail(&desc->node, &imxdmac->ld_free); in imxdma_alloc_chan_resources()
779 list_splice_tail_init(&imxdmac->ld_active, &imxdmac->ld_free); in imxdma_free_chan_resources()
780 list_splice_tail_init(&imxdmac->ld_queue, &imxdmac->ld_free); in imxdma_free_chan_resources()
784 list_for_each_entry_safe(desc, _desc, &imxdmac->ld_free, node) { in imxdma_free_chan_resources()
788 INIT_LIST_HEAD(&imxdmac->ld_free); in imxdma_free_chan_resources()
804 if (list_empty(&imxdmac->ld_free) || in imxdma_prep_slave_sg()
808 desc = list_first_entry(&imxdmac->ld_free, struct imxdma_desc, node); in imxdma_prep_slave_sg()
861 if (list_empty(&imxdmac->ld_free) || in imxdma_prep_dma_cyclic()
865 desc = list_first_entry(&imxdmac->ld_free, struct imxdma_desc, node); in imxdma_prep_dma_cyclic()
917 if (list_empty(&imxdmac->ld_free) || in imxdma_prep_dma_memcpy()
921 desc = list_first_entry(&imxdmac->ld_free, struct imxdma_desc, node); in imxdma_prep_dma_memcpy()
951 if (list_empty(&imxdmac->ld_free) || in imxdma_prep_dma_interleaved()
958 desc = list_first_entry(&imxdmac->ld_free, struct imxdma_desc, node); in imxdma_prep_dma_interleaved()
1143 INIT_LIST_HEAD(&imxdmac->ld_free); in imxdma_probe()