STRUCT AT_DMA_PLATFORM_DATA(9)
π NAME π
struct at_dma_platform_data β controller configuration parameters. This is the Kernel API Manual page for struct at_dma_platform_data(9), and yes bestie, itβs giving βtiny struct, very important controller glow-up.β β¨
β¨ SYNOPSIS β¨
struct at_dma_platform_data {
unsigned int nr_channels;
dma_cap_mask_t cap_mask;
};
π Members π
nr_channelsβ the number of channels supported by hardware (max 8). Literally the channel count, and it maxes out at 8, fr fr. π₯cap_maskβ thedma_capabilityflags supported by the platform. This is the platformβs βwhat can we actually do?β mask. π
Vibe check: nr_channels is capped at 8, no cap on how iconic that little field is. π«Ά
π SEE ALSO π
Kernel file ./drivers/dma/at_hdmac.c is the home base, and the rest of the friend group is struct atdma_sg(9), struct at_desc(9), enum atc_status(9), struct at_dma_chan(9), struct at_dma(9), atc_chan_is_enabled(9), atc_chan_is_paused(9), atc_chan_is_cyclic(9), set_lli_eol(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), and at_dma_off(9). ππ
π Thatβs the whole page, bestie! Source:./drivers/dmaΒ· date:October 2026Β· manual:struct at_dma_platform_data(9). Go forth and configure those channels, periodt. π β¨
π¦ 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