STRUCT PXAD_PARAM(9)
π struct pxad_param(9) π
okay bestie, welcome to the Kernel API Manual (section 9, very official, very demure) β today we're learning about struct pxad_param, which is literally just the little info packet you hand over when you want a DMA channel. it's giving "application form but for hardware" π
β¨ NAME β¨
struct pxad_param β dma channel request parameters π¦
like, the parameters. for requesting a dma channel. that's the whole vibe. no cap.
πΈ SYNOPSIS πΈ
here's the whole struct, bestie, and yes it's tiny β don't let the tinyness fool you, she's iconic:
struct pxad_param {
unsigned int drcmr;
enum pxad_chan_prio prio;
};
β οΈ real talk: copy this exactly if you're using it. character for character. no "fixing" the indentation, no renaming fields, none of that π
π Members π
two fields. two. and honestly? both matter. let's go:
drcmrβ the requestor line number π§ this is the number that says "hey, this is the line asking for the channel." that's it, that's the field.prioβ the minimal mandatory priority of the channel π key word: mandatory. this isn't a suggestion, this is a requirement, periodt.
π₯ Description π₯
okay so here's the actual tea β β if a requested channel is granted, its priority will be at least prio.
"at least" is doing so much work in that sentence, so let's spell it out the way the page does: if PXAD_PRIO_LOW is required, the requested channel will be either PXAD_PRIO_LOW, PXAD_PRIO_NORMAL or PXAD_PRIO_HIGHEST β¨
like, you're asking for a floor, not a ceiling. you say low, you might get low, you might get normal, you might get highest β but you will never get anything below what you asked for. main character energy fr fr π
π«Ά SEE ALSO π«Ά
Kernel file ./include/linux/dma/pxa-dma.h β go read it, iykyk π
and that's the page!! mwah π this one came from ./include/linux/dma and it's dated October 2026, so jot that down in your notes bestie ποΈβ slay, you now understand struct pxad_param. go request some channels 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