Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/board/freescale/common/
H A Dvid.c78 #define NUM_READINGS 4 /* prefer to be power of 2 for efficiency */ macro
98 for (i = 0; i < NUM_READINGS; i++) { in read_voltage_from_INA220()
117 voltage_read /= NUM_READINGS; in read_voltage_from_INA220()
131 for (i = 0; i < NUM_READINGS; i++) { in read_voltage_from_IR()
155 voltage_read /= NUM_READINGS; in read_voltage_from_IR()
219 udelay(NUM_READINGS * WAIT_FOR_ADC); in wait_for_voltage_stable()
230 udelay(NUM_READINGS * WAIT_FOR_ADC); in wait_for_voltage_stable()
265 debug("VID: Waited %d us\n", wait * NUM_READINGS * WAIT_FOR_ADC); in set_voltage_to_IR()
/OK3568_Linux_fs/u-boot/board/freescale/t4qds/
H A Dt4240qds.c108 #define NUM_READINGS 4 /* prefer to be power of 2 for efficiency */ macro
116 for (i = 0; i < NUM_READINGS; i++) { in read_voltage()
133 voltage_read /= NUM_READINGS; in read_voltage()
168 udelay(wait * NUM_READINGS * WAIT_FOR_ADC); in wait_for_voltage_stable()
174 udelay(wait * NUM_READINGS * WAIT_FOR_ADC); in wait_for_voltage_stable()
194 debug("VID: Waited %d us\n", wait * NUM_READINGS * WAIT_FOR_ADC); in set_voltage()
/OK3568_Linux_fs/u-boot/board/freescale/b4860qds/
H A Db4860qds.c103 #define NUM_READINGS 4 /* prefer to be power of 2 for efficiency */ macro
110 for (i = 0; i < NUM_READINGS; i++) { in read_voltage()
127 voltage_read /= NUM_READINGS; in read_voltage()