Searched refs:uvol (Results 1 - 12 of 12) sorted by relevance

/netbsd-current/sys/dev/fdt/
H A Dfdt_regulator.c179 u_int uvol; local
184 if (of_getprop_uint32(rc->rc_phandle, "regulator-min-microvolt", &uvol) == 0) {
185 if (uvol < min_uvol)
188 if (of_getprop_uint32(rc->rc_phandle, "regulator-max-microvolt", &uvol) == 0) {
189 if (uvol > max_uvol)
H A Ddwcmmc_fdt.c261 u_int uvol; local
269 uvol = 1800000;
272 uvol = 3300000;
278 error = fdtbus_regulator_supports_voltage(esc->sc_vqmmc, uvol, uvol);
282 error = fdtbus_regulator_set_voltage(esc->sc_vqmmc, uvol, uvol);
H A Dfixedregulator.c194 fixedregulator_get_voltage(device_t dev, u_int *uvol) argument
198 *uvol = sc->sc_min_uvol;
/netbsd-current/sys/arch/arm/nvidia/
H A Dtegra124_cpu.c89 u_int uvol; member in struct:tegra124_cpufreq_rate
270 if (cur_uvol < r->uvol) {
272 r->uvol, r->uvol);
285 if (cur_uvol > r->uvol) {
287 r->uvol, r->uvol);
H A Dtegra_sdhc.c275 u_int uvol; local
282 uvol = 3300000;
285 uvol = 1800000;
291 error = fdtbus_regulator_set_voltage(sc->sc_reg_vqmmc, uvol, uvol);
/netbsd-current/sys/dev/i2c/
H A Das3722.c601 u_int uvol; local
605 uvol = 800000 + (v * 25000);
606 if (uvol >= min_uvol && uvol <= max_uvol) {
612 uvol = 1725000 + ((v - 0x40) * 25000);
613 if (uvol >= min_uvol && uvol <= max_uvol) {
668 u_int uvol; local
673 uvol = 400000 + (v * 10000);
674 if (uvol >
745 u_int uvol; local
[all...]
H A Daxppmic.c1301 u_int uvol, min_uvol, max_uvol; local
1318 int error = axpreg_get_voltage(self, &uvol);
1324 if (uvol < min_uvol || uvol > max_uvol) {
1326 uvol, min_uvol, max_uvol);
/netbsd-current/sys/arch/arm/amlogic/
H A Dmeson_sdio.c474 u_int uvol; local
482 uvol = 3300000;
485 uvol = 1800000;
491 error = fdtbus_regulator_supports_voltage(sc->sc_reg_vqmmc, uvol, uvol);
495 error = fdtbus_regulator_set_voltage(sc->sc_reg_vqmmc, uvol, uvol);
H A Dmesongx_mmc.c793 u_int uvol; local
801 uvol = 3300000;
804 uvol = 1800000;
810 error = fdtbus_regulator_supports_voltage(sc->sc_reg_vqmmc, uvol, uvol);
814 error = fdtbus_regulator_set_voltage(sc->sc_reg_vqmmc, uvol, uvol);
H A Dmeson_sdhc.c830 u_int uvol; local
838 uvol = 3300000;
841 uvol = 1800000;
847 error = fdtbus_regulator_supports_voltage(sc->sc_reg_vqmmc, uvol, uvol);
851 error = fdtbus_regulator_set_voltage(sc->sc_reg_vqmmc, uvol, uvol);
/netbsd-current/sys/arch/arm/sunxi/
H A Dsunxi_gpio.c774 u_int uvol; local
798 error = fdtbus_regulator_get_voltage(sc->sc_pin_supply[index], &uvol);
802 uvol = 0;
804 if (uvol != 0) {
805 if (uvol <= 1800000)
807 else if (uvol <= 2500000)
809 else if (uvol <= 2800000)
811 else if (uvol <= 3000000)
H A Dsunxi_mmc.c954 u_int uvol; local
962 uvol = 3300000;
965 uvol = 1800000;
971 error = fdtbus_regulator_supports_voltage(sc->sc_reg_vqmmc, uvol, uvol);
975 error = fdtbus_regulator_set_voltage(sc->sc_reg_vqmmc, uvol, uvol);

Completed in 221 milliseconds