Home
last modified time | relevance | path

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

/external/u-boot/board/freescale/common/
Dvid.c227 int timeout, vdd_current; in wait_for_new_voltage() local
229 vdd_current = read_voltage(i2caddress); in wait_for_new_voltage()
240 abs(vdd - vdd_current) > (IR_VDD_STEP_UP + IR_VDD_STEP_DOWN) && in wait_for_new_voltage()
242 vdd_current = read_voltage(i2caddress); in wait_for_new_voltage()
257 int timeout, vdd_current, vdd; in wait_for_voltage_stable() local
263 vdd_current = read_voltage(i2caddress); in wait_for_voltage_stable()
268 abs(vdd - vdd_current) > ADC_MIN_ACCURACY && in wait_for_voltage_stable()
270 vdd = vdd_current; in wait_for_voltage_stable()
272 vdd_current = read_voltage(i2caddress); in wait_for_voltage_stable()
276 return vdd_current; in wait_for_voltage_stable()
[all …]
/external/u-boot/board/freescale/t4qds/
Dt4240qds.c143 int timeout, vdd_current; in wait_for_voltage_change() local
145 vdd_current = read_voltage(); in wait_for_voltage_change()
147 for (timeout = 0; abs(vdd_last - vdd_current) <= 4 && in wait_for_voltage_change()
149 vdd_current = read_voltage(); in wait_for_voltage_change()
164 int timeout, vdd_current, vdd_last; in wait_for_voltage_stable() local
169 vdd_current = 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()
174 vdd_current = read_voltage(); in wait_for_voltage_stable()
181 return vdd_current; in wait_for_voltage_stable()
[all …]