aio_port_set_ch(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸŽ€


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