Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/board/freescale/common/
H A Dvid.c242 int wait, vdd_last; in set_voltage_to_IR() local
267 vdd_last = wait_for_voltage_stable(i2caddress); in set_voltage_to_IR()
268 if (vdd_last < 0) in set_voltage_to_IR()
270 debug("VID: Current voltage is %d mV\n", vdd_last); in set_voltage_to_IR()
271 return vdd_last; in set_voltage_to_IR()
277 int vdd_last = -1; in set_voltage() local
280 vdd_last = set_voltage_to_IR(i2caddress, vdd); in set_voltage()
284 return vdd_last; in set_voltage()
294 int vdd_target, vdd_current, vdd_last; in adjust_vdd() local
410 vdd_last = read_voltage(i2caddress); in adjust_vdd()
[all …]
/OK3568_Linux_fs/u-boot/board/freescale/t4qds/
H A Dt4240qds.c142 static inline int wait_for_voltage_change(int vdd_last) in wait_for_voltage_change() argument
148 for (timeout = 0; abs(vdd_last - vdd_current) <= 4 && in wait_for_voltage_change()
165 int timeout, vdd_current, vdd_last; in wait_for_voltage_stable() local
167 vdd_last = read_voltage(); in wait_for_voltage_stable()
171 for (timeout = 0; abs(vdd_last - vdd_current) >= 4 && in wait_for_voltage_stable()
173 vdd_last = vdd_current; in wait_for_voltage_stable()
187 int wait, vdd_last; in set_voltage() local
189 vdd_last = read_voltage(); in set_voltage()
191 wait = wait_for_voltage_change(vdd_last); in set_voltage()
197 vdd_last = wait_for_voltage_stable(wait); in set_voltage()
[all …]
/OK3568_Linux_fs/u-boot/board/freescale/ls1088a/
H A Dls1088a.c376 int ret, vdd_last; in set_serdes_volt() local
390 vdd_last = get_serdes_volt(); in set_serdes_volt()
391 if (vdd_last < 0) { in set_serdes_volt()
395 } while (vdd_last != svdd); in set_serdes_volt()
/OK3568_Linux_fs/u-boot/board/freescale/b4860qds/
H A Db4860qds.c139 int vdd_target, vdd_last; in adjust_vdd() local
219 vdd_last = read_voltage(); in adjust_vdd()
220 if (vdd_last < 0) { in adjust_vdd()
226 debug("VID: Core voltage is at %d mV\n", vdd_last); in adjust_vdd()
316 vdd_last = read_voltage(); in adjust_vdd()
319 if (vdd_last > 0) in adjust_vdd()
320 printf("VID: Core voltage %d mV\n", vdd_last); in adjust_vdd()