STRUCT OWL_DMA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct owl_dma(9) 🌸

okay so bestie, welcome to the struct owl_dma era β€” this is the Kernel API Manual page for the thing that literally holds the whole Owl DMA controller together. main character struct energy fr fr πŸ‘‘


✨ NAME ✨

struct owl_dma β€” the holder for the Owl DMA controller πŸ¦‰πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

struct owl_dma {
    struct dma_device       dma;
    void __iomem            *base;
    struct clk              *clk;
    spinlock_t lock;
    struct dma_pool         *lli_pool;
    int irq;
    unsigned int            nr_pchans;
    struct owl_dma_pchan    *pchans;
    unsigned int            nr_vchans;
    struct owl_dma_vchan    *vchans;
    enum owl_dma_id         devid;
 };

like, look at her. every field accounted for, nothing skipped, we love a complete struct 🫢


πŸ’… MEMBERS πŸ’…

  • dma β€” the dma engine for this instance, the whole point honestly ⭐
  • base β€” virtual memory base for the DMA controller, where it all lives ✨
  • clk β€” the clock for the DMA controller, she needs her timing bestie πŸ•
  • lock β€” a lock you use when you change DMA controller global register, no cap, use it πŸ™ˆ
  • lli_pool β€” a pool for the LLI descriptors, the little descriptor supply closet πŸŽ€
  • irq β€” interrupt ID for the DMA controller, the ping that says "hey, something happened" πŸ””
  • nr_pchans β€” the number of physical channels, count 'em πŸ”₯
  • pchans β€” array of data for the physical channels, one per physical channel πŸ¦‹
  • nr_vchans β€” the number of physical channels β€” yeah that's what the page says, don't come for me, I'm just reporting it verbatim πŸ˜­πŸ’€
  • vchans β€” array of data for the physical channels β€” again, exactly what it says, same energy, iykyk πŸ“
  • devid β€” device id based on OWL SoC, so she knows which Owl she's dealing with πŸ‘‘

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/dma/owl-dma.c
  • enum owl_dmadesc_offsets(9)
  • struct owl_dma_lli(9)
  • struct owl_dma_txd(9)
  • struct owl_dma_pchan(9)
  • struct owl_dma_vchan(9)

go read the whole squad, they're all iconic in their own way πŸ’œ


ngl bestie, that's the entire page β€” every member, every description, every reference, nothing dropped. slay. periodt. πŸ’…

and that's a wrap, mwah πŸ’– this one's living at ./drivers/dma, dated October 2026 β€” see you in the next one, ily bye! πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from