Lines Matching refs:list_empty
317 if (!list_empty(&dma_desc->tx_list)) in tegra_dma_desc_put()
330 if (!list_empty(&tdc->free_sg_req)) { in tegra_dma_sg_req_get()
350 if (!list_empty(&tdc->pending_sg_req)) { in tegra_dma_slave_config()
511 if (list_empty(&tdc->pending_sg_req)) in tdc_start_head_req()
526 if (list_empty(&tdc->pending_sg_req)) in tdc_configure_next_head_desc()
548 while (!list_empty(&tdc->pending_sg_req)) { in tegra_dma_abort_all()
572 if (list_empty(&tdc->pending_sg_req)) { in handle_continuous_head_request()
620 if (to_terminate || list_empty(&tdc->pending_sg_req)) in handle_once_dma_done()
662 while (!list_empty(&tdc->cb_desc)) { in tegra_dma_tasklet()
722 if (list_empty(&tdc->pending_sg_req)) { in tegra_dma_issue_pending()
754 if (list_empty(&tdc->pending_sg_req)) { in tegra_dma_terminate_all()
779 if (!list_empty(&tdc->pending_sg_req) && was_busy) { in tegra_dma_terminate_all()
790 while (!list_empty(&tdc->cb_desc)) { in tegra_dma_terminate_all()
1223 while (!list_empty(&dma_desc_list)) { in tegra_dma_free_chan_resources()
1230 while (!list_empty(&sg_req_list)) { in tegra_dma_free_chan_resources()