Home
last modified time | relevance | path

Searched refs:bat_info (Results 1 – 7 of 7) sorted by relevance

/drivers/power/supply/
A Drk817_charger.c751 struct power_supply_battery_info *bat_info) in rk817_read_or_set_full_charge_on_boot() argument
783 charger->soc = power_supply_batinfo_ocv2cap(bat_info, in rk817_read_or_set_full_charge_on_boot()
833 power_supply_batinfo_ocv2cap(bat_info, in rk817_read_or_set_full_charge_on_boot()
869 struct power_supply_battery_info *bat_info) in rk817_battery_init() argument
1064 struct power_supply_battery_info *bat_info; in rk817_charger_probe() local
1147 &bat_info); in rk817_charger_probe()
1153 if ((bat_info->charge_full_design_uah <= 0) || in rk817_charger_probe()
1154 (bat_info->voltage_min_design_uv <= 0) || in rk817_charger_probe()
1155 (bat_info->voltage_max_design_uv <= 0) || in rk817_charger_probe()
1158 (bat_info->charge_term_current_ua <= 0)) { in rk817_charger_probe()
[all …]
A Dsc2731_charger.c371 struct power_supply_battery_info *bat_info; in sc2731_charger_hw_init() local
381 ret = power_supply_get_battery_info(info->psy_usb, &bat_info); in sc2731_charger_hw_init()
393 term_currrent = bat_info->charge_term_current_ua / 1000; in sc2731_charger_hw_init()
402 term_voltage = bat_info->constant_charge_voltage_max_uv / 1000; in sc2731_charger_hw_init()
412 power_supply_put_battery_info(info->psy_usb, bat_info); in sc2731_charger_hw_init()
A Dbq256xx_charger.c1562 struct power_supply_battery_info *bat_info; in bq256xx_hw_init() local
1583 ret = power_supply_get_battery_info(bq->charger, &bat_info); in bq256xx_hw_init()
1590 bat_info->constant_charge_current_max_ua = in bq256xx_hw_init()
1593 bat_info->constant_charge_voltage_max_uv = in bq256xx_hw_init()
1596 bat_info->precharge_current_ua = in bq256xx_hw_init()
1599 bat_info->charge_term_current_ua = in bq256xx_hw_init()
1609 bat_info->constant_charge_current_max_ua; in bq256xx_hw_init()
1612 bat_info->constant_charge_voltage_max_uv; in bq256xx_hw_init()
1629 bat_info->precharge_current_ua); in bq256xx_hw_init()
1639 bat_info->charge_term_current_ua); in bq256xx_hw_init()
[all …]
A Dbq2515x_charger.c953 struct power_supply_battery_info *bat_info; in bq2515x_hw_init() local
965 ret = power_supply_get_battery_info(bq2515x->mains, &bat_info); in bq2515x_hw_init()
977 bat_info->constant_charge_current_max_ua; in bq2515x_hw_init()
980 bat_info->constant_charge_voltage_max_uv; in bq2515x_hw_init()
983 bat_info->precharge_current_ua; in bq2515x_hw_init()
A Dcw2015_battery.c202 u8 bat_info[CW2015_SIZE_BATINFO]; in cw_init() local
205 bat_info, CW2015_SIZE_BATINFO); in cw_init()
212 if (memcmp(bat_info, cw_bat->bat_profile, CW2015_SIZE_BATINFO)) { in cw_init()
A Dmax77705_charger.c389 val->intval = charger->bat_info->voltage_max_design_uv; in max77705_chg_get_property()
428 chg->bat_info = info; in max77705_charger_initialize()
A Dbq25980_charger.c1082 struct power_supply_battery_info *bat_info; in bq25980_hw_init() local
1109 ret = power_supply_get_battery_info(bq->charger, &bat_info); in bq25980_hw_init()
1115 bq->init_data.ichg_max = bat_info->constant_charge_current_max_ua; in bq25980_hw_init()
1116 bq->init_data.vreg_max = bat_info->constant_charge_voltage_max_uv; in bq25980_hw_init()

Completed in 28 milliseconds