Lines Matching full:tx_desc

111 		if (!async_tx_test_ack(&desc->tx_desc))  in ccp_cleanup_desc_resources()
148 desc->tx_desc.cookie, cmd); in ccp_issue_next_cmd()
155 ret, desc->tx_desc.cookie, cmd); in ccp_issue_next_cmd()
170 __func__, desc->tx_desc.cookie, cmd); in ccp_free_active_cmd()
193 struct dma_async_tx_descriptor *tx_desc; in ccp_handle_active_desc() local
212 tx_desc = &desc->tx_desc; in ccp_handle_active_desc()
214 tx_desc = NULL; in ccp_handle_active_desc()
225 desc->tx_desc.cookie, desc->status); in ccp_handle_active_desc()
227 dma_cookie_complete(tx_desc); in ccp_handle_active_desc()
228 dma_descriptor_unmap(tx_desc); in ccp_handle_active_desc()
235 if (tx_desc) { in ccp_handle_active_desc()
236 dmaengine_desc_get_callback_invoke(tx_desc, NULL); in ccp_handle_active_desc()
238 dma_run_dependencies(tx_desc); in ccp_handle_active_desc()
270 chan = container_of(desc->tx_desc.chan, struct ccp_dma_chan, in ccp_cmd_callback()
274 __func__, desc->tx_desc.cookie, err); in ccp_cmd_callback()
297 static dma_cookie_t ccp_tx_submit(struct dma_async_tx_descriptor *tx_desc) in ccp_tx_submit() argument
299 struct ccp_dma_desc *desc = container_of(tx_desc, struct ccp_dma_desc, in ccp_tx_submit()
300 tx_desc); in ccp_tx_submit()
305 chan = container_of(tx_desc->chan, struct ccp_dma_chan, dma_chan); in ccp_tx_submit()
309 cookie = dma_cookie_assign(tx_desc); in ccp_tx_submit()
340 dma_async_tx_descriptor_init(&desc->tx_desc, &chan->dma_chan); in ccp_alloc_dma_desc()
341 desc->tx_desc.flags = flags; in ccp_alloc_dma_desc()
342 desc->tx_desc.tx_submit = ccp_tx_submit; in ccp_alloc_dma_desc()
503 return &desc->tx_desc; in ccp_prep_dma_memcpy()
517 return &desc->tx_desc; in ccp_prep_dma_interrupt()
561 if (desc->tx_desc.cookie != cookie) in ccp_tx_status()