Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/power/supply/
Dmax77693_charger.c491 unsigned int uvolt) in max77693_set_constant_volt() argument
505 if (uvolt >= 3650000 && uvolt < 4340000) in max77693_set_constant_volt()
506 data = (uvolt - 3650000) / 25000; in max77693_set_constant_volt()
507 else if (uvolt >= 4340000 && uvolt < 4350000) in max77693_set_constant_volt()
509 else if (uvolt >= 4350000 && uvolt <= 4400000) in max77693_set_constant_volt()
510 data = 0x1d + (uvolt - 4350000) / 25000; in max77693_set_constant_volt()
518 dev_dbg(chg->dev, "Charging constant voltage: %u (0x%x)\n", uvolt, in max77693_set_constant_volt()
527 unsigned int uvolt) in max77693_set_min_system_volt() argument
531 if (uvolt < 3000000 || uvolt > 3700000) { in max77693_set_min_system_volt()
536 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.c546 static int twl4030_charger_enable_backup(int uvolt, int uamp) in twl4030_charger_enable_backup() argument
551 if (uvolt < 2500000 || in twl4030_charger_enable_backup()
560 if (uvolt >= 3200000) in twl4030_charger_enable_backup()
562 else if (uvolt >= 3100000) in twl4030_charger_enable_backup()
564 else if (uvolt >= 3000000) in twl4030_charger_enable_backup()
/linux-6.12.1/arch/arm/mach-omap2/
Dvc.c791 static u8 omap_vc_calc_vsel(struct voltagedomain *voltdm, u32 uvolt) in omap_vc_calc_vsel() argument
793 if (voltdm->pmic->vddmin > uvolt) in omap_vc_calc_vsel()
794 uvolt = voltdm->pmic->vddmin; in omap_vc_calc_vsel()
795 if (voltdm->pmic->vddmax < uvolt) { in omap_vc_calc_vsel()
797 __func__, uvolt, voltdm->pmic->vddmax); in omap_vc_calc_vsel()
799 uvolt = voltdm->pmic->vddmax; in omap_vc_calc_vsel()
802 return voltdm->pmic->uv_to_vsel(uvolt); in omap_vc_calc_vsel()
/linux-6.12.1/arch/arm/boot/dts/ti/omap/
Dlogicpd-som-lv-baseboard.dtsi59 ti,bb-uvolt = <3200000>;
Dlogicpd-torpedo-baseboard.dtsi90 ti,bb-uvolt = <3200000>;
Domap3-pandora-common.dtsi448 ti,bb-uvolt = <3200000>;
Domap3-gta04.dtsi715 ti,bb-uvolt = <3200000>;
/linux-6.12.1/arch/arm/boot/dts/samsung/
Dexynos3250-monk.dts106 maxim,constant-uvolt = <4350000>;
109 maxim,ovp-uvolt = <6500000>;
Dexynos3250-rinato.dts108 maxim,constant-uvolt = <4350000>;
111 maxim,ovp-uvolt = <6500000>;