ab8500_char...vbus_in_curr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ab8500_char...vbus_in_curr(9) β€” Kernel API Manual πŸ’–

okay so bestie, welcome to the Kernel API Manual page for ab8500_char...vbus_in_curr(9). yes that name is a whole mouthful, and yes the truncation with the ... is giving "my crush's contact name got cut off in my phone" energy 😭 but we move. this is a Linux kernel function, it lives in ./drivers/power/supply, and it's about telling your charger how much juice it's allowed to slurp from USB. let's get into it 🫢


✨ NAME ✨

ab8500_charger_set_vbus_in_curr β€” set VBUS input current limit πŸ’…

like... it literally does what it says on the tin. no cap, this one's an icon.


🌸 SYNOPSIS 🌸

int ab8500_charger_set_vbus_in_curr (struct ab8500_charger *di , int
ich_in_ua );

that's the whole signature, copied exactly, don't come for me πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • di β€” pointer to the ab8500_charger structure. it's the main character of this whole file, so bestie you're gonna be handing it around a lot ✨
  • ich_in_ua β€” the charger input current limit, in microampere. yes, micro. that's the unit. respect it πŸ™ˆ

πŸ’œ DESCRIPTION πŸ’œ

so what does it actually do? it sets the current that can be drawn from the USB host ⚑ basically it's the bouncer at the club deciding how many amps get through the velvet rope, and the USB host is standing outside like "let me in" πŸ’€

and if things go sideways? it returns an error code in case of failure. but else? 0 (on success) πŸŽ‰ so like, zero means we slayed. remember that, iykyk.


🌈 SEE ALSO 🌈

okay so this is the part where i list literally everything related, and there is... a lot. do not skip this. these are all (9) manual references and they're all part of the family, okay, i love them all equally πŸ₯Ή

like, that's the whole extended friend group. every single one of them. no cuts, no skips, we don't do that here πŸ’…


and that's a wrap bestie!! πŸŽ€ this page is from ./drivers/power/supply, dated October 2026, and it's the ab8500_char...vbus_in_curr(9) entry of the Kernel API Manual. go set some current limits, stay hydrated, and remember: 0 means success πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from