aio_if_set_param(9)
π aio_if_set_param(9) β like, the Kernel API Manual page, bestie β¨
okay so this is a page from the Kernel API Manual and it's all about one tiny little function that pokes the AIO DMA I/F block into shape. it's short, it's sweet, and it absolutely ate. let's get into it π
β¨ NAME β¨
aio_if_set_param β sets the parameters of the AIO DMA I/F block π¦
πΈ SYNOPSIS πΈ
int aio_if_set_param (struct uniphier_aio_sub *sub , int pass_through );
π ARGUMENTS π
subβ the AIO substream pointer, bestie. that's your main character π«Άpass_throughβ zero if the sound data is LPCM, otherwise it means the data is not LPCM. and listen, this one has a whole mood of its own: it has no effect if the substream is I2S or PCM π like it literally does nothing there, so don't come for it.
π DESCRIPTION π
so what does it actually do? it sets the suitable setting on the DMA interface block of AIO so it can process the settings you specified in. that's the whole vibe. it's giving "set the thing so the thing works" and honestly? iconic π
β RETURN β
zero if it went off without a hitch π β otherwise a negative value on error π (yes, negative. yes, that's how you know something went sideways.)
π SEE ALSO π
this is the part where the group chat gets tagged, fr fr. kernel file ./sound/soc/uniphier/aio-core.c plus the whole friend group:
aio_iecout_set_enable(9)aio_chip_set_pll(9)aio_chip_init(9)aio_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_oport_set_stream_type(9)aio_src_reset(9)aio_src_set_param(9)
ngl, that's the entire page. no bugs section, no warnings, no hidden lore. just a lil function doing its lil job. slay πβ¨
and that's a wrap, bestie! this one came from ./sound/soc/uniphier and it's dated October 2026 β so yeah, it's from the future, we love a time traveler π§π bye!! π
π¦ 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