STRUCT UX500_CHARGER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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