STRUCT AT_DMA(9)
π¦ struct at_dma π¦
okay bestie, this is the struct at_dma(9) page from the Kernel API Manual, and it's literally about the internal representation of an Atmel HDMA Controller. no cap, this is the kernel-internal struct vibe. π
β¨ NAME β¨
struct at_dma β internal representation of an Atmel HDMA Controller. periodt, that's the whole name-and-purpose combo. π
πΈ SYNOPSIS πΈ
here's the exact shape, character for character:
struct at_dma {
struct dma_device dma_device;
void __iomem *regs;
struct clk *clk;
u32 save_imr;
u8 all_chan_mask;
struct dma_pool *lli_pool;
struct dma_pool *memset_pool;
struct at_dma_chan chan[];
};
π«Ά Members π«Ά
dma_deviceβ thedmaenginedma_deviceobject members. πregsβ memory mapped register base. πclkβ dma controller clock. β°save_imrβ interrupt mask register that is saved on suspend/resume cycle. π΄all_chan_maskβ all channels available in a mask. πlli_poolβ hw lli table. π§Ύmemset_poolβ hw memset pool. π«§chanβ channels table to storeat_dma_chanstructures. ποΈ
π SEE ALSO π
the kernel file is ./drivers/dma/at_hdmac.c, and the related reference squad is:
struct atdma_sg(9)struct at_desc(9)enum atc_status(9)struct at_dma_chan(9)atc_chan_is_enabled(9)atc_chan_is_paused(9)atc_chan_is_cyclic(9)set_lli_eol(9)struct at_dma_platform_data(9)struct at_dma_slave(9)atc_dostart(9)atc_calc_bytes_left(9)atc_get_llis_residue(9)atc_get_residue(9)atc_handle_error(9)atc_prep_dma_interleaved(9)atc_prep_dma_memcpy(9)atc_prep_dma_memset(9)atc_prep_slave_sg(9)atc_prep_dma_cyclic(9)atc_tx_status(9)atc_alloc_chan_resources(9)atc_free_chan_resources(9)at_dma_off(9)
kisses bestie, this page came from source ./drivers/dma, version struct at_dma(9), dated October 2026. byeee ππ
π¦ 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