Home
last modified time | relevance | path

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

/qemu/tests/qtest/
H A Disl_pmbus_vr-test.c77 uint16_t value, i2c_value; in test_defaults() local
156 uint16_t value, i2c_value; in raa228000_test_defaults() local
163 g_assert_cmpuint(i2c_value, ==, 0); in raa228000_test_defaults()
220 uint16_t i2c_value, value; in test_tx_rx() local
273 uint16_t i2c_value; in test_rw_regs() local
338 g_assert_cmphex(i2c_value, ==, 0xA); in test_rw_regs()
348 uint16_t i2c_value; in test_pages_rw() local
353 g_assert_cmphex(i2c_value, ==, 1); in test_pages_rw()
357 g_assert_cmphex(i2c_value, ==, 0); in test_pages_rw()
363 uint16_t i2c_init_value, i2c_value; in test_ro_regs() local
[all …]
H A Dadm1272-test.c192 uint16_t value, i2c_value; in test_defaults() local
209 g_assert_cmphex(i2c_value, ==, 0); in test_defaults()
224 g_assert_cmphex(i2c_value, ==, 0); in test_defaults()
278 i2c_value = adm1272_direct_to_milliamps(i2c_value); in test_tx_rx()
279 g_assert_cmphex(value, ==, i2c_value); in test_tx_rx()
295 uint16_t i2c_value; in test_rw_regs() local
328 g_assert_cmphex(i2c_value, ==, 0xF8); in test_rw_regs()
332 g_assert_cmpuint(i2c_value, ==, 0); in test_rw_regs()
364 g_assert_cmphex(i2c_value, ==, 0xA); in test_rw_regs()
370 uint16_t i2c_init_value, i2c_value; in test_ro_regs() local
[all …]
H A Dmax34451-test.c89 uint16_t value, i2c_value; in test_defaults() local
149 uint16_t value, i2c_value; in test_temperature() local
176 uint16_t value, i2c_value; in test_voltage() local
205 uint16_t i2c_value; in test_rw_regs() local
210 g_assert_cmpuint(i2c_value, ==, 11); in test_rw_regs()
214 g_assert_cmpuint(i2c_value, ==, 1); in test_rw_regs()
218 g_assert_cmpuint(i2c_value, ==, 5000); in test_rw_regs()
252 uint16_t i2c_value, i2c_init_value; in test_ro_regs() local
278 uint16_t i2c_value; in test_ov_faults() local
300 uint16_t i2c_value; in test_ot_faults() local
[all …]
H A Dadm1266-test.c70 uint16_t i2c_value; in test_defaults() local
73 i2c_value = i2c_get8(i2cdev, PMBUS_OPERATION); in test_defaults()
74 g_assert_cmphex(i2c_value, ==, ADM1266_OPERATION_DEFAULT); in test_defaults()
76 i2c_value = i2c_get8(i2cdev, PMBUS_REVISION); in test_defaults()
77 g_assert_cmphex(i2c_value, ==, ADM1266_PMBUS_REVISION_DEFAULT); in test_defaults()