Lines Matching refs:list_empty
313 if (!list_empty(&dma_desc->tx_list)) in tegra_dma_desc_put()
326 if (!list_empty(&tdc->free_sg_req)) { in tegra_dma_sg_req_get()
346 if (!list_empty(&tdc->pending_sg_req)) { in tegra_dma_slave_config()
491 if (list_empty(&tdc->pending_sg_req)) in tdc_start_head_req()
506 if (list_empty(&tdc->pending_sg_req)) in tdc_configure_next_head_desc()
528 while (!list_empty(&tdc->pending_sg_req)) { in tegra_dma_abort_all()
552 if (list_empty(&tdc->pending_sg_req)) { in handle_continuous_head_request()
600 if (to_terminate || list_empty(&tdc->pending_sg_req)) in handle_once_dma_done()
644 while (!list_empty(&tdc->cb_desc)) { in tegra_dma_tasklet()
704 if (list_empty(&tdc->pending_sg_req)) { in tegra_dma_issue_pending()
737 if (list_empty(&tdc->pending_sg_req)) { in tegra_dma_terminate_all()
762 if (!list_empty(&tdc->pending_sg_req) && was_busy) { in tegra_dma_terminate_all()
773 while (!list_empty(&tdc->cb_desc)) { in tegra_dma_terminate_all()
1212 while (!list_empty(&dma_desc_list)) { in tegra_dma_free_chan_resources()
1219 while (!list_empty(&sg_req_list)) { in tegra_dma_free_chan_resources()