bq25792_get_iindpm(9)
π bq25792_get_iindpm β Get the maximum set input current π
okay so this is a page from the Kernel API Manual, bestie β we're deep in the charger driver trenches and honestly it's giving main character energy β¨
πΈ NAME πΈ
bq25792_get_iindpm β literally just: get the maximum set input current. that's the whole vibe π
β¨ SYNOPSIS β¨
int bq25792_get_iindpm (struct bq257xx_chg *pdata , int *intval );
π ARGUMENTS π
pdataβ the driver platform data. yep, the usual struct, she's carrying everything π«Άintvalβ pointer to store the maximum input current value. so like, you hand her a spot in memory and she fills it in π
π¦ DESCRIPTION π¦
Read the current input current limit from the device.
that's it. that's the whole function. she reads the current input current limit off the chip and it's lowkey iconic how simple that is π
β RETURN β
Returns 0 on success or error on failure to read value. so like, check it, bestie β don't just assume it ate π
π SEE ALSO π
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)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)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)
like, that's the whole friend group right there β go read them too, iykyk π
mwah π this lil page lives in ./drivers/power/supply, dated October 2026, and it's part of the Kernel API Manual β periodt, that's the sign-off, go touch grass (or a charger) πΈβ¨
π¦ 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