regmap_raw_read(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– regmap_raw_read(9) β€” Kernel API Manual πŸ’–

okay so bestie, this is the manual page for regmap_raw_read, from the Kernel API Manual. it's short, it's sweet, and it does exactly one thing. let's get into it ✨


🌸 NAME 🌸

regmap_raw_read β€” Read raw data from the device πŸ’…

like, literally just. reading. raw data. from the device. that's the whole vibe. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

int regmap_raw_read (struct regmap *map , unsigned int reg , void *val ,
size_t val_len );

it returns an int, bestie. keep that in mind. πŸ‘€


πŸŽ€ ARGUMENTS πŸŽ€

  • map β€” the register map you're reading from. this is your main character struct πŸ’œ
  • reg β€” the first register to be read from. yes, the first one. it starts there and goes. 🫢
  • val β€” a pointer to where the read value gets stored. pls make sure it's a real place to put things πŸ™ˆ
  • val_len β€” the size of the data to read. how much are we reading? this much. πŸ“

✨ DESCRIPTION ✨

so here's the tea πŸ“: a value of zero will be returned on success. zero = slay. zero = we ate. πŸ‘‘

and a negative errno will be returned in error cases. so if you see a negative number, that's not a vibe. that's an error case. 😭

that's genuinely the whole description. short king energy. no notes. πŸ’€


🌈 SEE ALSO 🌈

first up, the source of truth β€” kernel file ./drivers/base/regmap/regmap.c 🧚

and then, bestie, the whole extended friend group. every single one. i'm not leaving anyone out, that would be rude:

like, that's a whole group chat right there. iykyk 🫢


so yeah, that's the page! 🌟 this lil beauty lives in ./drivers/base/regmap and it's dated October 2026 β€” which is, yes, a future date, and honestly? iconic of it. πŸ’…βœ¨

πŸ“¦ where this page comes from