fsldma_cleanup_descriptors(9)
π fsldma_cleanup_descriptors(9) β like, the Kernel API Manual one π
okay bestie, buckle up, we're doing kernel DMA bookkeeping and honestly? it's giving cleanup era β¨ (this is from the Kernel API Manual, yes, we're fancy now π )
β¨ NAME β¨
fsldma_cleanup_descriptors β cleanup link descriptors which are completed and move them to ld_completed to free until flag 'ack' is set π§Ήπ
Like literally, that whole sentence is the vibe: finished descriptors get rounded up, callbacks happen, and they get parked in ld_completed until 'ack' says they can go π«Ά
πΈ SYNOPSIS πΈ
void fsldma_cleanup_descriptors (struct fsldma_chan *chan );
no return value, it's a void, she just does things and leaves π
π¦ ARGUMENTS π¦
chanβ Freescale DMA channel π that's the one and only arg, the main character of this function fr fr
π DESCRIPTION π
okay so picture this π this function is used on descriptors which have been executed by the DMA controller β like, they've already had their moment, they ate, and now it's time to deal with the aftermath π₯
It will run any callbacks, submit any dependencies, then free these descriptors if flag 'ack' is set β
that's it, that's the whole job, but it's important, no cap π§
note the conditional bestie!! nothing gets freed unless 'ack' is set β the flag is the whole gatekeeper here π
β SEE ALSO β
Kernel file ./drivers/dma/fsldma.c π and also, the whole friend group:
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_run_tx_complete_actions(9)fsldma_clean_running_descriptor(9)fsl_chan_xfer_ld_queue(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)
alright that's the page!! π«Ά this little icon lives in ./drivers/dma, dated October 2026, and yeah β she's a fsldma_cleanup_descriptors(9) girlie through and through π byeee πβ¨
π¦ 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