Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dcros_usbpd-charger.c89 static u16 input_current_limit = EC_POWER_LIMIT_NONE; variable
422 if (input_current_limit == EC_POWER_LIMIT_NONE) in cros_usbpd_charger_get_prop()
425 val->intval = input_current_limit * 1000; in cros_usbpd_charger_get_prop()
472 input_current_limit = intval; in cros_usbpd_charger_set_prop()
473 if (input_current_limit == EC_POWER_LIMIT_NONE) in cros_usbpd_charger_set_prop()
479 input_current_limit); in cros_usbpd_charger_set_prop()
483 input_current_limit, in cros_usbpd_charger_set_prop()
H A Dbq25890_charger.c748 int input_current_limit, ret; in bq25890_charger_external_power_changed() local
761 input_current_limit = bq25890_charger_get_scaled_iinlim_regval(bq, 2000000); in bq25890_charger_external_power_changed()
770 input_current_limit = bq25890_charger_get_scaled_iinlim_regval(bq, 1500000); in bq25890_charger_external_power_changed()
774 input_current_limit = bq25890_charger_get_scaled_iinlim_regval(bq, 500000); in bq25890_charger_external_power_changed()
777 bq25890_field_write(bq, F_IINLIM, input_current_limit); in bq25890_charger_external_power_changed()
H A Dbq256xx_charger.c868 unsigned int input_current_limit; in bq256xx_get_input_curr_lim() local
873 &input_current_limit); in bq256xx_get_input_curr_lim()
877 iindpm_reg_code = input_current_limit & BQ256XX_IINDPM_MASK; in bq256xx_get_input_curr_lim()
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-class-power521 What: /sys/class/power_supply/<supply_name>/input_current_limit
530 solved using power limit use input_current_limit.