Lines Matching refs:value
31 static void qmp_emc1414_set_temperature(const char *id, int value) in qmp_emc1414_set_temperature() argument
36 "'property': 'temperature0', 'value': %d } }", id, value); in qmp_emc1414_set_temperature()
43 uint16_t value; in send_and_receive() local
46 value = qmp_emc1414_get_temperature(EMC1414_TEST_ID); in send_and_receive()
47 g_assert_cmpuint(value, ==, 0); in send_and_receive()
49 value = i2c_get8(i2cdev, EMC141X_TEMP_HIGH0); in send_and_receive()
50 g_assert_cmphex(value, ==, 0); in send_and_receive()
53 value = i2c_get8(i2cdev, EMC141X_TEMP_MAX_HIGH0); in send_and_receive()
54 g_assert_cmphex(value, ==, 0x55); in send_and_receive()
56 value = i2c_get8(i2cdev, EMC141X_TEMP_MIN_HIGH0); in send_and_receive()
57 g_assert_cmphex(value, ==, 0); in send_and_receive()
61 value = qmp_emc1414_get_temperature(EMC1414_TEST_ID); in send_and_receive()
62 g_assert_cmpuint(value, ==, 30000); in send_and_receive()
64 value = i2c_get8(i2cdev, EMC141X_TEMP_HIGH0); in send_and_receive()
65 g_assert_cmphex(value, ==, 30); in send_and_receive()