Lines Matching refs:status
96 int status;
98 status = i2c_smbus_xfer(client->adapter, client->addr, client->flags,
101 return (status < 0) ? status : data.byte;
131 int status;
133 status = i2c_smbus_xfer(client->adapter, client->addr, client->flags,
136 return (status < 0) ? status : data.byte;
171 int status;
173 status = i2c_smbus_xfer(client->adapter, client->addr, client->flags,
176 return (status < 0) ? status : data.word;
219 int status;
221 status = i2c_smbus_xfer(client->adapter, client->addr, client->flags,
224 if (status)
225 return status;
262 int status;
267 status = i2c_smbus_xfer(client->adapter, client->addr, client->flags,
270 if (status < 0)
271 return status;
329 int status;
464 status = __i2c_transfer(adapter, msg, num);
465 if (status < 0)
467 if (status != num) {
468 status = -EIO;
471 status = 0;
475 status = i2c_smbus_check_pec(partial_pec, &msg[num-1]);
476 if (status < 0)
502 status = -EPROTO;
516 return status;
641 int status;
654 status = i2c_smbus_read_word_data(client, command + i);
655 if (status < 0)
656 return status;
657 values[i] = status & 0xff;
658 values[i + 1] = status >> 8;
664 status = i2c_smbus_read_byte_data(client, command + i);
665 if (status < 0)
666 return status;
667 values[i] = status;