STRUCT AT_DMA_PLATFORM_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” the dma_capability flags 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