cpm_muram_addr(9)
β¨ cpm_muram_addr β¨
Okay so bestie, welcome to the Kernel API Manual page for cpm_muram_addr(9) β yes the (9) is giving "kernel section, don't @ me", and yes we're gonna get through this together π«Ά
π NAME π
cpm_muram_addr β turn a muram offset into a virtual address β¨
No cap, that's literally the whole job. You hand it an offset, it hands you back a virtual address. Glow-up for numbers π
πΈ SYNOPSIS πΈ
void __iomem * cpm_muram_addr (unsigned long offset );
Look at that signature. void __iomem * β yes it's a pointer, yes it has __iomem on it, and yes you should respect that annotation or the sparse checker will absolutely come for you π
π ARGUMENTS π
offsetβ the muram offset you want converted π¦ that's it, that's the whole argument, she's lowkey simple and we love her for it
π§ SEE ALSO π§
Sibling functions, the whole friend group fr fr π
- Kernel file
./drivers/soc/fsl/qe/qe_common.cβ go read the source bestie, it's right there π cpm_muram_free(9)devm_cpm_muram_alloc(9)devm_cpm_muram_alloc_fixed(9)cpm_muram_dma(9)
Vibe check: this page has no DESCRIPTION section and no RETURN VALUE section, and I'm not gonna invent one for you π what you see is what you get β the offset goes in, a virtual address comes out, iconic behaviour only β¨
Source/version: ./drivers/soc/fsl/qe πΈ Date: October 2026 β mwah, that's the whole page, ty for coming to my TED talk, cpm_muram_addr(9) ate and left no crumbs πππ¦
π¦ 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