Lines Matching refs:ld_free
78 struct list_head ld_free; member
427 list_add_tail(&desc->node, &channel->ld_free); in rz_dmac_alloc_chan_resources()
452 list_splice_tail_init(&channel->ld_active, &channel->ld_free); in rz_dmac_free_chan_resources()
453 list_splice_tail_init(&channel->ld_queue, &channel->ld_free); in rz_dmac_free_chan_resources()
462 list_for_each_entry_safe(desc, _desc, &channel->ld_free, node) { in rz_dmac_free_chan_resources()
467 INIT_LIST_HEAD(&channel->ld_free); in rz_dmac_free_chan_resources()
482 if (list_empty(&channel->ld_free)) in rz_dmac_prep_dma_memcpy()
485 desc = list_first_entry(&channel->ld_free, struct rz_dmac_desc, node); in rz_dmac_prep_dma_memcpy()
493 list_move_tail(channel->ld_free.next, &channel->ld_queue); in rz_dmac_prep_dma_memcpy()
509 if (list_empty(&channel->ld_free)) in rz_dmac_prep_slave_sg()
512 desc = list_first_entry(&channel->ld_free, struct rz_dmac_desc, node); in rz_dmac_prep_slave_sg()
529 list_move_tail(channel->ld_free.next, &channel->ld_queue); in rz_dmac_prep_slave_sg()
541 list_splice_tail_init(&channel->ld_active, &channel->ld_free); in rz_dmac_terminate_all()
542 list_splice_tail_init(&channel->ld_queue, &channel->ld_free); in rz_dmac_terminate_all()
702 list_move_tail(channel->ld_active.next, &channel->ld_free); in rz_dmac_irq_handler_thread()
817 INIT_LIST_HEAD(&channel->ld_free); in rz_dmac_chan_probe()