bq25792_get_min_vsys(9)
β¨ bq25792_get_min_vsys(9) β¨
okay so bestie, welcome to the Kernel API Manual, section 9 β this is the page for bq25792_get_min_vsys, and it's literally just a little cutie that reads a voltage setting back out to you. lowkey iconic, no cap. π
πΈ NAME πΈ
bq25792_get_min_vsys β Get the minimum system voltage
π¦ SYNOPSIS π¦
int bq25792_get_min_vsys (struct bq257xx_chg *pdata , int *intval );
π ARGUMENTS π
pdataβ the driver platform data, aka the whole vibe of the charger, you're handing it over so it knows which device we're talking to πintvalβ a pointer where the minimum voltage value gets stashed, so make sure it's pointing somewhere real bestie, we're writing into it fr fr
β DESCRIPTION β
Read the current minimum system voltage setting straight from the device, and return it in microvolts. that's it, that's the whole function. it's giving "small but mighty". π₯
π RETURN π
Returns 0 on success, or an error on failure to read. so like β check the return value, bestie, don't just assume it worked π
π 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),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),bq257xx_charger_shutdown(9)
bestie the whole squad is in that SEE ALSO list, go read the rest of them if you wanna understand the charger's whole main character energy π
anyway that's the page! it ships from ./drivers/power/supply, dated October 2026, and honestly? she ate. π«Ά stay charged, mwah πβ¨
π¦ 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