atc_handle_error(9)
π atc_handle_error β the Kernel API Manual tea
okay so bestie, welcome to atc_handle_error(9) β the little function that handles errors reported by the DMA controller β¨ like it's literally the cleanup crew of the kernel and honestly? iconic.
πΈ NAME πΈ
atc_handle_error β handle errors reported by DMA controller π«Ά
β¨ SYNOPSIS β¨
void atc_handle_error (struct at_dma_chan *atchan , unsigned int i );
no cap, that's the whole signature β she takes two things, she returns void, she minds her business π
π ARGUMENTS π
atchanβ the channel where the error occurs π like, the exact channel that's going through it right now.iβ the channel index π’ the number, the digits, the ID.
π¦ SEE ALSO π¦
fr fr go read these next, they're the whole friend group π
- the kernel file
./drivers/dma/at_hdmac.cπ (yes, that's the source of truth, periodt) 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_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_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)
bestie reminder π«Ά every one of those refs is listed exactly as the page gives them β iykyk, don't skip a single (9) or the vibe check fails π
okay that's the whole page, and it ships straight out of ./drivers/dma, dated October 2026 πβ β like she's literally stamped and dated and ready to slay π
β¨
π¦ 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