ab8500_charg...failure_work(9)
π ab8500_charger_check_hw_failure_work β from the Kernel API Manual, bestie β¨
okay so real quick, this page is ab8500_charg...failure_work(9) in the Kernel API Manual (yes the title header is literally truncated like that, it's giving "ran out of character budget" energy but that's just how it's printed, don't come for me π«Ά). The actual function we're talking about is ab8500_charger_check_hw_failure_work and she is a whole vibe. Let's go.
β¨ NAME β¨
ab8500_charger_check_hw_failure_work β check main charger failure ππ
like, the name is the whole plot. it checks the main charger for failure. that's the post.
πΈ SYNOPSIS πΈ
void ab8500_charger_check_hw_failure_work (struct work_struct *work );
no return value, she's void, she just does her thing and leaves. main character energy fr fr π
π ARGUMENTS π
workβ pointer to thework_structstructure π¦
that's it. one (1) argument. a pointer to a work_struct. lowkey the easiest signature you'll read all week, ngl.
π§ DESCRIPTION π§
So basically this is a work queue function for checking the main charger status β¨
She's the little worker that gets queued up and, when it's her turn to run, she goes and checks on the main charger. That's the entire job description, bestie. Not complicated, but she's doing it with her whole chest. π
no cap, that is genuinely the whole DESCRIPTION section in the original β this page is short and sweet and we respect her for it. π
π SEE ALSO π
okay this is the part where the manpage just dumps the entire friend group in here, and honestly? iconic. everybody in this driver knows everybody. iykyk π
First up, the actual kernel file she lives in:
- Kernel file
./drivers/power/supply/ab8500_charger.c
Then the full squad, in order, no skipping, because every single one of these is a real reference and we do not cut the guest list π:
struct ab8500_charger_interrupts(9)struct ab8500_charger(9)ab8500_power_supply_changed(9)ab8500_charger_get_ac_voltage(9)ab8500_charger_ac_cv(9)ab8500_charger_get_vbus_voltage(9)ab8500_charger_get_usb_current(9)ab8500_charger_get_ac_current(9)ab8500_charger_usb_cv(9)ab8500_charger_detect_chargers(9)ab8500_charger_max_usb_curr(9)ab8500_charger_read_usb_type(9)ab8500_charger_detect_usb_type(9)ab8500_charger_get_usb_cur(9)ab8500_charger_check_continue_stepping(9)ab8500_charger_set_current(9)ab8500_charger_set_vbus_in_curr(9)ab8500_charger_set_main_in_curr(9)ab8500_charger_set_output_curr(9)ab8500_charger_led_en(9)ab8500_charger_ac_en(9)ab8500_charger_usb_en(9)ab8500_charger_usb_check_enable(9)ab8500_charger_ac_check_enable(9)ab8500_charger_watchdog_kick(9)ab8500_charger_update_charger_current(9)ab8500_charger_check_vbat_work(9)ab8500_charger_kick_watchdog_work(9)ab8500_charger_ac_work(9)ab8500_charger_detect_usb_type_work(9)ab8500_charger_usb_link_attach_work(9)ab8500_charger_usb_link_status_work(9)ab8500_charger_check_usbchargernotok_work(9)ab8500_charger_check_main_thermal_prot_work(9)ab8500_charger_check_usb_thermal_prot_work(9)ab8500_charger_mainchunplugdet_handler(9)ab8500_charger_mainchplugdet_handler(9)ab8500_charger_mainextchnotok_handler(9)ab8500_charger_mainchthprotr_handler(9)ab8500_charger_mainchthprotf_handler(9)ab8500_charger_vbusdetf_handler(9)ab8500_charger_vbusdetr_handler(9)ab8500_charger_usblinkstatus_handler(9)ab8500_charger_usbchthprotr_handler(9)ab8500_charger_usbchthprotf_handler(9)ab8500_charger_usbchargernotokr_handler(9)ab8500_charger_chwdexp_handler(9)ab8500_charger_vbuschdropend_handler(9)ab8500_charger_vbusovv_handler(9)ab8500_charger_ac_get_property(9)ab8500_charger_usb_get_property(9)ab8500_charger_init_hw_registers(9)
like i said. the whole friend group. all of them. go read them, they're all in ./drivers/power/supply/ab8500_charger.c with her π
and that's the page!! π«Άβ¨ this one came out of ./drivers/power/supply and is dated October 2026 β so yeah, mark your calendar bestie, she's from the future (or at least the docs are). stay charged, check your main charger, and 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