cpm_muram_dma(9)
β¨ cpm_muram_dma(9) β¨
okay bestie, welcome to the Kernel API Manual β this little page is all about cpm_muram_dma, and honestly? it's a glow-up for an address π
πΈ NAME πΈ
cpm_muram_dma β turn a muram virtual address into a DMA address
like, it literally takes your muram virtual address and serves it as a DMA address. a whole transformation moment. main character energy fr fr π¦
π SYNOPSIS π
dma_addr_t cpm_muram_dma (void __iomem *addr );
that's it. that's the whole vibe check. one function, one argument, one dma_addr_t coming back at you β¨
π ARGUMENTS π
addrβ virtual address fromcpm_muram_addrto convert
so yeah, addr is the virtual address you got from cpm_muram_addr, and this is the part where we convert it. no cap, that's the entire assignment π«Ά
heads up bestie: the address you pass in is supposed to come from cpm_muram_addr β that's the documented source, so don't be out here improvising π
π SEE ALSO π
- Kernel file
./drivers/soc/fsl/qe/qe_common.c cpm_muram_free(9)devm_cpm_muram_alloc(9)devm_cpm_muram_alloc_fixed(9)cpm_muram_addr(9)
go read the whole friend group, they all hang out in the same file π₯
and that's the page!! short, sweet, iconic π
this one came from the kernel file ./drivers/soc/fsl/qe, dated October 2026, and it's signed off as cpm_muram_dma(9) β mwah, stan ππ
π¦ 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