Home
last modified time | relevance | path

Searched refs:i2c_set8 (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/tests/qtest/
H A Dmax34451-test.c101 i2c_set8(i2cdev, PMBUS_PAGE, i + 16); in test_defaults()
119 i2c_set8(i2cdev, PMBUS_PAGE, i); in test_defaults()
164 i2c_set8(i2cdev, PMBUS_PAGE, i + 16); in test_temperature()
190 i2c_set8(i2cdev, PMBUS_PAGE, i); in test_voltage()
208 i2c_set8(i2cdev, PMBUS_PAGE, 11); in test_rw_regs()
212 i2c_set8(i2cdev, PMBUS_OPERATION, 1); in test_rw_regs()
255 i2c_set8(i2cdev, PMBUS_PAGE, 1); /* move to page 1 */ in test_ro_regs()
257 i2c_set8(i2cdev, PMBUS_CAPABILITY, 0xF9); in test_ro_regs()
267 i2c_set8(i2cdev, PMBUS_PAGE, 16); /* move to page 16 */ in test_ro_regs()
285 i2c_set8(i2cdev, PMBUS_PAGE, i); in test_ov_faults()
[all …]
H A Dtmp105-test.c69 i2c_set8(i2cdev, TMP105_REG_CONFIG, 0x60); in send_and_receive()
77 i2c_set8(i2cdev, TMP105_REG_CONFIG, 0x00); in send_and_receive()
82 i2c_set8(i2cdev, TMP105_REG_CONFIG, 0x20); in send_and_receive()
87 i2c_set8(i2cdev, TMP105_REG_CONFIG, 0x40); in send_and_receive()
97 i2c_set8(i2cdev, TMP105_REG_CONFIG, 0x60); in send_and_receive()
H A Dadm1266-test.c90 i2c_set8(i2cdev, PMBUS_MFR_ID, 0); in test_rw_regs()
93 i2c_set8(i2cdev, PMBUS_MFR_MODEL, 0); in test_rw_regs()
96 i2c_set8(i2cdev, PMBUS_MFR_REVISION, 0); in test_rw_regs()
H A Dpca9552-test.c23 i2c_set8(i2cdev, PCA9552_LS0, 0x54); in pca9552_init()
24 i2c_set8(i2cdev, PCA9552_LS3, 0x54); in pca9552_init()
H A Disl_pmbus_vr-test.c336 i2c_set8(i2cdev, PMBUS_OPERATION, 0xA); in test_rw_regs()
340 i2c_set8(i2cdev, PMBUS_ON_OFF_CONFIG, 0x42); in test_rw_regs()
351 i2c_set8(i2cdev, PMBUS_PAGE, 1); in test_pages_rw()
355 i2c_set8(i2cdev, PMBUS_PAGE, 0); in test_pages_rw()
428 i2c_set8(i2cdev, PMBUS_CLEAR_FAULTS, 0); in test_voltage_faults()
H A Dadm1272-test.c326 i2c_set8(i2cdev, ADM1272_RESTART_TIME, 0xF8); in test_rw_regs()
330 i2c_set8(i2cdev, ADM1272_MFR_PMON_CONTROL, 0); in test_rw_regs()
416 i2c_set8(i2cdev, PMBUS_CLEAR_FAULTS, 0); in test_voltage_faults()
H A Dlsm303dlhc-mag-test.c102 i2c_set8(i2cdev, LSM303DLHC_MAG_REG_CRA, 0x90); in send_and_receive()
/openbmc/qemu/tests/qtest/libqos/
H A Di2c.h59 void i2c_set8(QI2CDevice *dev, uint8_t reg, uint8_t value);
H A Di2c.c54 void i2c_set8(QI2CDevice *i2cdev, uint8_t reg, uint8_t value) in i2c_set8() function