Searched refs:voltage_read (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/u-boot/board/freescale/common/ |
| H A D | vid.c | 94 int i, ret, voltage_read = 0; in read_voltage_from_INA220() local 113 voltage_read += (vol_mon >> I2C_VOL_MONITOR_BUS_V_SHIFT) * 4; in read_voltage_from_INA220() 117 voltage_read /= NUM_READINGS; in read_voltage_from_INA220() 119 return voltage_read; in read_voltage_from_INA220() 127 int i, ret, voltage_read = 0; in read_voltage_from_IR() local 148 voltage_read += vol_mon * 1000; in read_voltage_from_IR() 152 voltage_read = DIV_ROUND_UP(voltage_read, 128); in read_voltage_from_IR() 155 voltage_read /= NUM_READINGS; in read_voltage_from_IR() 160 voltage_read -= board_vdd_drop_compensation(); in read_voltage_from_IR() 162 return voltage_read; in read_voltage_from_IR() [all …]
|
| H A D | zm7300.c | 175 uint16_t voltage_read; in zm_write_voltage() local 182 voltage_read = hex_to_1_10mv[ret]; in zm_write_voltage() 183 debug("voltage set to %dmV\n", voltage_read/10); in zm_write_voltage() 184 return voltage_read; in zm_write_voltage()
|
| /OK3568_Linux_fs/u-boot/board/freescale/t4qds/ |
| H A D | t4240qds.c | 113 int i, ret, voltage_read = 0; in read_voltage() local 129 voltage_read += (vol_mon >> I2C_VOL_MONITOR_BUS_V_SHIFT) * 4; in read_voltage() 133 voltage_read /= NUM_READINGS; in read_voltage() 135 return voltage_read; in read_voltage()
|
| /OK3568_Linux_fs/u-boot/board/freescale/b4860qds/ |
| H A D | b4860qds.c | 107 int i, ret, voltage_read = 0; in read_voltage() local 123 voltage_read += (vol_mon >> I2C_VOL_MONITOR_BUS_V_SHIFT) * 4; in read_voltage() 127 voltage_read /= NUM_READINGS; in read_voltage() 129 return voltage_read; in read_voltage()
|