STRUCT PRE_VOLTAGE_CHANGE_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct pre_voltage_change_data (9) β€” from the Kernel API Manual, bestie πŸŽ€

Okay so real talk, this one's a little struct that rides along with the PRE_VOLTAGE_CHANGE event. It's literally just the data that gets sent with it. That's the whole vibe. ✨


🌸 NAME 🌸

struct pre_voltage_change_data β€” the data that gets sent along with the PRE_VOLTAGE_CHANGE event 🫢


✨ SYNOPSIS ✨

struct pre_voltage_change_data {
    unsigned long old_uV;
    unsigned long min_uV;
    unsigned long max_uV;
 };

That's it. Three unsigned longs and a dream. No cap. πŸ’–


🌈 Members 🌈

  • old_uV β€” the current voltage before the change, aka the "before" pic πŸ“Έ
  • min_uV β€” the min voltage we'll change to, the floor of the glow-up ⬇️
  • max_uV β€” the max voltage we'll change to, the ceiling of the glow-up ⬆️

πŸ¦‹ SEE ALSO πŸ¦‹

  • the kernel file ./include/linux/regulator/consumer.h β€” go read it, iykyk πŸ“‚
  • struct regulator_bulk_data(9)

okay that's genuinely the whole page, no filler, we love a short king πŸ‘‘

mwah πŸ’‹ sending u off with the source ./include/linux/regulator, dated October 2026, still serving struct pre_v..._change_data(9) realness β€” periodt.

πŸ“¦ where this page comes from