zynqmp_dma_prep_memcpy(9)
π« zynqmp_dma_prep_memcpy(9) π«
okay bestie, welcome to the Kernel API Manual β¨ β today's main character is zynqmp_dma_prep_memcpy(9), and honestly? she's giving "quietly essential". let's get into it π«Ά
πΈ NAME πΈ
zynqmp_dma_prep_memcpy β prepare descriptors for memcpy transaction π
like, she's the one doing the prep work before the actual copy happens. the backstage icon. the pre-show glam. π
π¦ SYNOPSIS π¦
struct dma_async_tx_descriptor * zynqmp_dma_prep_memcpy (struct dma_chan
*dchan , dma_addr_t dma_dst , dma_addr_t dma_src , size_t len , ulong
flags );
no cap, that's the whole signature. every param, every type, exactly as it is. don't @ me, I didn't write it π
β¨ ARGUMENTS β¨
dchanβ the DMA channel π like, the lane she's driving indma_dstβ destination buffer address π― where the stuff is goingdma_srcβ source buffer address π¦ where the stuff is coming fromlenβ transfer length π how much we're moving, bestieflagsβ transfer ack flags π© the acknowledgement vibes
π RETURN π
async transaction descriptor on success π and NULL on failure π β so like, always check, okay? don't be out here dereferencing a NULL and acting surprised π
π SEE ALSO π
the whole friend group, fr fr. she does not exist in a vacuum π§
Kernel file ./drivers/dma/xilinx/zynqmp_dma.c, plus:
struct zynqmp_dma_desc_ll(9)struct zynqmp_dma_desc_sw(9)struct zynqmp_dma_chan(9)struct zynqmp_dma_device(9)zynqmp_dma_update_desc_to_ctrlr(9)zynqmp_dma_desc_config_eod(9)zynqmp_dma_config_sg_ll_desc(9)zynqmp_dma_init(9)zynqmp_dma_tx_submit(9)zynqmp_dma_get_descriptor(9)zynqmp_dma_free_descriptor(9)zynqmp_dma_free_desc_list(9)zynqmp_dma_alloc_chan_resources(9)zynqmp_dma_start(9)zynqmp_dma_handle_ovfl_int(9)zynqmp_dma_device_config(9)zynqmp_dma_start_transfer(9)zynqmp_dma_chan_desc_cleanup(9)zynqmp_dma_complete_descriptor(9)zynqmp_dma_issue_pending(9)zynqmp_dma_free_descriptors(9)zynqmp_dma_free_chan_resources(9)zynqmp_dma_reset(9)zynqmp_dma_irq_handler(9)zynqmp_dma_do_tasklet(9)zynqmp_dma_device_terminate_all(9)zynqmp_dma_synchronize(9)zynqmp_dma_chan_remove(9)zynqmp_dma_chan_probe(9)of_zynqmp_dma_xlate(9)zynqmp_dma_suspend(9)zynqmp_dma_resume(9)zynqmp_dma_runtime_suspend(9)zynqmp_dma_runtime_resume(9)zynqmp_dma_probe(9)zynqmp_dma_remove(9)
reminder bestie: this page lives under ./drivers/dma/xilinx, so if you go looking for the source, that's the neighborhood π‘
and that's the whole vibe check π
signing off from the Kernel API Manual, dated October 2026, brought to you by ./drivers/dma/xilinx β stay hydrated, read your structs, and may all your descriptors be async and your returns non-NULL πβ¨ππ¦πΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms