26 #include <linux/kernel.h>
28 #include <linux/module.h>
46 unsigned int src_offset,
size_t len,
50 &dest, 1, &src, 1, len);
54 if (device && is_dma_copy_aligned(device, src_offset, dest_offset, len)) {
56 unsigned long dma_prep_flags = 0;
73 pr_debug(
"%s: (async) len: %zu\n", __func__, len);
76 void *dest_buf, *src_buf;
77 pr_debug(
"%s: (sync) len: %zu\n", __func__, len);
85 memcpy(dest_buf, src_buf, len);
90 async_tx_sync_epilog(submit);