zynqmp_dma_c...g_sg_ll_desc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ’œ

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