Lines Matching refs:sw_desc
217 struct mv_xor_desc_slot *sw_desc) in mv_chan_start_new_chain() argument
220 __func__, __LINE__, sw_desc); in mv_chan_start_new_chain()
223 mv_chan_set_next_descriptor(mv_chan, sw_desc->async_tx.phys); in mv_chan_start_new_chain()
411 struct mv_xor_desc_slot *sw_desc = to_mv_xor_slot(tx); in mv_xor_tx_submit() local
419 __func__, sw_desc, &sw_desc->async_tx); in mv_xor_tx_submit()
425 list_move_tail(&sw_desc->node, &mv_chan->chain); in mv_xor_tx_submit()
432 list_move_tail(&sw_desc->node, &mv_chan->chain); in mv_xor_tx_submit()
438 mv_desc_set_next_desc(old_chain_tail, sw_desc->async_tx.phys); in mv_xor_tx_submit()
453 mv_chan_start_new_chain(mv_chan, sw_desc); in mv_xor_tx_submit()
508 struct mv_xor_desc_slot *sw_desc; in mv_xor_prep_dma_xor() local
519 sw_desc = mv_chan_alloc_slot(mv_chan); in mv_xor_prep_dma_xor()
520 if (sw_desc) { in mv_xor_prep_dma_xor()
521 sw_desc->type = DMA_XOR; in mv_xor_prep_dma_xor()
522 sw_desc->async_tx.flags = flags; in mv_xor_prep_dma_xor()
523 mv_desc_init(sw_desc, dest, len, flags); in mv_xor_prep_dma_xor()
525 mv_desc_set_mode(sw_desc); in mv_xor_prep_dma_xor()
527 mv_desc_set_src_addr(sw_desc, src_cnt, src[src_cnt]); in mv_xor_prep_dma_xor()
532 __func__, sw_desc, &sw_desc->async_tx); in mv_xor_prep_dma_xor()
533 return sw_desc ? &sw_desc->async_tx : NULL; in mv_xor_prep_dma_xor()