Lines Matching refs:uvolt
448 unsigned int uvolt) in max77693_set_constant_volt() argument
462 if (uvolt >= 3650000 && uvolt < 4340000) in max77693_set_constant_volt()
463 data = (uvolt - 3650000) / 25000; in max77693_set_constant_volt()
464 else if (uvolt >= 4340000 && uvolt < 4350000) in max77693_set_constant_volt()
466 else if (uvolt >= 4350000 && uvolt <= 4400000) in max77693_set_constant_volt()
467 data = 0x1d + (uvolt - 4350000) / 25000; in max77693_set_constant_volt()
475 dev_dbg(chg->dev, "Charging constant voltage: %u (0x%x)\n", uvolt, in max77693_set_constant_volt()
484 unsigned int uvolt) in max77693_set_min_system_volt() argument
488 if (uvolt < 3000000 || uvolt > 3700000) { in max77693_set_min_system_volt()
493 data = (uvolt - 3000000) / 100000; in max77693_set_min_system_volt()
498 uvolt, data); in max77693_set_min_system_volt()
557 unsigned int uvolt) in max77693_set_charge_input_threshold_volt() argument
561 switch (uvolt) { in max77693_set_charge_input_threshold_volt()
568 data = (uvolt - 4700000) / 100000; in max77693_set_charge_input_threshold_volt()
577 uvolt, data); in max77693_set_charge_input_threshold_volt()