regmap_sccb_write(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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, bestie
  • reg β€” the register to write to ✨ the exact spot we're poking
  • val β€” 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 πŸ’œ


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