Lines Matching defs:sw_desc
175 * chain headed by sw_desc
179 struct mv_xor_desc_slot *sw_desc)
181 dev_dbg(mv_chan_to_devp(mv_chan), "%s %d: sw_desc %p\n",
182 __func__, __LINE__, sw_desc);
185 mv_chan_set_next_descriptor(mv_chan, sw_desc->async_tx.phys);
384 struct mv_xor_desc_slot *sw_desc = to_mv_xor_slot(tx);
391 "%s sw_desc %p: async_tx %p\n",
392 __func__, sw_desc, &sw_desc->async_tx);
398 list_move_tail(&sw_desc->node, &mv_chan->chain);
405 list_move_tail(&sw_desc->node, &mv_chan->chain);
411 mv_desc_set_next_desc(old_chain_tail, sw_desc->async_tx.phys);
426 mv_chan_start_new_chain(mv_chan, sw_desc);
559 struct mv_xor_desc_slot *sw_desc;
576 sw_desc = mv_chan_alloc_slot(mv_chan);
577 if (sw_desc) {
578 sw_desc->type = DMA_XOR;
579 sw_desc->async_tx.flags = flags;
580 mv_desc_init(sw_desc, dest, len, flags);
582 mv_desc_set_mode(sw_desc);
588 mv_desc_set_src_addr(sw_desc, src_cnt, src[src_cnt]);
593 "%s sw_desc %p async_tx %p \n",
594 __func__, sw_desc, &sw_desc->async_tx);
595 return sw_desc ? &sw_desc->async_tx : NULL;