uniphier_ai...ter_platform(9)
πΈ uniphier_ai...ter_platform(9) πΈ
okay bestie, welcome to the Kernel API Manual β yes the title's literally truncated like that, it's uniphier_ai...ter_platform(9), that's just how it is, don't come for me π
β¨ NAME β¨
uniphier_aiodma_soc_register_platform β registers the AIO DMA π
π¦ SYNOPSIS π¦
int uniphier_aiodma_soc_register_platform (struct platform_device *pdev
);
that's the whole signature, she's short and she knows it β¨
π ARGUMENTS π
pdevβ the platform device. that's it, that's the one (1) argument, she's low maintenance π«Ά
π DESCRIPTION π
okay so here's the tea β β this function registers and sets up the DMA of AIO so the sound data can actually get transferred to the device. like, that's her whole job and she ate π
the important lore: you need to call this once at driver startup. one time. that's it. and β listen β you need NOT to call an unregister function. there isn't one to call. don't go looking for it, don't invent one, just vibe π
ngl this is a "call it and forget it" situation, no cleanup arc, no sequel, periodt.
π RETURN π
- Zero if it worked β slay, iconic, we love a success π
- otherwise a negative value on error π that's your sign something went sideways
β SEE ALSO β
- Kernel file
./sound/soc/uniphier/aio-dma.cβ go read the source bestie, iykyk π
and that's the page!! π source + version vibes come to you straight from ./sound/soc/uniphier, dated October 2026 β mwah, go forth and register your DMA 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