Home
last modified time | relevance | path

Searched refs:i2c_get8 (Results 1 – 10 of 10) sorted by relevance

/qemu/tests/qtest/
H A Dpca9552-test.c59 value = i2c_get8(i2cdev, PCA9552_LS0); in send_and_receive()
62 value = i2c_get8(i2cdev, PCA9552_INPUT0); in send_and_receive()
67 value = i2c_get8(i2cdev, PCA9552_LS0); in send_and_receive()
70 value = i2c_get8(i2cdev, PCA9552_INPUT0); in send_and_receive()
73 value = i2c_get8(i2cdev, PCA9552_LS3); in send_and_receive()
76 value = i2c_get8(i2cdev, PCA9552_INPUT1); in send_and_receive()
H A Disl_pmbus_vr-test.c104 i2c_value = i2c_get8(i2cdev, PMBUS_CAPABILITY); in test_defaults()
107 i2c_value = i2c_get8(i2cdev, PMBUS_OPERATION); in test_defaults()
113 i2c_value = i2c_get8(i2cdev, PMBUS_VOUT_MODE); in test_defaults()
149 i2c_value = i2c_get8(i2cdev, PMBUS_REVISION); in test_defaults()
168 i2c_value = i2c_get8(i2cdev, PMBUS_CAPABILITY); in raa228000_test_defaults()
171 i2c_value = i2c_get8(i2cdev, PMBUS_OPERATION); in raa228000_test_defaults()
177 i2c_value = i2c_get8(i2cdev, PMBUS_VOUT_MODE); in raa228000_test_defaults()
213 i2c_value = i2c_get8(i2cdev, PMBUS_REVISION); in raa228000_test_defaults()
337 i2c_value = i2c_get8(i2cdev, PMBUS_OPERATION); in test_rw_regs()
352 i2c_value = i2c_get8(i2cdev, PMBUS_PAGE); in test_pages_rw()
[all …]
H A Demc141x-test.c49 value = i2c_get8(i2cdev, EMC141X_TEMP_HIGH0); in send_and_receive()
53 value = i2c_get8(i2cdev, EMC141X_TEMP_MAX_HIGH0); in send_and_receive()
56 value = i2c_get8(i2cdev, EMC141X_TEMP_MIN_HIGH0); in send_and_receive()
64 value = i2c_get8(i2cdev, EMC141X_TEMP_HIGH0); in send_and_receive()
H A Dtmp105-test.c70 value = i2c_get8(i2cdev, TMP105_REG_CONFIG); in send_and_receive()
78 g_assert_cmphex(i2c_get8(i2cdev, TMP105_REG_CONFIG), ==, 0x00); in send_and_receive()
83 g_assert_cmphex(i2c_get8(i2cdev, TMP105_REG_CONFIG), ==, 0x20); in send_and_receive()
88 g_assert_cmphex(i2c_get8(i2cdev, TMP105_REG_CONFIG), ==, 0x40); in send_and_receive()
98 g_assert_cmphex(i2c_get8(i2cdev, TMP105_REG_CONFIG), ==, 0x60); in send_and_receive()
H A Dmax34451-test.c139 i2c_value = i2c_get8(i2cdev, PMBUS_VOUT_MODE); in test_defaults()
142 i2c_value = i2c_get8(i2cdev, PMBUS_REVISION); in test_defaults()
209 i2c_value = i2c_get8(i2cdev, PMBUS_PAGE); in test_rw_regs()
213 i2c_value = i2c_get8(i2cdev, PMBUS_OPERATION); in test_rw_regs()
256 i2c_init_value = i2c_get8(i2cdev, PMBUS_CAPABILITY); in test_ro_regs()
258 i2c_value = i2c_get8(i2cdev, PMBUS_CAPABILITY); in test_ro_regs()
291 i2c_byte = i2c_get8(i2cdev, PMBUS_STATUS_VOUT); in test_ov_faults()
313 i2c_byte = i2c_get8(i2cdev, PMBUS_STATUS_TEMPERATURE); in test_ot_faults()
334 i2c_value = i2c_get8(i2cdev, PMBUS_ON_OFF_CONFIG); in test_all_pages()
H A Dadm1272-test.c199 i2c_value = i2c_get8(i2cdev, PMBUS_OPERATION); in test_defaults()
202 i2c_value = i2c_get8(i2cdev, PMBUS_VOUT_MODE); in test_defaults()
229 i2c_value = i2c_get8(i2cdev, PMBUS_REVISION); in test_defaults()
232 i2c_value = i2c_get8(i2cdev, ADM1272_MFR_PMON_CONTROL); in test_defaults()
327 i2c_value = i2c_get8(i2cdev, ADM1272_RESTART_TIME); in test_rw_regs()
331 i2c_value = i2c_get8(i2cdev, ADM1272_MFR_PMON_CONTROL); in test_rw_regs()
363 i2c_value = i2c_get8(i2cdev, PMBUS_OPERATION); in test_rw_regs()
411 i2c_byte = i2c_get8(i2cdev, PMBUS_STATUS_VOUT); in test_voltage_faults()
417 i2c_byte = i2c_get8(i2cdev, PMBUS_STATUS_VOUT); in test_voltage_faults()
423 i2c_byte = i2c_get8(i2cdev, PMBUS_STATUS_VOUT); in test_voltage_faults()
H A Dadm1266-test.c51 uint8_t len = i2c_get8(i2cdev, reg); in compare_string()
73 i2c_value = i2c_get8(i2cdev, PMBUS_OPERATION); in test_defaults()
76 i2c_value = i2c_get8(i2cdev, PMBUS_REVISION); in test_defaults()
H A Dlsm303dlhc-mag-test.c57 g_assert_cmphex(i2c_get8(i2cdev, LSM303DLHC_MAG_REG_CRB), ==, 0x20); in send_and_receive()
/qemu/tests/qtest/libqos/
H A Di2c.h57 uint8_t i2c_get8(QI2CDevice *dev, uint8_t reg);
H A Di2c.c40 uint8_t i2c_get8(QI2CDevice *i2cdev, uint8_t reg) in i2c_get8() function