Home
last modified time | relevance | path

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

/external/u-boot/board/freescale/common/
Dmc34vr500.c23 u32 swxvolt; in mc34vr500_get_sw_volt() local
45 ret = pmic_reg_read(p, swxvolt_addr[sw], &swxvolt); in mc34vr500_get_sw_volt()
51 debug("%s: SW%d step point swxvolt = %u\n", __func__, sw + 1, swxvolt); in mc34vr500_get_sw_volt()
54 sw_volt = 625 + (swxvolt - spb) * 25; in mc34vr500_get_sw_volt()
63 u32 swxvolt; in mc34vr500_set_sw_volt() local
84 swxvolt = (sw_volt - 625) / 25 + spb; in mc34vr500_set_sw_volt()
85 debug("%s: SW%d step point swxvolt = %u\n", __func__, sw + 1, swxvolt); in mc34vr500_set_sw_volt()
86 if (swxvolt > 63) in mc34vr500_set_sw_volt()
89 ret = pmic_reg_write(p, swxvolt_addr[sw], swxvolt); in mc34vr500_set_sw_volt()