Searched refs:uvolt (Results 1 – 3 of 3) sorted by relevance
439 unsigned int uvolt) in max77693_set_constant_volt() argument453 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() argument479 if (uvolt < 3000000 || uvolt > 3700000) { in max77693_set_min_system_volt()484 data = (uvolt - 3000000) / 100000; in max77693_set_min_system_volt()[all …]
231 unsigned int uvolt) in max14577_init_constant_voltage() argument235 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()
545 static int twl4030_charger_enable_backup(int uvolt, int uamp) in twl4030_charger_enable_backup() argument550 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()