Lines Matching refs:status
100 s32 status = i2c_smbus_read_i2c_block_data(client,
104 if (status < 0)
105 return status;
107 if (status != BMP085_CALIBRATION_DATA_LENGTH*sizeof(u16))
128 s32 status;
131 status = i2c_smbus_write_byte_data(data->client, BMP085_CTRL_REG,
133 if (status != 0) {
140 status = i2c_smbus_read_i2c_block_data(data->client,
142 if (status < 0)
144 if (status != sizeof(tmp)) {
147 status = -EIO;
152 status = 0; /* everything ok, return 0 */
156 return status;
162 s32 status;
165 status = i2c_smbus_write_byte_data(data->client, BMP085_CTRL_REG,
167 if (status != 0) {
177 status = i2c_smbus_read_i2c_block_data(data->client,
179 if (status < 0)
181 if (status != 3) {
184 status = -EIO;
189 status = 0; /* everything ok, return 0 */
193 return status;
205 int status;
207 status = bmp085_update_raw_temperature(data);
208 if (status != 0)
219 return status;;
234 int status;
238 status = bmp085_get_temperature(data, NULL);
239 if (status != 0)
243 status = bmp085_update_raw_pressure(data);
244 if (status != 0)
277 return status;
334 int status;
338 status = bmp085_get_temperature(data, &temperature);
339 if (status != 0)
340 return status;
351 int status;
355 status = bmp085_get_pressure(data, &pressure);
356 if (status != 0)
357 return status;
389 int status;
392 status = bmp085_read_calibration_data(client);
393 if (status != 0)
402 return status;