Lines Matching refs:txd

139 txd_to_txx9dmac_desc(struct dma_async_tx_descriptor *txd)  in txd_to_txx9dmac_desc()  argument
141 return container_of(txd, struct txx9dmac_desc, txd); in txd_to_txx9dmac_desc()
199 dma_async_tx_descriptor_init(&desc->txd, &dc->chan); in txx9dmac_desc_alloc()
200 desc->txd.tx_submit = txx9dmac_tx_submit; in txx9dmac_desc_alloc()
202 desc->txd.flags = DMA_CTRL_ACK; in txx9dmac_desc_alloc()
203 desc->txd.phys = dma_map_single(chan2parent(&dc->chan), &desc->hwdesc, in txx9dmac_desc_alloc()
216 if (async_tx_test_ack(&desc->txd)) { in txx9dmac_desc_get()
249 child->txd.phys, ddev->descsize, in txx9dmac_sync_desc_for_cpu()
252 desc->txd.phys, ddev->descsize, in txx9dmac_sync_desc_for_cpu()
337 first->txd.cookie, first); in txx9dmac_dostart()
367 channel64_write_CHAR(dc, first->txd.phys); in txx9dmac_dostart()
388 channel32_writel(dc, CHAR, first->txd.phys); in txx9dmac_dostart()
390 channel32_writel(dc, CHAR, first->txd.phys); in txx9dmac_dostart()
403 struct dma_async_tx_descriptor *txd = &desc->txd; in txx9dmac_descriptor_complete() local
406 txd->cookie, desc); in txx9dmac_descriptor_complete()
408 dma_cookie_complete(txd); in txx9dmac_descriptor_complete()
409 dmaengine_desc_get_callback(txd, &cb); in txx9dmac_descriptor_complete()
415 dma_descriptor_unmap(txd); in txx9dmac_descriptor_complete()
421 dma_run_dependencies(txd); in txx9dmac_descriptor_complete()
434 desc_write_CHAR(dc, prev, desc->txd.phys); in txx9dmac_dequeue()
436 prev->txd.phys, ddev->descsize, in txx9dmac_dequeue()
442 if ((desc->txd.flags & DMA_PREP_INTERRUPT) && in txx9dmac_dequeue()
528 bad_desc->txd.cookie); in txx9dmac_handle_error()
700 desc->txd.cookie, desc); in txx9dmac_tx_submit()
778 desc_write_CHAR(dc, prev, desc->txd.phys); in txx9dmac_prep_dma_memcpy()
780 prev->txd.phys, ddev->descsize, in txx9dmac_prep_dma_memcpy()
793 prev->txd.phys, ddev->descsize, in txx9dmac_prep_dma_memcpy()
796 first->txd.flags = flags; in txx9dmac_prep_dma_memcpy()
799 return &first->txd; in txx9dmac_prep_dma_memcpy()
872 desc_write_CHAR(dc, prev, desc->txd.phys); in txx9dmac_prep_slave_sg()
874 prev->txd.phys, in txx9dmac_prep_slave_sg()
888 prev->txd.phys, ddev->descsize, in txx9dmac_prep_slave_sg()
891 first->txd.flags = flags; in txx9dmac_prep_slave_sg()
894 return &first->txd; in txx9dmac_prep_slave_sg()
949 desc_write_CHAR(dc, prev, desc->txd.phys); in txx9dmac_chain_dynamic()
951 prev->txd.phys, ddev->descsize, in txx9dmac_chain_dynamic()
954 channel_read_CHAR(dc) == prev->txd.phys) in txx9dmac_chain_dynamic()
956 channel_write_CHAR(dc, desc->txd.phys); in txx9dmac_chain_dynamic()
975 if (!(prev->txd.flags & DMA_PREP_INTERRUPT) || in txx9dmac_issue_pending()
1065 dma_unmap_single(chan2parent(chan), desc->txd.phys, in txx9dmac_free_chan_resources()