Lines Matching refs:uvolt
439 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()
489 uvolt, data); in max77693_set_min_system_volt()
548 unsigned int uvolt) in max77693_set_charge_input_threshold_volt() argument
552 switch (uvolt) { in max77693_set_charge_input_threshold_volt()
559 data = (uvolt - 4700000) / 100000; in max77693_set_charge_input_threshold_volt()
569 uvolt, data); in max77693_set_charge_input_threshold_volt()