Lines Matching refs:uvolt
449 unsigned int uvolt) in max77693_set_constant_volt() argument
463 if (uvolt >= 3650000 && uvolt < 4340000) in max77693_set_constant_volt()
464 data = (uvolt - 3650000) / 25000; in max77693_set_constant_volt()
465 else if (uvolt >= 4340000 && uvolt < 4350000) in max77693_set_constant_volt()
467 else if (uvolt >= 4350000 && uvolt <= 4400000) in max77693_set_constant_volt()
468 data = 0x1d + (uvolt - 4350000) / 25000; in max77693_set_constant_volt()
476 dev_dbg(chg->dev, "Charging constant voltage: %u (0x%x)\n", uvolt, in max77693_set_constant_volt()
485 unsigned int uvolt) in max77693_set_min_system_volt() argument
489 if (uvolt < 3000000 || uvolt > 3700000) { in max77693_set_min_system_volt()
494 data = (uvolt - 3000000) / 100000; in max77693_set_min_system_volt()
499 uvolt, data); in max77693_set_min_system_volt()
558 unsigned int uvolt) in max77693_set_charge_input_threshold_volt() argument
562 switch (uvolt) { in max77693_set_charge_input_threshold_volt()
569 data = (uvolt - 4700000) / 100000; in max77693_set_charge_input_threshold_volt()
578 uvolt, data); in max77693_set_charge_input_threshold_volt()