I2C_CORE_E_OK
if (err->i2c_error != I2C_CORE_E_OK &&
info->pinfo_sup = err->i2c_error == I2C_CORE_E_OK;
if (prop.up_error.i2c_error != I2C_CORE_E_OK) {
if (prop.up_error.i2c_error != I2C_CORE_E_OK) {
if (dev.uda_error.i2c_error != I2C_CORE_E_OK) {
if (rem.udr_error.i2c_error != I2C_CORE_E_OK) {
if (info->dinfo_info.udi_error.i2c_error != I2C_CORE_E_OK) {
VERIFY3U(ioc->i2c_error, !=, I2C_CORE_E_OK);
if (i2c.ir_error.i2c_error != I2C_CORE_E_OK) {
if (smbus.smbr_error.i2c_error != I2C_CORE_E_OK) {
I2C_CORE_E_OK) {
if (port->port_info.upo_error.i2c_error != I2C_CORE_E_OK) {
if (map->pm_info.upo_error.i2c_error != I2C_CORE_E_OK) {
i2csimd_io_error(simd, I2C_CORE_E_OK, I2C_CTRL_E_OK);
if (!test_add_device(fd, "pca9548", 0x70, I2C_CORE_E_OK, "create "
if (!test_add_device(pfd0, "fake-device", 0x42, I2C_CORE_E_OK, "create "
if (!test_add_device(pfd4, "fake-device", 0x42, I2C_CORE_E_OK, "create "
if (test_add_device(fd, "fake-device", 0x23, I2C_CORE_E_OK, "create "
if (!test_add_nvlist(fd, nvl, I2C_CORE_E_OK, "1-entry compat[]")) {
if (!test_add_nvlist(fd, nvl, I2C_CORE_E_OK, "32-entry compat[]")) {
if (err == I2C_CORE_E_OK) {
if (!test_rm(fd, I2C_ADDR_7BIT, 0x30, I2C_CORE_E_OK, "tear down device "
if (!test_rm(fd, I2C_ADDR_7BIT, 0x31, I2C_CORE_E_OK, "tear down device "
if (!test_rm(pfd0, I2C_ADDR_7BIT, 0x42, I2C_CORE_E_OK, "tear down "
if (!test_rm(pdf4, I2C_ADDR_7BIT, 0x42, I2C_CORE_E_OK, "tear down "
if (!test_rm(fd, I2C_ADDR_7BIT, 0x70, I2C_CORE_E_OK, "tear down empty "
if (!test_rm(fd, I2C_ADDR_7BIT, 0x23, I2C_CORE_E_OK, "tear down device "
if (err == I2C_CORE_E_OK) {
return (I2C_CORE_E_OK);
return (I2C_CORE_E_OK);
return (I2C_CORE_E_OK);
return (I2C_CORE_E_OK);
return (I2C_CORE_E_OK);
return (I2C_CORE_E_OK);
I2C_CORE_E_OK) {
&at->at_clients[i])) != I2C_CORE_E_OK) {
&at->at_regs[i])) != I2C_CORE_E_OK) {
if (i2c_bus_lock(client, 0, &txn) != I2C_CORE_E_OK) {
I2C_CORE_E_OK) {
I2C_CORE_E_OK) {
&ee->ee_spa0)) != I2C_CORE_E_OK) {
&ee->ee_spa1)) != I2C_CORE_E_OK) {
if (i2c_bus_lock(spd->spd_client, 0, &txn) != I2C_CORE_E_OK) {
if (i2c_bus_lock(spd->spd_client, 0, &txn) != I2C_CORE_E_OK) {
I2C_CORE_E_OK) {
&spd->spd_regs)) != I2C_CORE_E_OK) {
} else if (err.i2c_error != I2C_CORE_E_OK) {
I2C_CORE_E_OK) {
&pca->pca_regs)) != I2C_CORE_E_OK) {
} else if (err.i2c_error != I2C_CORE_E_OK) {
I2C_CORE_E_OK) {
<c->ltc_regs)) != I2C_CORE_E_OK) {
I2C_CORE_E_OK) {
if (i2c_txn_ctrl_lock(txn, true) != I2C_CORE_E_OK) {
if (i2c_txn_ctrl_lock(txn, true) != I2C_CORE_E_OK) {
if (i2c_txn_ctrl_lock(txn, true) != I2C_CORE_E_OK) {
if (err != I2C_CORE_E_OK) {
return (I2C_CORE_E_OK);
VERIFY3U(i2c_bus_lock(client, 0, &txn), ==, I2C_CORE_E_OK);
if (err.i2c_error != I2C_CORE_E_OK) {
return (I2C_CORE_E_OK);
if (err.i2c_error != I2C_CORE_E_OK) {
return (I2C_CORE_E_OK);
if (err != I2C_CORE_E_OK) {
return (I2C_CORE_E_OK);
case I2C_CORE_E_OK:
return (req->smbr_error.i2c_error == I2C_CORE_E_OK);
return (req->ir_error.i2c_error == I2C_CORE_E_OK);
if (i2c_txn_ctrl_lock(txn, true) != I2C_CORE_E_OK) {
if (i2c_txn_ctrl_lock(txn, true) != I2C_CORE_E_OK) {
if (ret != I2C_CORE_E_OK) {
if (ret != I2C_CORE_E_OK) {
if (ret != I2C_CORE_E_OK) {
return (I2C_CORE_E_OK);
return (I2C_CORE_E_OK);
ret = I2C_CORE_E_OK;
if (err->i2c_error != I2C_CORE_E_OK) {
ioc->i2c_error = I2C_CORE_E_OK;
ep->i2c_error = I2C_CORE_E_OK;
I2C_CORE_E_OK) {
I2C_CORE_E_OK) {
I2C_CORE_E_OK) {
&tmp->tmp_regs)) != I2C_CORE_E_OK) {
I2C_CORE_E_OK) {
&ts->ts_regs)) != I2C_CORE_E_OK) {