fsl_chan_set_request_count(9)
π
fsl_chan_set_request_count (9) β Kernel API Manual
okay so bestie, welcome to the Freescale DMA channel corner of the kernel, because we're about to talk about setting the DMA request count for external control β¨
πΈ NAME πΈ
fsl_chan_set_request_count β Set DMA Request Count for external control π
π¦ SYNOPSIS π¦
void fsl_chan_set_request_count (struct fsldma_chan *chan , int size );
like, that's the whole signature. void return, two args, no cap π
β ARGUMENTS β
chanβ the Freescale DMA channel, your main character here πsizeβ Number of bytes to transfer in a single request π
π DESCRIPTION π
so here's the vibe: the Freescale DMA channel can be controlled by the external signal DREQ#. and the DMA request count is literally how many bytes are allowed to transfer before pausing the channel β after which a new assertion of DREQ# resumes channel operation. it's giving "traffic light for bytes" π¦β¨
A size of 0 disables external pause control. and the maximum size is 1024 β so don't come in there with a bigger number, that's the ceiling, periodt π₯
π SEE ALSO π
Kernel file ./drivers/dma/fsldma.c plus the whole friend group π«Ά:
fsl_chan_set_src_loop_size(9)fsl_chan_set_dst_loop_size(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)
π reminder bestie:0= external pause control off,1024= the max. anything else is a vibe check you might fail, so keep it in range π
and that's the page!! π brought to you from ./drivers/dma, dated October 2026, signed off by fsl_chan_set_request_count(9) itself β slay, go set some request counts, ily ππ
π¦ 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