Lines Matching refs:dest

555 mv_xor_prep_dma_xor(struct dma_chan *chan, dma_addr_t dest, dma_addr_t *src,  in mv_xor_prep_dma_xor()  argument
569 __func__, src_cnt, len, &dest, flags); in mv_xor_prep_dma_xor()
572 ret = mv_xor_add_io_win(mv_chan, dest); in mv_xor_prep_dma_xor()
580 mv_desc_init(sw_desc, dest, len, flags); in mv_xor_prep_dma_xor()
599 mv_xor_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dest, dma_addr_t src, in mv_xor_prep_dma_memcpy() argument
606 return mv_xor_prep_dma_xor(chan, dest, &src, 1, len, flags); in mv_xor_prep_dma_memcpy()
613 dma_addr_t src, dest; in mv_xor_prep_dma_interrupt() local
617 dest = mv_chan->dummy_dst_addr; in mv_xor_prep_dma_interrupt()
624 return mv_xor_prep_dma_xor(chan, dest, &src, 1, len, flags); in mv_xor_prep_dma_interrupt()
764 void *src, *dest; in mv_chan_memcpy_self_test() local
776 dest = kzalloc(PAGE_SIZE, GFP_KERNEL); in mv_chan_memcpy_self_test()
777 if (!dest) { in mv_chan_memcpy_self_test()
810 dest_dma = dma_map_page(dma_chan->device->dev, virt_to_page(dest), in mv_chan_memcpy_self_test()
811 offset_in_page(dest), PAGE_SIZE, in mv_chan_memcpy_self_test()
854 if (memcmp(src, dest, PAGE_SIZE)) { in mv_chan_memcpy_self_test()
866 kfree(dest); in mv_chan_memcpy_self_test()
875 struct page *dest; in mv_chan_xor_self_test() local
897 dest = alloc_page(GFP_KERNEL); in mv_chan_xor_self_test()
898 if (!dest) { in mv_chan_xor_self_test()
917 memset(page_address(dest), 0, PAGE_SIZE); in mv_chan_xor_self_test()
945 unmap->addr[src_count] = dma_map_page(dma_chan->device->dev, dest, 0, PAGE_SIZE, in mv_chan_xor_self_test()
988 u32 *ptr = page_address(dest); in mv_chan_xor_self_test()
1005 __free_page(dest); in mv_chan_xor_self_test()