Home
last modified time | relevance | path

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

/f-stack/freebsd/arm64/rockchip/
H A Drk805.c370 int rv, udelay, uvolt, status; in rk805_regnode_init() local
383 if (uvolt >= param->min_uvolt && uvolt <= param->max_uvolt) in rk805_regnode_init()
440 int nstep, uvolt; in rk805_regnode_voltage_to_reg() local
443 uvolt = sc->def->voltage_min; in rk805_regnode_voltage_to_reg()
448 uvolt += sc->def->voltage_step; in rk805_regnode_voltage_to_reg()
450 if (uvolt > max_uvolt) in rk805_regnode_voltage_to_reg()
479 int uvolt; in rk805_regnode_set_voltage() local
500 rk805_regnode_reg_to_voltage(sc, val, &uvolt); in rk805_regnode_set_voltage()
503 uvolt); in rk805_regnode_set_voltage()
517 *uvolt = sc->def->voltage_min; in rk805_regnode_get_voltage()
[all …]
H A Drk_iodomain.c136 int uvolt, i; in rk_iodomain_set() local
142 if (regulator_get_voltage(supply, &uvolt) == 0) { in rk_iodomain_set()
143 if (uvolt == 1800000) in rk_iodomain_set()
145 else if (uvolt != 3000000) in rk_iodomain_set()
148 sc->conf->supply[i].name, uvolt); in rk_iodomain_set()
/f-stack/freebsd/arm/nvidia/tegra124/
H A Dtegra124_cpufreq.c71 int uvolt; /* Requested voltage */ member
271 sc->speed_points[i].uvolt = freq_to_voltage(sc, in build_speed_points()
309 sets[i].volts = sc->speed_points[j].uvolt / 1000; in tegra124_cpufreq_settings()
327 if (sc->act_speed_point->uvolt < point->uvolt) { in set_cpu_freq()
330 point->uvolt, point->uvolt); in set_cpu_freq()
356 if (sc->act_speed_point->uvolt > point->uvolt) { in set_cpu_freq()
359 point->uvolt, point->uvolt); in set_cpu_freq()
404 cf->volts = sc->act_speed_point->uvolt / 1000; in tegra124_cpufreq_get()
/f-stack/freebsd/contrib/device-tree/Bindings/mfd/
H A Dmax14577.txt32 - maxim,ovp-uvolt : OverVoltage Protection Threshold in uV;
36 - maxim,constant-uvolt : Battery Constant Voltage in uV;
97 maxim,constant-uvolt = <4350000>;
100 maxim,ovp-uvolt = <6500000>;
142 maxim,constant-uvolt = <4350000>;
145 maxim,ovp-uvolt = <6500000>;
/f-stack/freebsd/contrib/device-tree/Bindings/power/supply/
H A Dtwl-charger.txt20 - ti,bb-uvolt: microvolts for charging the backup battery.
28 ti,bb-uvolt = <3200000>;
/f-stack/freebsd/arm64/nvidia/tegra210/
H A Dtegra210_cpufreq.c70 int uvolt; /* Requested voltage */ member
229 sc->speed_points[i].uvolt = freq_to_voltage(sc, in build_speed_points()
267 sets[i].volts = sc->speed_points[j].uvolt / 1000; in tegra210_cpufreq_settings()
332 cf->volts = sc->act_speed_point->uvolt / 1000; in tegra210_cpufreq_get()
H A Dmax77620_regulators.c351 static int max77620_regnode_get_volt(struct regnode *regnode, int *uvolt);
872 max77620_regnode_get_volt(struct regnode *regnode, int *uvolt) in max77620_regnode_get_volt() argument
885 sel, uvolt); in max77620_regnode_get_volt()
/f-stack/freebsd/arm/allwinner/
H A Daxp81x.c831 int nstep, uvolt; in axp8xx_regnode_voltage_to_reg() local
834 uvolt = sc->def->voltage_min * 1000; in axp8xx_regnode_voltage_to_reg()
836 for (nstep = 0; nstep < sc->def->voltage_nstep1 && uvolt < min_uvolt; in axp8xx_regnode_voltage_to_reg()
839 uvolt += (sc->def->voltage_step1 * 1000); in axp8xx_regnode_voltage_to_reg()
841 for (nstep = 0; nstep < sc->def->voltage_nstep2 && uvolt < min_uvolt; in axp8xx_regnode_voltage_to_reg()
844 uvolt += (sc->def->voltage_step2 * 1000); in axp8xx_regnode_voltage_to_reg()
846 if (uvolt > max_uvolt) in axp8xx_regnode_voltage_to_reg()
882 axp8xx_regnode_get_voltage(struct regnode *regnode, int *uvolt) in axp8xx_regnode_get_voltage() argument
893 axp8xx_regnode_reg_to_voltage(sc, val & AXP_VOLTCTL_MASK, uvolt); in axp8xx_regnode_get_voltage()
H A Daxp209.c693 int nstep, uvolt; in axp2xx_regnode_voltage_to_reg() local
696 uvolt = sc->def->voltage_min * 1000; in axp2xx_regnode_voltage_to_reg()
698 for (nstep = 0; nstep < sc->def->voltage_nstep && uvolt < min_uvolt; in axp2xx_regnode_voltage_to_reg()
701 uvolt += (sc->def->voltage_step * 1000); in axp2xx_regnode_voltage_to_reg()
703 if (uvolt > max_uvolt) in axp2xx_regnode_voltage_to_reg()
749 axp2xx_regnode_get_voltage(struct regnode *regnode, int *uvolt) in axp2xx_regnode_get_voltage() argument
760 axp2xx_regnode_reg_to_voltage(sc, val & sc->def->voltage_mask, uvolt); in axp2xx_regnode_get_voltage()
H A Daw_mmc.c1364 int uvolt, err; local
1373 uvolt = 1800000;
1376 uvolt = 3300000;
1382 err = regulator_set_voltage(sc->mmc_helper.vqmmc_supply, uvolt, uvolt);
1386 uvolt,
1387 uvolt);
/f-stack/freebsd/arm/nvidia/
H A Das3722_regulators.c375 static int as3722_regnode_get_volt(struct regnode *regnode, int *uvolt);
695 as3722_regnode_get_volt(struct regnode *regnode, int *uvolt) in as3722_regnode_get_volt() argument
710 sel, uvolt); in as3722_regnode_get_volt()
/f-stack/freebsd/contrib/device-tree/src/arm/
H A Dlogicpd-som-lv-baseboard.dtsi59 ti,bb-uvolt = <3200000>;
H A Dexynos3250-monk.dts105 maxim,constant-uvolt = <4350000>;
108 maxim,ovp-uvolt = <6500000>;
H A Dlogicpd-torpedo-baseboard.dtsi90 ti,bb-uvolt = <3200000>;
H A Dexynos3250-rinato.dts105 maxim,constant-uvolt = <4350000>;
108 maxim,ovp-uvolt = <6500000>;
H A Domap3-pandora-common.dtsi448 ti,bb-uvolt = <3200000>;
H A Domap3-gta04.dtsi696 ti,bb-uvolt = <3200000>;