• Home
  • Raw
  • Download

Lines Matching refs:tx

79 			struct dma_async_tx_descriptor *tx)  in async_tx_channel_switch()  argument
87 if (txd_parent(depend_tx) && depend_tx->chan == tx->chan) { in async_tx_channel_switch()
88 txd_chain(depend_tx, tx); in async_tx_channel_switch()
113 txd_chain(intr_tx, tx); in async_tx_channel_switch()
134 tx->tx_submit(tx); in async_tx_channel_switch()
156 async_tx_submit(struct dma_chan *chan, struct dma_async_tx_descriptor *tx, in async_tx_submit() argument
161 tx->callback = submit->cb_fn; in async_tx_submit()
162 tx->callback_param = submit->cb_param; in async_tx_submit()
174 txd_parent(tx)); in async_tx_submit()
186 txd_chain(depend_tx, tx); in async_tx_submit()
205 async_tx_channel_switch(depend_tx, tx); in async_tx_submit()
208 txd_clear_parent(tx); in async_tx_submit()
209 tx->tx_submit(tx); in async_tx_submit()
213 txd_clear_parent(tx); in async_tx_submit()
214 tx->tx_submit(tx); in async_tx_submit()
218 async_tx_ack(tx); in async_tx_submit()
238 struct dma_async_tx_descriptor *tx; in async_trigger_callback() local
251 tx = device ? device->device_prep_dma_interrupt(chan, 0) : NULL; in async_trigger_callback()
253 tx = NULL; in async_trigger_callback()
255 if (tx) { in async_trigger_callback()
258 async_tx_submit(chan, tx, submit); in async_trigger_callback()
268 return tx; in async_trigger_callback()
276 void async_tx_quiesce(struct dma_async_tx_descriptor **tx) in async_tx_quiesce() argument
278 if (*tx) { in async_tx_quiesce()
282 BUG_ON(async_tx_test_ack(*tx)); in async_tx_quiesce()
283 if (dma_wait_for_async_tx(*tx) != DMA_SUCCESS) in async_tx_quiesce()
286 async_tx_ack(*tx); in async_tx_quiesce()
287 *tx = NULL; in async_tx_quiesce()