STRUCT PRE_VOLTAGE_CHANGE_DATA(9)
π 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
- 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