STRUCT UX500_CHARGER(9)
π struct ux500_charger(9) π
okay so bestie, welcome to the Kernel API Manual β this is the page for struct ux500_charger, no cap. It's the power supply ux500 charger sub class, and honestly? it's giving "small struct, big job" energy.
β¨ NAME β¨
struct ux500_charger β the power supply ux500 charger sub class πβ¨
Here's the whole cast, one field at a time:
@psyβ the power supply base class. the parent figure, the main character, the foundation everything sits on π«Ά@opsβ the ux500 charger operations. all the behaviour lives here π@max_out_volt_uvβ maximum output charger voltage, in uV. literally the voltage ceiling, don't push it π@max_out_curr_uaβ maximum output charger current, in uA. the current ceiling, same vibes β‘@enabledβ indicates if this charger is used or not. a simple yes/no queen π
heads up: wdt_refresh shows up in the struct below but this page doesn't give it a little description β so we're not gonna make one up, iykyk π
π SYNOPSIS π
struct ux500_charger {
struct power_supply *psy;
struct ux500_charger_ops ops;
int max_out_volt_uv;
int max_out_curr_ua;
int wdt_refresh;
bool enabled;
};
look at her. iconic. not a single character changed, fr fr π―
π¦ Members π¦
this section is literally just sitting here with the member deets already spilled up in NAME and laid out in the SYNOPSIS β so nothing extra to add, bestie. the fields above are the members πβ¨
πΈ SEE ALSO πΈ
- Kernel file
./drivers/power/supply/ab8500-chargalg.hβ go read the source, it's right there π
ok that's the whole page!! go forth and charge responsibly, mwah π
β from ./drivers/power/supply, dated October 2026 β that's the source and the version date, and that's the vibe check complete. slay πβ¨
π¦ 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