aio_init(9)
π« aio_init(9) β Kernel API Manual, but make it a vibe π«
okay so bestie, welcome to the Kernel API Manual entry for aio_init β yes that's the manual name, we're folding it in right at the top because we're polite like that π
β¨ NAME β¨
aio_init β initialize AIO substream
like, it literally initializes the AIO substream. that's the whole gig. iconic π
πΈ SYNOPSIS πΈ
int aio_init (struct uniphier_aio_sub *sub );
so it hands you back an int, and you give it one thing: sub. that's it. that's the whole signature. ate. β¨
π¦ ARGUMENTS π¦
subβ the AIO substream pointer π which is exactly what you'd expect from the name, ngl, it's giving "self-explanatory, as it should be"
π DESCRIPTION π
okay so listen β aio_init sets the fixed settings of each AIO substream. like, the settings that are just fixed, they don't move, they're not negotiable, they are who they are π«Ά
and here's the important part, bestie: this function needs to be called once at substream startup. once. at startup. not twice, not whenever you feel like it. periodt. β
π RETURN π
- Zero (
0) if it went well β slay π - otherwise a negative value on error π not slay, but at least it tells you
π§ SEE ALSO π§
the kernel file is ./sound/soc/uniphier/aio-core.c β go read it, iykyk π
and here's the whole friend group, all the siblings in the AIO cinematic universe:
aio_iecout_set_enable(9)aio_chip_set_pll(9)aio_chip_init(9)aio_port_reset(9)aio_port_set_ch(9)aio_port_set_rate(9)aio_port_set_fmt(9)aio_port_set_clk(9)aio_port_set_param(9)aio_port_set_enable(9)aio_port_get_volume(9)aio_port_set_volume(9)aio_if_set_param(9)aio_oport_set_stream_type(9)aio_src_reset(9)aio_src_set_param(9)
main character energy from the whole aio_port_* lineup honestly π
fr fr bestie: call it once at substream startup, check the return value, and you're golden. no cap. π
and that's a wrap!! π¦ this page comes to you from the source path ./sound/soc/uniphier and is dated October 2026 β π mwah, tysm for reading, go initialize something beautiful β¨π·
π¦ 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