regmap_read_bypassed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

regmap_read_bypassed β€” bestie, this one reads a value from ONE single register, straight from the device, and it bypasses the cache entirely. no middleman, no stale copy, just vibes and silicon ✨

(this is a page from the Kernel API Manual, just so u know where u are 🫢)


🌸 SYNOPSIS 🌸

int regmap_read_bypassed (struct regmap *map , unsigned int reg ,
       unsigned int *val );

πŸŽ€ ARGUMENTS πŸŽ€

  • map β€” the register map you're reading from, your main character struct πŸ’…
  • reg β€” the register being read, like which little slot we're snooping on πŸ‘€
  • val β€” pointer to store the read value in, that's where the answer goes πŸ“

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the deal: a value of zero gets returned on success (slay), and a negative errno comes back in the error cases (not slay, but informative 😭).

and remember, this bad boy is bypassed β€” the cache isn't invited to this party, so you're getting the value direct from the device. no cap. πŸ”₯


🌈 SEE ALSO 🌈

the whole friend group, gathered for u πŸ’œ

Kernel file ./drivers/base/regmap/regmap.c β€” plus literally all of these:


okay that's the whole page bestie, ily, go read ur registers πŸ’–βœ¨πŸŽ€

sign-off time: this gem lives under ./drivers/base/regmap, dated October 2026, straight outta the Kernel API Manual. periodt. πŸ‘‘πŸ’…
πŸ“¦ where this page comes from