zynqmp_dma_c...g_sg_ll_desc(9)
π zynqmp_dma_c...g_sg_ll_desc(9) β bestie edition π
okay so this is a page from the Kernel API Manual, and honestly? it's a little gem. we're configuring a linked list descriptor today and you're gonna slay it, i promise π«Ά
β¨ NAME β¨
zynqmp_dma_config_sg_ll_desc β Configure the linked list descriptor π«
like... that's the whole vibe. you're setting up the hardware's little to-do list entry so it knows where to grab stuff and where to yeet it. iconic behavior honestly π
πΈ SYNOPSIS πΈ
void zynqmp_dma_config_sg_ll_desc (struct zynqmp_dma_chan *chan,
struct zynqmp_dma_desc_ll *sdesc,
dma_addr_t src,
dma_addr_t dst,
size_t len,
struct zynqmp_dma_desc_ll *prev);
not me putting the params on their own lines so you can actually read them π she returns void btw, so like, no return value to obsess over. it just does the thing. periodt.
π¦ ARGUMENTS π¦
six parameters, six little besties, let's meet them π
chanβ ZynqMP DMA channel pointer. this is the main character β the whole channel we're working in πsdescβ Hw descriptor pointer. the actual hardware descriptor you're about to dress up β¨srcβ Source buffer address. where the data's coming from, the origin story π«dstβ Destination buffer address. where it's headed, the glow-up destination πlenβ Transfer length. how much data we're moving, no cap πprevβ Previous hw descriptor pointer. the one that came before β linked list realness, iykyk π
π SEE ALSO π
these are all from the Kernel file ./drivers/dma/xilinx/zynqmp_dma.c β the whole friend group fr fr π
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_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_prep_memcpy(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)
like, that's the entire extended universe right there π₯ go read them, i'm literally begging π
okay bestie, that's the whole page π huge shoutout to the source at ./drivers/dma/xilinx, dated October 2026, and yeah β this was zynqmp_dma_c...g_sg_ll_desc(9) from the Kernel API Manual. mwah, go configure some descriptors, you've got this π
β¨
π¦ 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