Home
last modified time | relevance | path

Searched refs:input_current_limit (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/power/supply/
Dcros_usbpd-charger.c88 static u16 input_current_limit = EC_POWER_LIMIT_NONE; variable
421 if (input_current_limit == EC_POWER_LIMIT_NONE) in cros_usbpd_charger_get_prop()
424 val->intval = input_current_limit * 1000; in cros_usbpd_charger_get_prop()
471 input_current_limit = intval; in cros_usbpd_charger_set_prop()
472 if (input_current_limit == EC_POWER_LIMIT_NONE) in cros_usbpd_charger_set_prop()
478 input_current_limit); in cros_usbpd_charger_set_prop()
482 input_current_limit, in cros_usbpd_charger_set_prop()
Dbq25890_charger.c621 int input_current_limit, ret; in bq25890_charger_external_power_changed() local
634 input_current_limit = bq25890_find_idx(2000000, TBL_IINLIM); in bq25890_charger_external_power_changed()
643 input_current_limit = bq25890_find_idx(1500000, TBL_IINLIM); in bq25890_charger_external_power_changed()
647 input_current_limit = bq25890_find_idx(500000, TBL_IINLIM); in bq25890_charger_external_power_changed()
650 bq25890_field_write(bq, F_IINLIM, input_current_limit); in bq25890_charger_external_power_changed()
Dbq256xx_charger.c829 unsigned int input_current_limit; in bq256xx_get_input_curr_lim() local
834 &input_current_limit); in bq256xx_get_input_curr_lim()
838 iindpm_reg_code = input_current_limit & BQ256XX_IINDPM_MASK; in bq256xx_get_input_curr_lim()
/linux-5.19.10/Documentation/ABI/testing/
Dsysfs-class-power517 What: /sys/class/power_supply/<supply_name>/input_current_limit
526 solved using power limit use input_current_limit.