regmap_sccb_write(9)
π regmap_sccb_write(9)
okay so bestie, welcome to the Kernel API Manual β¨ β yes we're literally in the kernel docs together, this is our moment π«Ά
πΈ NAME πΈ
regmap_sccb_write β write data to an SCCB slave device π
β SYNOPSIS β
int regmap_sccb_write (void *context , unsigned int reg , unsigned int val );
π ARGUMENTS π
contextβ the device that will be interacted with π¦ like, this is who we're talking to, bestieregβ the register to write to β¨ the exact spot we're pokingvalβ the value to be written π the actual tea we're dropping in there
π₯ DESCRIPTION π₯
okay so here's the vibe: this executes the SCCB 3-phase write transmission cycle π no cap, three whole phases, it's giving choreography.
And what does it give back? Returning negative errno else zero on success π β so if you get a negative number, that's the kernel saying "girl, no π", and a zero means we ate and left no crumbs β¨
π SEE ALSO π
- Kernel file
./drivers/base/regmap/regmap-sccb.cπ sccb_is_available(9)πΈregmap_sccb_read(9)π§
and that's the whole page, iykyk π mwah π
source/version: ./drivers/base/regmap Β· dated October 2026 Β· from the Kernel API Manual β periodt, go write some registers bestie π
π
π¦ 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