Home
last modified time | relevance | path

Searched refs:sw_volt (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/board/freescale/common/
H A Dmc34vr500.c25 int sw_volt; in mc34vr500_get_sw_volt() local
54 sw_volt = 625 + (swxvolt - spb) * 25; in mc34vr500_get_sw_volt()
56 debug("%s: SW%u volt = %dmV\n", __func__, sw + 1, sw_volt); in mc34vr500_get_sw_volt()
57 return sw_volt; in mc34vr500_get_sw_volt()
60 int mc34vr500_set_sw_volt(uint8_t sw, int sw_volt) in mc34vr500_set_sw_volt() argument
67 debug("%s: Set SW%u volt to %dmV\n", __func__, sw + 1, sw_volt); in mc34vr500_set_sw_volt()
69 if (sw > SW4 || sw_volt < 625) in mc34vr500_set_sw_volt()
84 swxvolt = (sw_volt - 625) / 25 + spb; in mc34vr500_set_sw_volt()
/openbmc/u-boot/include/power/
H A Dmc34vr500_pmic.h172 int mc34vr500_set_sw_volt(uint8_t sw, int sw_volt);