STRUCT DWC2_DMA_DESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct dwc2_dma_desc(9) ✨

okay bestie, welcome to the Kernel API Manual β€” today's main character is struct dwc2_dma_desc, and honestly? she's small, she's iconic, and she's doing the absolute most for both host and gadget modes. πŸ’…


🌸 NAME 🌸

struct dwc2_dma_desc β€” the DMA descriptor structure, and yes, it's the same one used for both host and gadget modes. one struct, two jobs, versatility queen πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

struct dwc2_dma_desc {
    u32 status;
    u32 buf;
 };

look at her. two fields. no notes. 🫢


πŸŽ€ Members πŸŽ€

  • status β€” the DMA descriptor status quadlet. that's the whole vibe check right there ✨
  • buf β€” the DMA descriptor data buffer pointer. she points at the data, that's her job 🎯

πŸ’– Description πŸ’–

so the DMA Descriptor structure contains exactly two quadlets: the Status quadlet and the Data buffer pointer. that's it, that's the structure. short, sweet, and lowkey perfect πŸ’€βœ¨


🌈 SEE ALSO 🌈

  • Kernel file ./drivers/usb/dwc2/hw.h β€” go read it, iykyk πŸ“–

and that's the whole page, bestie! no cap, you now know everything there is to know about struct dwc2_dma_desc πŸ§šπŸ’œ

sign-off time: this lil slice of documentation lives under ./drivers/usb/dwc2, dated October 2026, and the page itself is struct dwc2_dma_desc(9) β€” mwah, catch you in the next manpage πŸ’‹πŸŽ€

πŸ“¦ where this page comes from