regcache_write(9)
π 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:
- Kernel file
./drivers/base/regmap/regcache.c regcache_read(9)regcache_sync(9)regcache_sync_region(9)regcache_drop_region(9)regcache_cache_only(9)regcache_mark_dirty(9)regcache_cache_bypass(9)regcache_reg_cached(9)
π cute little sign-off: source/version ./drivers/base/regmap, dated October 2026. periodt, mwah. π
π¦ 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