bq25703_get_ichg_cur(9)
π bq25703_get_ichg_cur β the Kernel API Manual, bestie edition π
okay so this is a page from the Kernel API Manual (bq25703_get_ichg_cur(9)), and it's honestly so simple it's giving main character energy for a one-liner. Let me walk you through it π«Ά
β¨ NAME β¨
bq25703_get_ichg_cur β get the maximum reported charge current πΈ
π SYNOPSIS π
int bq25703_get_ichg_cur (struct bq257xx_chg *pdata , int *intval );
π¦ ARGUMENTS π¦
pdataβ the driver platform data, literally the whole vibe of the charger driver's state πintvalβ value of maximum reported charge current. she's a pointer to anint, so the answer gets handed back through her β¨
π DESCRIPTION π
Get the maximum reported charge current from the battery. that's it, that's the whole plot. lowkey iconic for a description to be this short ngl π
π₯ RETURN π₯
Returns 0 on success, or error if unable to read value. so like, zero means slay, anything else means the read did not go off π
π SEE ALSO π
not me about to list the entire friend group, fr fr π
- Kernel file
./drivers/power/supply/bq257xx_charger.c 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)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)bq257xx_charger_shutdown(9)
π reminder bestie: this lives in ./drivers/power/supply, so don't go looking for it in some random folder, iykyk.
and that's the whole page, periodt π§ this one's from ./drivers/power/supply, dated October 2026, and it's the bq25703_get_ichg_cur(9) page from the Kernel API Manual β mwah, go read the kernel now π
π¦ 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