STRUCT ERR_VALUES(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct err_values(9) β€” a whole vibe check on error/reference values 🌸

okay bestie, welcome to the Kernel API Manual πŸ’– this one's a lil' struct that literally just holds two little arrays of four ints each, and honestly? it's giving "small but mighty." let's get into it ✨


✨ NAME ✨

struct err_values β€” the structure that's holding all the error/reference values 🫢 like, that's its whole job. no cap.


✨ SYNOPSIS ✨

here's the whole shape of it, character for character, no notes πŸ‘‘

struct err_values {
    int refs[4];
    int errs[4];
 };

✨ Members ✨

so there's literally two members and they're both arrays of four ints, and the four slots are always the same four temperatures in the same order. periodt.

  • refs β€” the reference error values for -40C, 30C, 125C & 150C. these are the reference girlies πŸ’…
  • errs β€” the Actual error values for -40C, 30C, 125C & 150C read from the efuse. yeah, these ones get read straight off the efuse β€” that's the whole story, nothing more 😌
lowkey important: the four values in each array are for -40C, 30C, 125C & 150C in that order β€” don't shuffle them, bestie, the order is the whole point πŸ™ˆ

✨ SEE ALSO ✨

  • Kernel file ./drivers/thermal/k3_j72xx_bandgap.c β€” go read it, iykyk πŸ“–πŸ’œ

and that's the whole page, fr fr πŸŽ€ this one comes from ./drivers/thermal, dated October 2026, and it's filed under struct err_values(9) in the Kernel API Manual β€” slay, stay cozy, and may all your efuses read clean πŸŒˆβ­πŸ’–

πŸ“¦ where this page comes from