fsl_chan_set_dst_loop_size(9)
π fsl_chan_set_dst_loop_size
Okay bestie, welcome to the Kernel API Manual page for fsl_chan_set_dst_loop_size(9) β yes that name is a whole mouthful, and yes we're gonna get through it together. π«Ά
β¨ NAME β¨
fsl_chan_set_dst_loop_size β set the destination address hold transfer size
πΈ SYNOPSIS πΈ
void fsl_chan_set_dst_loop_size (struct fsldma_chan *chan , int size );
π ARGUMENTS π
chanβ a Freescale DMA channel. That's the little guy you're configuring πsizeβ the address loop size. Pass0to disable the loop entirely, no cap.
π¦ DESCRIPTION π¦
So this one sets the destination address hold transfer size β the destination address hold, aka the loop transfer size. Lowkey obsessed with how simple the concept is once you see it.
Here's the vibe: when the DMA transfers data to the destination address (TA), and the loop size is 4, the DMA will write data to TA, TA + 1, TA + 2, TA + 3 β and then loop right back around to TA, TA + 1 β¦ and so on, forever and ever, main character energy. πβ¨
π SEE ALSO π
Kernel file ./drivers/dma/fsldma.c, plus these iconic siblings:
fsl_chan_set_src_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_run_tx_complete_actions(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)
That's the whole page, bestie β nothing skipped, nothing spilled. π
Sign-off time: this cutie lives in ./drivers/dma, dated October 2026, and it's filed under fsl_chan_set_dst_loop_size(9). Slay, go configure your DMA loop sizes responsibly. π
π
π¦ 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