STRUCT PPC440SPE_ADMA_DEVICE(9)
π NAME
ok so bestie, this page is about struct ppc440spe_adma_device β it's the internal representation of an ADMA device β¨ like the lil' behind-the-scenes struct that holds everything together. no cap, it's the main character of the ADMA world π
this whole thing lives in the Kernel API Manual, iykyk π¦
πΈ SYNOPSIS
struct ppc440spe_adma_device {
struct device *dev;
struct dma_regs __iomem *dma_reg;
struct xor_regs __iomem *xor_reg;
struct i2o_regs __iomem *i2o_reg;
int id;
void *dma_desc_pool_virt;
dma_addr_t dma_desc_pool;
size_t pool_size;
int irq;
int err_irq;
struct dma_device common;
};
that's the whole vibe right there π₯ copy it exactly, don't be cute with it π
π«Ά Members
okay so here's the member-by-member breakdown, the way that each one is literally doing its own lil' job π§
devβ thedevice. that's it. that's the member π it's just the device, periodt.dma_regβ base forDMAxregister access. this is where you go to poke at the DMAx registers πxor_regβ base forXORregister access. same energy, different register block β¨i2o_regβ base forI2Oregister access. yes bestie, a third base πidβ HW ADMA Device selector. this is how the hardware knows which ADMA device we're talking about πdma_desc_pool_virtβ base of DMA descriptor region, but the CPU address flavor π§dma_desc_poolβ base of DMA descriptor region, and this one's the DMA address flavor π¦ (yes there are two, they are not the same, do not mix them up π)pool_sizeβ size of the pool. the pool's size. that's the whole thing πΈirqβ DMAx or XOR irq number. either one, depending on the moment πerr_irqβ DMAx error irq number. this one's specifically for the errors πcommonβ embeddedstruct dma_device. it's nested. it's cozy. it's embedded π
β SEE ALSO
- Kernel file
./drivers/dma/ppc4xx/adma.h struct ppc440spe_adma_chan(9)struct ppc440spe_adma_desc_slot(9)
like, go read those too, bestie, they're all in the same friend group π«Ά
okay and before you go β the source is ./drivers/dma/ppc4xx, dated October 2026, and the whole thing answers to the name struct ppc44..._adma_device(9) (yes, the header/footer literally abbreviates it like that, no we did not do that, it's giving truncated π). slay, go forth and be iconic with your ADMA devices π
β¨π
π¦ 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