Home
last modified time | relevance | path

Searched defs:i2cdev (Results 1 – 10 of 10) sorted by relevance

/qemu/tests/qtest/libqos/
H A Di2c.c13 void qi2c_send(QI2CDevice *i2cdev, const uint8_t *buf, uint16_t len) in qi2c_send()
18 void qi2c_recv(QI2CDevice *i2cdev, uint8_t *buf, uint16_t len) in qi2c_recv()
23 void i2c_read_block(QI2CDevice *i2cdev, uint8_t reg, in i2c_read_block()
30 void i2c_write_block(QI2CDevice *i2cdev, uint8_t reg, in i2c_write_block()
40 uint8_t i2c_get8(QI2CDevice *i2cdev, uint8_t reg) in i2c_get8()
47 uint16_t i2c_get16(QI2CDevice *i2cdev, uint8_t reg) in i2c_get16()
54 void i2c_set8(QI2CDevice *i2cdev, uint8_t reg, uint8_t value) in i2c_set8()
59 void i2c_set16(QI2CDevice *i2cdev, uint8_t reg, uint16_t value) in i2c_set16()
70 QI2CDevice *i2cdev = g_new0(QI2CDevice, 1); in i2c_device_create() local
/qemu/tests/qtest/
H A Disl_pmbus_vr-test.c57 static uint16_t isl_pmbus_vr_i2c_get16(QI2CDevice *i2cdev, uint8_t reg) in isl_pmbus_vr_i2c_get16()
65 static void isl_pmbus_vr_i2c_set16(QI2CDevice *i2cdev, uint8_t reg, in isl_pmbus_vr_i2c_set16()
78 QI2CDevice *i2cdev = (QI2CDevice *)obj; in test_defaults() local
157 QI2CDevice *i2cdev = (QI2CDevice *)obj; in raa228000_test_defaults() local
221 QI2CDevice *i2cdev = (QI2CDevice *)obj; in test_tx_rx() local
274 QI2CDevice *i2cdev = (QI2CDevice *)obj; in test_rw_regs() local
349 QI2CDevice *i2cdev = (QI2CDevice *)obj; in test_pages_rw() local
364 QI2CDevice *i2cdev = (QI2CDevice *)obj; in test_ro_regs() local
417 QI2CDevice *i2cdev = (QI2CDevice *)obj; in test_voltage_faults() local
H A Dmax34451-test.c69 static uint16_t max34451_i2c_get16(QI2CDevice *i2cdev, uint8_t reg) in max34451_i2c_get16()
77 static void max34451_i2c_set16(QI2CDevice *i2cdev, uint8_t reg, uint16_t value) in max34451_i2c_set16()
90 QI2CDevice *i2cdev = (QI2CDevice *)obj; in test_defaults() local
150 QI2CDevice *i2cdev = (QI2CDevice *)obj; in test_temperature() local
177 QI2CDevice *i2cdev = (QI2CDevice *)obj; in test_voltage() local
206 QI2CDevice *i2cdev = (QI2CDevice *)obj; in test_rw_regs() local
253 QI2CDevice *i2cdev = (QI2CDevice *)obj; in test_ro_regs() local
280 QI2CDevice *i2cdev = (QI2CDevice *)obj; in test_ov_faults() local
302 QI2CDevice *i2cdev = (QI2CDevice *)obj; in test_ot_faults() local
326 QI2CDevice *i2cdev = (QI2CDevice *)obj; in test_all_pages() local
H A Dpca9552-test.c20 static void pca9552_init(QI2CDevice *i2cdev) in pca9552_init()
29 QI2CDevice *i2cdev = (QI2CDevice *)obj; in receive_autoinc() local
56 QI2CDevice *i2cdev = (QI2CDevice *)obj; in send_and_receive() local
H A Dadm1266-test.c48 static void compare_string(QI2CDevice *i2cdev, uint8_t reg, in compare_string()
58 static void write_and_compare_string(QI2CDevice *i2cdev, uint8_t reg, in write_and_compare_string()
71 QI2CDevice *i2cdev = (QI2CDevice *)obj; in test_defaults() local
87 QI2CDevice *i2cdev = (QI2CDevice *)obj; in test_rw_regs() local
H A Dadm1272-test.c173 static uint16_t adm1272_i2c_get16(QI2CDevice *i2cdev, uint8_t reg) in adm1272_i2c_get16()
181 static void adm1272_i2c_set16(QI2CDevice *i2cdev, uint8_t reg, uint16_t value) in adm1272_i2c_set16()
194 QI2CDevice *i2cdev = (QI2CDevice *)obj; in test_defaults() local
252 QI2CDevice *i2cdev = (QI2CDevice *)obj; in test_tx_rx() local
296 QI2CDevice *i2cdev = (QI2CDevice *)obj; in test_rw_regs() local
371 QI2CDevice *i2cdev = (QI2CDevice *)obj; in test_ro_regs() local
404 QI2CDevice *i2cdev = (QI2CDevice *)obj; in test_voltage_faults() local
H A Dlsm303dlhc-mag-test.c54 QI2CDevice *i2cdev = (QI2CDevice *)obj; in send_and_receive() local
112 QI2CDevice *i2cdev = (QI2CDevice *)obj; in reg_wraparound() local
H A Dds1338-test.c33 QI2CDevice *i2cdev = (QI2CDevice *)obj; in send_and_receive() local
H A Demc141x-test.c44 QI2CDevice *i2cdev = (QI2CDevice *)obj; in send_and_receive() local
H A Dtmp105-test.c48 QI2CDevice *i2cdev = (QI2CDevice *)obj; in send_and_receive() local