Searched refs:vdd_last (Results 1 – 4 of 4) sorted by relevance
/openbmc/u-boot/board/freescale/common/ |
H A D | vid.c | 282 int wait, vdd_last; in set_voltage_to_IR() local 307 vdd_last = wait_for_voltage_stable(i2caddress); in set_voltage_to_IR() 308 if (vdd_last < 0) in set_voltage_to_IR() 310 debug("VID: Current voltage is %d mV\n", vdd_last); in set_voltage_to_IR() 311 return vdd_last; in set_voltage_to_IR() 320 int ret, vdd_last, vdd_target = vdd; in set_voltage_to_LTC() local 342 vdd_last = read_voltage_from_LTC(i2caddress); in set_voltage_to_LTC() 343 if (vdd_last < 0) { in set_voltage_to_LTC() 348 temp = vdd_last - vdd_target; in set_voltage_to_LTC() 351 return vdd_last; in set_voltage_to_LTC() [all …]
|
/openbmc/u-boot/board/freescale/t4qds/ |
H A D | t4240qds.c | 141 static inline int wait_for_voltage_change(int vdd_last) in wait_for_voltage_change() argument 147 for (timeout = 0; abs(vdd_last - vdd_current) <= 4 && in wait_for_voltage_change() 164 int timeout, vdd_current, vdd_last; in wait_for_voltage_stable() local 166 vdd_last = read_voltage(); in wait_for_voltage_stable() 170 for (timeout = 0; abs(vdd_last - vdd_current) >= 4 && in wait_for_voltage_stable() 172 vdd_last = vdd_current; in wait_for_voltage_stable() 186 int wait, vdd_last; in set_voltage() local 188 vdd_last = read_voltage(); in set_voltage() 190 wait = wait_for_voltage_change(vdd_last); in set_voltage() 196 vdd_last = wait_for_voltage_stable(wait); in set_voltage() [all …]
|
/openbmc/u-boot/board/freescale/b4860qds/ |
H A D | b4860qds.c | 138 int vdd_target, vdd_last; in adjust_vdd() local 218 vdd_last = read_voltage(); in adjust_vdd() 219 if (vdd_last < 0) { in adjust_vdd() 225 debug("VID: Core voltage is at %d mV\n", vdd_last); in adjust_vdd() 315 vdd_last = read_voltage(); in adjust_vdd() 318 if (vdd_last > 0) in adjust_vdd() 319 printf("VID: Core voltage %d mV\n", vdd_last); in adjust_vdd()
|
/openbmc/u-boot/board/freescale/ls1088a/ |
H A D | ls1088a.c | 522 int ret, vdd_last; in set_serdes_volt() local 536 vdd_last = get_serdes_volt(); in set_serdes_volt() 537 if (vdd_last < 0) { in set_serdes_volt() 541 } while (vdd_last != svdd); in set_serdes_volt()
|