aio_port_set_ch(9)
π aio_port_set_ch(9) π
okay so this is a page from the Kernel API Manual and bestie, it's a short one but it's lowkey important π
β¨ NAME β¨
aio_port_set_ch β sets the channels of LPCM, that's literally the whole gig π¦
πΈ SYNOPSIS πΈ
int aio_port_set_ch (struct uniphier_aio_sub *sub );
π ARGUMENTS π
subβ the AIO substream pointer, and hear me out: PCM substream only π like she does not play about non-PCM, okurrr
π¦ DESCRIPTION π¦
So what this does is it sets a suitable slot selecting to the input/output port block of AIO β¨ that's the assignment, that's the vibe, that's the whole function π
β οΈ heads up bestie: this function may return an error if it's a non-PCM substream π so likeβ¦ don't come at her with the wrong substream type, she will simply not
β RETURN β
Zero if it ate and everything's successful π otherwise a negative value on error, no cap π
π SEE ALSO π
the kernel file ./sound/soc/uniphier/aio-core.c is the main character here, and she comes with a whole friend group of related functions, so let's gooo π
aio_iecout_set_enable(9)aio_chip_set_pll(9)aio_chip_init(9)aio_init(9)aio_port_reset(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)
and that's the page, bestie π«Ά mwah π ok so before you go β this lil masterpiece lives in ./sound/soc/uniphier, dated October 2026, and it's serving Kernel API Manual realness πΈ slay, read responsibly, ily π
π¦ 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