Home
last modified time | relevance | path

Searched refs:uvolt (Results 1 – 3 of 3) sorted by relevance

/drivers/power/supply/
Dmax77693_charger.c439 unsigned int uvolt) in max77693_set_constant_volt() argument
453 if (uvolt >= 3650000 && uvolt < 4340000) in max77693_set_constant_volt()
454 data = (uvolt - 3650000) / 25000; in max77693_set_constant_volt()
455 else if (uvolt >= 4340000 && uvolt < 4350000) in max77693_set_constant_volt()
457 else if (uvolt >= 4350000 && uvolt <= 4400000) in max77693_set_constant_volt()
458 data = 0x1d + (uvolt - 4350000) / 25000; in max77693_set_constant_volt()
466 dev_dbg(chg->dev, "Charging constant voltage: %u (0x%x)\n", uvolt, in max77693_set_constant_volt()
475 unsigned int uvolt) in max77693_set_min_system_volt() argument
479 if (uvolt < 3000000 || uvolt > 3700000) { in max77693_set_min_system_volt()
484 data = (uvolt - 3000000) / 100000; in max77693_set_min_system_volt()
[all …]
Dmax14577_charger.c231 unsigned int uvolt) in max14577_init_constant_voltage() argument
235 if (uvolt < MAXIM_CHARGER_CONSTANT_VOLTAGE_MIN || in max14577_init_constant_voltage()
236 uvolt > MAXIM_CHARGER_CONSTANT_VOLTAGE_MAX) in max14577_init_constant_voltage()
239 if (uvolt == 4200000) in max14577_init_constant_voltage()
241 else if (uvolt == MAXIM_CHARGER_CONSTANT_VOLTAGE_MAX) in max14577_init_constant_voltage()
243 else if (uvolt <= 4280000) { in max14577_init_constant_voltage()
244 unsigned int val = uvolt; in max14577_init_constant_voltage()
248 if (uvolt <= 4180000) in max14577_init_constant_voltage()
Dtwl4030_charger.c545 static int twl4030_charger_enable_backup(int uvolt, int uamp) in twl4030_charger_enable_backup() argument
550 if (uvolt < 2500000 || in twl4030_charger_enable_backup()
559 if (uvolt >= 3200000) in twl4030_charger_enable_backup()
561 else if (uvolt >= 3100000) in twl4030_charger_enable_backup()
563 else if (uvolt >= 3000000) in twl4030_charger_enable_backup()