ab8500_char...main_in_curr(9)
πΈ NAME πΈ
ab8500_charger_set_main_in_curr β set main charger input current π
okay bestie, this page is ab8500_char...main_in_curr(9), straight outta the Kernel API Manual β¨ manual name folded in right here so you don't gotta hunt for it. this is the lowkey iconic charger-current setter, and we're gonna get you comfy with it π«Ά
β¨ SYNOPSIS β¨
int ab8500_charger_set_main_in_curr (struct ab8500_charger *di , int
ich_in_ua );
that's the signature, bestie β don't let the line break scare you π
π§ ARGUMENTS π§
diβ pointer to theab8500_chargerstructure β basically the charger's main-character struct πich_in_uaβ input charger current, in uA β yes, microamps, keep that unit in mind π
π DESCRIPTION π
okay so this function sets the main charger input current. that's the whole assignment, no cap π₯
if something goes sideways, it returns error code in case of failure π. otherwise? it returns 0 β on success β slay, we love a clean success value πβ¨
π₯ SEE ALSO π₯
first up, the kernel file itself is ./drivers/power/supply/ab8500_charger.c β and then there's a whole group chat of related symbols. every single one is below, because we don't skip the squad π:
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_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_check_hw_failure_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)
okay that's the page, bestie π
source path: ./drivers/power/supply; date/version: October 2026; page id: ab8500_char...main_in_curr(9). now go set that current and stay charged π«Άπβ¨
π¦ 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