fsl_chan_set_request_count(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 🫢:


πŸ’€ 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