Lines Matching refs:depend_tx

59 	struct dma_async_tx_descriptor *depend_tx = submit->depend_tx;  in __async_tx_find_channel()  local
62 if (depend_tx && in __async_tx_find_channel()
63 dma_has_cap(tx_type, depend_tx->chan->device->cap_mask)) in __async_tx_find_channel()
64 return depend_tx->chan; in __async_tx_find_channel()
78 async_tx_channel_switch(struct dma_async_tx_descriptor *depend_tx, in async_tx_channel_switch() argument
81 struct dma_chan *chan = depend_tx->chan; in async_tx_channel_switch()
86 txd_lock(depend_tx); in async_tx_channel_switch()
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()
91 txd_unlock(depend_tx); in async_tx_channel_switch()
116 txd_lock(depend_tx); in async_tx_channel_switch()
117 if (txd_parent(depend_tx)) { in async_tx_channel_switch()
118 txd_chain(depend_tx, intr_tx); in async_tx_channel_switch()
122 txd_unlock(depend_tx); in async_tx_channel_switch()
131 if (dma_wait_for_async_tx(depend_tx) != DMA_COMPLETE) in async_tx_channel_switch()
159 struct dma_async_tx_descriptor *depend_tx = submit->depend_tx; in async_tx_submit() local
164 if (depend_tx) { in async_tx_submit()
173 BUG_ON(async_tx_test_ack(depend_tx) || txd_next(depend_tx) || in async_tx_submit()
179 txd_lock(depend_tx); in async_tx_submit()
180 if (txd_parent(depend_tx)) { in async_tx_submit()
185 if (depend_tx->chan == chan) { in async_tx_submit()
186 txd_chain(depend_tx, tx); in async_tx_submit()
194 if (depend_tx->chan == chan) in async_tx_submit()
199 txd_unlock(depend_tx); in async_tx_submit()
205 async_tx_channel_switch(depend_tx, tx); in async_tx_submit()
220 if (depend_tx) in async_tx_submit()
221 async_tx_ack(depend_tx); in async_tx_submit()
239 struct dma_async_tx_descriptor *depend_tx = submit->depend_tx; in async_trigger_callback() local
241 if (depend_tx) { in async_trigger_callback()
242 chan = depend_tx->chan; in async_trigger_callback()
263 async_tx_quiesce(&submit->depend_tx); in async_trigger_callback()