STRUCT OWL_DMA(9)
πΈ 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
- 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