Lines Matching refs:txd
142 txd_to_txx9dmac_desc(struct dma_async_tx_descriptor *txd) in txd_to_txx9dmac_desc() argument
144 return container_of(txd, struct txx9dmac_desc, txd); in txd_to_txx9dmac_desc()
202 dma_async_tx_descriptor_init(&desc->txd, &dc->chan); in txx9dmac_desc_alloc()
203 desc->txd.tx_submit = txx9dmac_tx_submit; in txx9dmac_desc_alloc()
205 desc->txd.flags = DMA_CTRL_ACK; in txx9dmac_desc_alloc()
206 desc->txd.phys = dma_map_single(chan2parent(&dc->chan), &desc->hwdesc, in txx9dmac_desc_alloc()
219 if (async_tx_test_ack(&desc->txd)) { in txx9dmac_desc_get()
252 child->txd.phys, ddev->descsize, in txx9dmac_sync_desc_for_cpu()
255 desc->txd.phys, ddev->descsize, in txx9dmac_sync_desc_for_cpu()
341 first->txd.cookie, first); in txx9dmac_dostart()
371 channel64_write_CHAR(dc, first->txd.phys); in txx9dmac_dostart()
392 channel32_writel(dc, CHAR, first->txd.phys); in txx9dmac_dostart()
394 channel32_writel(dc, CHAR, first->txd.phys); in txx9dmac_dostart()
407 struct dma_async_tx_descriptor *txd = &desc->txd; in txx9dmac_descriptor_complete() local
410 txd->cookie, desc); in txx9dmac_descriptor_complete()
412 dma_cookie_complete(txd); in txx9dmac_descriptor_complete()
413 dmaengine_desc_get_callback(txd, &cb); in txx9dmac_descriptor_complete()
419 dma_descriptor_unmap(txd); in txx9dmac_descriptor_complete()
425 dma_run_dependencies(txd); in txx9dmac_descriptor_complete()
438 desc_write_CHAR(dc, prev, desc->txd.phys); in txx9dmac_dequeue()
440 prev->txd.phys, ddev->descsize, in txx9dmac_dequeue()
446 if ((desc->txd.flags & DMA_PREP_INTERRUPT) && in txx9dmac_dequeue()
532 bad_desc->txd.cookie); in txx9dmac_handle_error()
704 desc->txd.cookie, desc); in txx9dmac_tx_submit()
782 desc_write_CHAR(dc, prev, desc->txd.phys); in txx9dmac_prep_dma_memcpy()
784 prev->txd.phys, ddev->descsize, in txx9dmac_prep_dma_memcpy()
797 prev->txd.phys, ddev->descsize, in txx9dmac_prep_dma_memcpy()
800 first->txd.flags = flags; in txx9dmac_prep_dma_memcpy()
803 return &first->txd; in txx9dmac_prep_dma_memcpy()
876 desc_write_CHAR(dc, prev, desc->txd.phys); in txx9dmac_prep_slave_sg()
878 prev->txd.phys, in txx9dmac_prep_slave_sg()
892 prev->txd.phys, ddev->descsize, in txx9dmac_prep_slave_sg()
895 first->txd.flags = flags; in txx9dmac_prep_slave_sg()
898 return &first->txd; in txx9dmac_prep_slave_sg()
953 desc_write_CHAR(dc, prev, desc->txd.phys); in txx9dmac_chain_dynamic()
955 prev->txd.phys, ddev->descsize, in txx9dmac_chain_dynamic()
959 channel_read_CHAR(dc) == prev->txd.phys) in txx9dmac_chain_dynamic()
961 channel_write_CHAR(dc, desc->txd.phys); in txx9dmac_chain_dynamic()
980 if (!(prev->txd.flags & DMA_PREP_INTERRUPT) || in txx9dmac_issue_pending()
1070 dma_unmap_single(chan2parent(chan), desc->txd.phys, in txx9dmac_free_chan_resources()