bq257xx_charger_shutdown(9)
β¨ bq257xx_charger_shutdown β¨
okay bestie, welcome to the Kernel API Manual β yes, that's the manual name, it's giving very serious energy and we love that for it. this little page is all about bq257xx_charger_shutdown(9), the shutdown routine for the charger platform device π
πΈ NAME πΈ
bq257xx_charger_shutdown β the shutdown routine for the charger platform device π
π¦ SYNOPSIS π¦
void bq257xx_charger_shutdown (struct platform_device *pdev );
that's it. that's the whole signature. no cap. β¨
π ARGUMENTS π
pdevβ the platform device π«Ά (literally just the platform device, that's the whole vibe)
π₯ DESCRIPTION π₯
so this one gets called during system shutdown, right? and its whole job is charger cleanup π β think disabling watchdog timers, plus any other chip-specific shutdown procedures the chip needs before it dips π
it's the "turn the lights off on your way out" function, fr fr. iconic behaviour honestly π
π SEE ALSO π
the kernel file lives here, and it's the main character of this whole saga: ./drivers/power/supply/bq257xx_charger.c π
and here's the whole bestie group chat of related refs β every single one of them, in order, no skips π
struct bq257xx_chip_info(9)struct bq257xx_chg(9)bq25792_read16(9)bq25792_write16(9)bq25703_get_state(9)bq25792_get_state(9)bq25703_get_min_vsys(9)bq25792_get_min_vsys(9)bq25703_set_min_vsys(9)bq25792_set_min_vsys(9)bq25703_get_cur(9)bq25792_get_cur(9)bq25703_get_ichg_cur(9)bq25792_get_ichg_cur(9)bq25703_set_ichg_cur(9)bq25792_set_ichg_cur(9)bq25703_get_chrg_volt(9)bq25792_get_chrg_volt(9)bq25703_set_chrg_volt(9)bq25792_set_chrg_volt(9)bq25703_get_iindpm(9)bq25792_get_iindpm(9)bq25703_set_iindpm(9)bq25792_set_iindpm(9)bq25703_get_vbat(9)bq25792_get_vbat(9)bq25703_hw_init(9)bq25792_hw_init(9)bq25703_hw_shutdown(9)bq25792_hw_shutdown(9)bq257xx_set_charger_property(9)bq257xx_get_charger_property(9)bq257xx_property_is_writeable(9)bq257xx_external_power_changed(9)bq257xx_irq_handler_thread(9)bq257xx_parse_dt(9)bq257xx_charger_probe(9)
lowkey a whole friend group of bq257xx functions and we're obsessed π§π«
that's the whole page bestie, ily, go read your kernel source π
β sourced from ./drivers/power/supply, printed under the Kernel API Manual banner, dated October 2026 βπ
π¦ 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