Home
last modified time | relevance | path

Searched refs:bmp180_cal_buf (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/iio/pressure/
Dbmp280-core.c2346 data->bmp180_cal_buf, sizeof(data->bmp180_cal_buf)); in bmp180_read_calib()
2353 for (i = 0; i < ARRAY_SIZE(data->bmp180_cal_buf); i++) { in bmp180_read_calib()
2354 if (data->bmp180_cal_buf[i] == cpu_to_be16(0) || in bmp180_read_calib()
2355 data->bmp180_cal_buf[i] == cpu_to_be16(0xffff)) in bmp180_read_calib()
2360 add_device_randomness(data->bmp180_cal_buf, in bmp180_read_calib()
2361 sizeof(data->bmp180_cal_buf)); in bmp180_read_calib()
2363 calib->AC1 = be16_to_cpu(data->bmp180_cal_buf[AC1]); in bmp180_read_calib()
2364 calib->AC2 = be16_to_cpu(data->bmp180_cal_buf[AC2]); in bmp180_read_calib()
2365 calib->AC3 = be16_to_cpu(data->bmp180_cal_buf[AC3]); in bmp180_read_calib()
2366 calib->AC4 = be16_to_cpu(data->bmp180_cal_buf[AC4]); in bmp180_read_calib()
[all …]
Dbmp280.h425 __be16 bmp180_cal_buf[BMP180_REG_CALIB_COUNT / 2]; member