fsldma_run_t...lete_actions(9)
π fsldma_run_tx_complete_actions β cleanup a single link descriptor
okay so this is from the Kernel API Manual, bestie β yes, the actual kernel docs, we're literally in the big leagues today π
β¨ SYNOPSIS β¨
dma_cookie_t fsldma_run_tx_complete_actions (struct fsldma_chan *chan ,
struct fsl_desc_sw *desc , dma_cookie_t cookie );
like, that's the whole signature, no cap π
π«Ά ARGUMENTS π«Ά
chanβ the Freescale DMA channel. your channel. your main character π¦descβ the descriptor to cleanup and free. she's done her job, now she gets released πcookieβ the Freescale DMA transaction identifier. yes it's really called a cookie π
πΈ DESCRIPTION πΈ
so the vibe here is: this function gets called on a descriptor that's already been executed by the DMA controller. it's the little post-run ritual β¨
what it does, fr fr:
- runs any callbacks that got attached
- submits any dependencies
that's it, that's the function β she cleans up a single link descriptor and moves on π periodt.
π SEE ALSO π
the kernel file is ./drivers/dma/fsldma.c β go read it, iykyk π
and the whole squad of related functions, in the order the manpage lists them:
fsl_chan_set_src_loop_size(9)fsl_chan_set_dst_loop_size(9)fsl_chan_set_request_count(9)fsl_chan_toggle_ext_pause(9)fsl_chan_toggle_ext_start(9)fsl_dma_free_descriptor(9)fsl_dma_alloc_descriptor(9)fsldma_clean_completed_descriptor(9)fsldma_clean_running_descriptor(9)fsl_chan_xfer_ld_queue(9)fsldma_cleanup_descriptors(9)fsl_dma_alloc_chan_resources(9)fsldma_free_desc_list(9)fsl_dma_free_chan_resources(9)fsl_dma_memcpy_issue_pending(9)fsl_tx_status(9)
ok that's the whole page bestie, no filler, every single reference is up there πβ¨
sign-off time π this one lives under ./drivers/dma and it's dated October 2026 β screenshot it, cite it, cite me, whatever, go slay your DMA cleanup π₯ππ
π¦ 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