Lines Matching refs:txd
89 struct dma_async_tx_descriptor txd;
140 static inline struct pch_dma_desc *to_pd_desc(struct dma_async_tx_descriptor *txd)
142 return container_of(txd, struct pch_dma_desc, txd);
289 struct dma_async_tx_descriptor *txd = &desc->txd;
290 dma_async_tx_callback callback = txd->callback;
291 void *param = txd->callback_param;
331 bad_desc->txd.cookie);
356 desc->txd.cookie = cookie;
361 static dma_cookie_t pd_tx_submit(struct dma_async_tx_descriptor *txd)
363 struct pch_dma_desc *desc = to_pd_desc(txd);
364 struct pch_dma_chan *pd_chan = to_pd_chan(txd->chan);
391 dma_async_tx_descriptor_init(&desc->txd, chan);
392 desc->txd.tx_submit = pd_tx_submit;
393 desc->txd.flags = DMA_CTRL_ACK;
394 desc->txd.phys = addr;
409 if (async_tx_test_ack(&desc->txd)) {
501 pci_pool_free(pd->pool, desc, desc->txd.phys);
597 prev->regs.next |= desc->txd.phys;
609 first->txd.cookie = -EBUSY;
610 desc->txd.flags = flags;
612 return &first->txd;