Lines Matching defs:rc
85 int rc;
87 rc = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
88 if (rc != ARRAY_SIZE(msgs)) {
113 int rc;
123 rc = i2c_transfer(client->adapter, century_msgs,
125 if (rc != ARRAY_SIZE(century_msgs))
132 rc = i2c_transfer(client->adapter, burst_msgs, ARRAY_SIZE(burst_msgs));
133 if (rc != ARRAY_SIZE(burst_msgs))
146 int rc;
149 rc = max6900_i2c_read_regs(client, regs);
150 if (rc < 0)
151 return rc;
167 int rc;
168 rc = i2c_smbus_write_byte_data(client, MAX6900_REG_CONTROL_WRITE, 0);
169 if (rc < 0) {
181 int rc;
183 rc = max6900_i2c_clear_write_protect(client);
184 if (rc < 0)
185 return rc;
198 rc = max6900_i2c_write_regs(client, regs);
199 if (rc < 0)
200 return rc;