我想使用dmaengine.c文件(linux/drivers/dma)中的dma_async_memcpy_buf_to_buf函数进行dma。为此,我在dmatest.c文件(linux/drivers/dma)中添加了一个函数,如下所示:voidfoo(){intindex=0;dma_cookie_tcookie;size_tlen=0x20000;ktime_tstart,end,end1,end2,end3;s64actual_time;u16*dest;u16*src;dest=kmalloc(len,GFP_KERNEL);src=kmalloc(len,GFP_KER
我想使用dmaengine.c文件(linux/drivers/dma)中的dma_async_memcpy_buf_to_buf函数进行dma。为此,我在dmatest.c文件(linux/drivers/dma)中添加了一个函数,如下所示:voidfoo(){intindex=0;dma_cookie_tcookie;size_tlen=0x20000;ktime_tstart,end,end1,end2,end3;s64actual_time;u16*dest;u16*src;dest=kmalloc(len,GFP_KERNEL);src=kmalloc(len,GFP_KER