Home
last modified time | relevance | path

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

/u-boot/board/freescale/common/
A Dmc34vr500.c24 u32 swxvolt; in mc34vr500_get_sw_volt() local
46 ret = pmic_reg_read(p, swxvolt_addr[sw], &swxvolt); in mc34vr500_get_sw_volt()
52 debug("%s: SW%d step point swxvolt = %u\n", __func__, sw + 1, swxvolt); in mc34vr500_get_sw_volt()
55 sw_volt = 625 + (swxvolt - spb) * 25; in mc34vr500_get_sw_volt()
64 u32 swxvolt; in mc34vr500_set_sw_volt() local
85 swxvolt = (sw_volt - 625) / 25 + spb; in mc34vr500_set_sw_volt()
86 debug("%s: SW%d step point swxvolt = %u\n", __func__, sw + 1, swxvolt); in mc34vr500_set_sw_volt()
87 if (swxvolt > 63) in mc34vr500_set_sw_volt()
90 ret = pmic_reg_write(p, swxvolt_addr[sw], swxvolt); in mc34vr500_set_sw_volt()

Completed in 3 milliseconds