Home
last modified time | relevance | path

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

/u-boot/board/freescale/common/
A Dvid.c183 #define NUM_READINGS 4 /* prefer to be power of 2 for efficiency */ macro
209 for (i = 0; i < NUM_READINGS; i++) { in read_voltage_from_INA220()
230 voltage_read /= NUM_READINGS; in read_voltage_from_INA220()
250 for (i = 0; i < NUM_READINGS; i++) { in read_voltage_from_IR()
273 voltage_read /= NUM_READINGS; in read_voltage_from_IR()
432 udelay(NUM_READINGS * WAIT_FOR_ADC); in wait_for_voltage_stable()
443 udelay(NUM_READINGS * WAIT_FOR_ADC); in wait_for_voltage_stable()
483 debug("VID: Waited %d us\n", wait * NUM_READINGS * WAIT_FOR_ADC); in set_voltage_to_IR()

Completed in 4 milliseconds