cs8409_i2c_set_page(9)
β¨ cs8409_i2c_set_page(9) β¨
okay so bestie, welcome to the Kernel API Manual π β this one's a little cutie from the CS8409 world, and honestly? She's short, she's sweet, she sets a page register. That's the whole vibe. π
πΈ NAME πΈ
cs8409_i2c_set_page β CS8409 I2C set page register. that's it, that's the function, and she ate π
π¦ SYNOPSIS π¦
int cs8409_i2c_set_page (struct sub_codec *scodec , unsigned int i2c_reg );
like, literally the whole signature, no cap. <italic>scodec</italic> goes in, <italic>i2c_reg</italic> goes in, an int comes out. main character energy fr fr π₯
π ARGUMENTS π
scodecβ the codec instance π«Ά the actual little guy you're working on. your codec bestie, if you will.i2c_regβ Page register π the page register value being handed over. yes queen, page it.
π DESCRIPTION π
Returns negative on error.
that's it!! that's the whole description!! she's a one-liner and she's iconic for it πβ¨ so like β if it comes back negative, something went wrong, and that's your vibe check result: failed. π
π SEE ALSO π
Kernel file ./sound/hda/codecs/cirrus/cs8409.c β go read the source, iykyk π§
cs8409_i2c_wait_complete(9)cs8409_set_i2c_dev_addr(9)cs8409_i2c_read(9)cs8409_i2c_bulk_read(9)cs8409_i2c_write(9)cs8409_i2c_bulk_write(9)
the whole friend group honestly, they all hang out together π π¦
ngl bestie, always check that return value β negative means error, and ignoring it is not the slay you think it is π
mwah π this page lives under ./sound/hda/codecs/cirrus, dated October 2026, and she goes by cs8409_i2c_set_page(9) β periodt. πβ
π¦ 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