Searched refs:i2c_get16 (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | tmp105-test.c | 53 value = i2c_get16(i2cdev, TMP105_REG_TEMPERATURE); in send_and_receive() 60 value = i2c_get16(i2cdev, TMP105_REG_TEMPERATURE); in send_and_receive() 73 value = i2c_get16(i2cdev, TMP105_REG_TEMPERATURE); in send_and_receive() 79 value = i2c_get16(i2cdev, TMP105_REG_TEMPERATURE); in send_and_receive() 84 value = i2c_get16(i2cdev, TMP105_REG_TEMPERATURE); in send_and_receive() 89 value = i2c_get16(i2cdev, TMP105_REG_TEMPERATURE); in send_and_receive() 99 value = i2c_get16(i2cdev, TMP105_REG_TEMPERATURE); in send_and_receive() 103 g_assert_cmphex(i2c_get16(i2cdev, TMP105_REG_T_LOW), ==, 0x1230); in send_and_receive() 105 g_assert_cmphex(i2c_get16(i2cdev, TMP105_REG_T_HIGH), ==, 0x4230); in send_and_receive()
|
H A D | lsm303dlhc-mag-test.c | 86 value = i2c_get16(i2cdev, LSM303DLHC_MAG_REG_OUT_X_H); in send_and_receive() 90 value = i2c_get16(i2cdev, LSM303DLHC_MAG_REG_OUT_Y_H); in send_and_receive() 94 value = i2c_get16(i2cdev, LSM303DLHC_MAG_REG_OUT_Z_H); in send_and_receive() 98 value = i2c_get16(i2cdev, LSM303DLHC_MAG_REG_TEMP_OUT_H); in send_and_receive() 105 value = i2c_get16(i2cdev, LSM303DLHC_MAG_REG_TEMP_OUT_H); in send_and_receive()
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | i2c.h | 58 uint16_t i2c_get16(QI2CDevice *dev, uint8_t reg);
|
H A D | i2c.c | 47 uint16_t i2c_get16(QI2CDevice *i2cdev, uint8_t reg) in i2c_get16() function
|