STRUCT DWC2_DMA_DESC(9)
β¨ 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
- 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