regcache_write(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay bestie, welcome to the Kernel API Manual β€” today's main character is regcache_write(9), and she's here to set the value of a given register in the cache. lowkey iconic. πŸ’…

regcache_write β€” Set the value of a given register in the cache.

✨ SYNOPSIS ✨

int regcache_write (struct regmap *map , unsigned int reg , unsigned int value );

πŸ’– ARGUMENTS πŸ’–

  • map β€” map to configure. like, the map you're configuring, bestie.
  • reg β€” The register index. the little index number situation.
  • value β€” The new register value. the fresh value going in.

πŸ¦‹ DESCRIPTION πŸ¦‹

The return vibe is short and clear: it returns a negative value on failure, and 0 on success. that's the whole description, no cap. 🫢

🌈 SEE ALSO 🌈

the SEE ALSO besties are:


πŸ’– cute little sign-off: source/version ./drivers/base/regmap, dated October 2026. periodt, mwah. πŸ’‹

πŸ“¦ where this page comes from