Lines Matching refs:txd
73 __func__, desc->txd.cookie); in dwc_tx_submit()
90 dma_async_tx_descriptor_init(&desc->txd, &dwc->chan); in dwc_desc_get()
91 desc->txd.tx_submit = dwc_tx_submit; in dwc_desc_get()
92 desc->txd.flags = DMA_CTRL_ACK; in dwc_desc_get()
93 desc->txd.phys = phys; in dwc_desc_get()
107 dma_pool_free(dw->desc_pool, child, child->txd.phys); in dwc_desc_put()
111 dma_pool_free(dw->desc_pool, desc, desc->txd.phys); in dwc_desc_put()
211 channel_writel(dwc, LLP, first->txd.phys | lms); in dwc_dostart()
226 dev_vdbg(chan2dev(&dwc->chan), "%s: started %u\n", __func__, desc->txd.cookie); in dwc_dostart_first_queued()
236 struct dma_async_tx_descriptor *txd = &desc->txd; in dwc_descriptor_complete() local
241 dev_vdbg(chan2dev(&dwc->chan), "descriptor %u complete\n", txd->cookie); in dwc_descriptor_complete()
244 dma_cookie_complete(txd); in dwc_descriptor_complete()
246 dmaengine_desc_get_callback(txd, &cb); in dwc_descriptor_complete()
252 async_tx_ack(&child->txd); in dwc_descriptor_complete()
253 async_tx_ack(&desc->txd); in dwc_descriptor_complete()
368 if (desc->txd.phys == DWC_LLP_LOC(llp)) { in dwc_scan_descriptors()
453 " cookie: %d\n", bad_desc->txd.cookie); in dwc_handle_error()
592 lli_write(prev, llp, desc->txd.phys | lms); in dwc_prep_dma_memcpy()
604 first->txd.flags = flags; in dwc_prep_dma_memcpy()
607 return &first->txd; in dwc_prep_dma_memcpy()
680 lli_write(prev, llp, desc->txd.phys | lms); in dwc_prep_slave_sg()
729 lli_write(prev, llp, desc->txd.phys | lms); in dwc_prep_slave_sg()
754 return &first->txd; in dwc_prep_slave_sg()
973 if (desc->txd.cookie == c) in dwc_find_desc()