Lines Matching refs:tx
36 struct dma_async_tx_descriptor *tx; in async_sum_product() local
54 tx = dma->device_prep_dma_pq(chan, pq, unmap->addr, 2, coef, in async_sum_product()
56 if (tx) { in async_sum_product()
57 dma_set_unmap(tx, unmap); in async_sum_product()
58 async_tx_submit(chan, tx, submit); in async_sum_product()
60 return tx; in async_sum_product()
104 struct dma_async_tx_descriptor *tx; in async_mult() local
122 tx = dma->device_prep_dma_pq(chan, dma_dest, unmap->addr, in async_mult()
125 if (tx) { in async_mult()
126 dma_set_unmap(tx, unmap); in async_mult()
128 async_tx_submit(chan, tx, submit); in async_mult()
129 return tx; in async_mult()
157 struct dma_async_tx_descriptor *tx = NULL; in __2data_recov_4() local
186 init_async_submit(submit, ASYNC_TX_FENCE, tx, NULL, NULL, scribble); in __2data_recov_4()
187 tx = async_sum_product(b, b_off, srcs, src_offs, coef, bytes, submit); in __2data_recov_4()
194 init_async_submit(submit, flags | ASYNC_TX_XOR_ZERO_DST, tx, cb_fn, in __2data_recov_4()
196 tx = async_xor_offs(a, a_off, srcs, src_offs, 2, bytes, submit); in __2data_recov_4()
198 return tx; in __2data_recov_4()
207 struct dma_async_tx_descriptor *tx = NULL; in __2data_recov_5() local
247 init_async_submit(submit, ASYNC_TX_FENCE, tx, NULL, NULL, scribble); in __2data_recov_5()
248 tx = async_memcpy(dp, g, dp_off, g_off, bytes, submit); in __2data_recov_5()
249 init_async_submit(submit, ASYNC_TX_FENCE, tx, NULL, NULL, scribble); in __2data_recov_5()
250 tx = async_mult(dq, dq_off, g, g_off, in __2data_recov_5()
258 init_async_submit(submit, ASYNC_TX_FENCE|ASYNC_TX_XOR_DROP_DST, tx, in __2data_recov_5()
260 tx = async_xor_offs(dp, dp_off, srcs, src_offs, 2, bytes, submit); in __2data_recov_5()
267 init_async_submit(submit, ASYNC_TX_FENCE|ASYNC_TX_XOR_DROP_DST, tx, in __2data_recov_5()
269 tx = async_xor_offs(dq, dq_off, srcs, src_offs, 2, bytes, submit); in __2data_recov_5()
278 init_async_submit(submit, ASYNC_TX_FENCE, tx, NULL, NULL, scribble); in __2data_recov_5()
279 tx = async_sum_product(dq, dq_off, srcs, src_offs, coef, bytes, submit); in __2data_recov_5()
286 init_async_submit(submit, flags | ASYNC_TX_XOR_DROP_DST, tx, cb_fn, in __2data_recov_5()
288 tx = async_xor_offs(dp, dp_off, srcs, src_offs, 2, bytes, submit); in __2data_recov_5()
290 return tx; in __2data_recov_5()
298 struct dma_async_tx_descriptor *tx = NULL; in __2data_recov_n() local
329 init_async_submit(submit, ASYNC_TX_FENCE, tx, NULL, NULL, scribble); in __2data_recov_n()
330 tx = async_gen_syndrome(blocks, offs, disks, bytes, submit); in __2data_recov_n()
347 init_async_submit(submit, ASYNC_TX_FENCE|ASYNC_TX_XOR_DROP_DST, tx, in __2data_recov_n()
349 tx = async_xor_offs(dp, dp_off, srcs, src_offs, 2, bytes, submit); in __2data_recov_n()
356 init_async_submit(submit, ASYNC_TX_FENCE|ASYNC_TX_XOR_DROP_DST, tx, in __2data_recov_n()
358 tx = async_xor_offs(dq, dq_off, srcs, src_offs, 2, bytes, submit); in __2data_recov_n()
367 init_async_submit(submit, ASYNC_TX_FENCE, tx, NULL, NULL, scribble); in __2data_recov_n()
368 tx = async_sum_product(dq, dq_off, srcs, src_offs, coef, bytes, submit); in __2data_recov_n()
375 init_async_submit(submit, flags | ASYNC_TX_XOR_DROP_DST, tx, cb_fn, in __2data_recov_n()
377 tx = async_xor_offs(dp, dp_off, srcs, src_offs, 2, bytes, submit); in __2data_recov_n()
379 return tx; in __2data_recov_n()
475 struct dma_async_tx_descriptor *tx = NULL; in async_raid6_datap_recov() local
546 init_async_submit(submit, ASYNC_TX_FENCE, tx, NULL, NULL, in async_raid6_datap_recov()
548 tx = async_memcpy(p, g, p_off, g_off, bytes, submit); in async_raid6_datap_recov()
550 init_async_submit(submit, ASYNC_TX_FENCE, tx, NULL, NULL, in async_raid6_datap_recov()
552 tx = async_mult(dq, dq_off, g, g_off, in async_raid6_datap_recov()
555 init_async_submit(submit, ASYNC_TX_FENCE, tx, NULL, NULL, in async_raid6_datap_recov()
557 tx = async_gen_syndrome(blocks, offs, disks, bytes, submit); in async_raid6_datap_recov()
573 init_async_submit(submit, ASYNC_TX_FENCE|ASYNC_TX_XOR_DROP_DST, tx, in async_raid6_datap_recov()
575 tx = async_xor_offs(dq, dq_off, srcs, src_offs, 2, bytes, submit); in async_raid6_datap_recov()
577 init_async_submit(submit, ASYNC_TX_FENCE, tx, NULL, NULL, scribble); in async_raid6_datap_recov()
578 tx = async_mult(dq, dq_off, dq, dq_off, coef, bytes, submit); in async_raid6_datap_recov()
584 init_async_submit(submit, flags | ASYNC_TX_XOR_DROP_DST, tx, cb_fn, in async_raid6_datap_recov()
586 tx = async_xor_offs(p, p_off, srcs, src_offs, 2, bytes, submit); in async_raid6_datap_recov()
588 return tx; in async_raid6_datap_recov()