Lines Matching refs:dest
504 mv_xor_prep_dma_xor(struct dma_chan *chan, dma_addr_t dest, dma_addr_t *src, in mv_xor_prep_dma_xor() argument
517 __func__, src_cnt, len, &dest, flags); in mv_xor_prep_dma_xor()
523 mv_desc_init(sw_desc, dest, len, flags); in mv_xor_prep_dma_xor()
537 mv_xor_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dest, dma_addr_t src, in mv_xor_prep_dma_memcpy() argument
544 return mv_xor_prep_dma_xor(chan, dest, &src, 1, len, flags); in mv_xor_prep_dma_memcpy()
551 dma_addr_t src, dest; in mv_xor_prep_dma_interrupt() local
555 dest = mv_chan->dummy_dst_addr; in mv_xor_prep_dma_interrupt()
562 return mv_xor_prep_dma_xor(chan, dest, &src, 1, len, flags); in mv_xor_prep_dma_interrupt()
702 void *src, *dest; in mv_chan_memcpy_self_test() local
714 dest = kzalloc(sizeof(u8) * PAGE_SIZE, GFP_KERNEL); in mv_chan_memcpy_self_test()
715 if (!dest) { in mv_chan_memcpy_self_test()
747 dest_dma = dma_map_page(dma_chan->device->dev, virt_to_page(dest), 0, in mv_chan_memcpy_self_test()
790 if (memcmp(src, dest, PAGE_SIZE)) { in mv_chan_memcpy_self_test()
802 kfree(dest); in mv_chan_memcpy_self_test()
811 struct page *dest; in mv_chan_xor_self_test() local
833 dest = alloc_page(GFP_KERNEL); in mv_chan_xor_self_test()
834 if (!dest) { in mv_chan_xor_self_test()
853 memset(page_address(dest), 0, PAGE_SIZE); in mv_chan_xor_self_test()
881 unmap->addr[src_count] = dma_map_page(dma_chan->device->dev, dest, 0, PAGE_SIZE, in mv_chan_xor_self_test()
924 u32 *ptr = page_address(dest); in mv_chan_xor_self_test()
941 __free_page(dest); in mv_chan_xor_self_test()