Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/pressure/
H A Dbmp280-core.c1845 data->bmp180_cal_buf, sizeof(data->bmp180_cal_buf)); in bmp180_read_calib()
1852 if (data->bmp180_cal_buf[i] == cpu_to_be16(0) || in bmp180_read_calib()
1853 data->bmp180_cal_buf[i] == cpu_to_be16(0xffff)) in bmp180_read_calib()
1858 add_device_randomness(data->bmp180_cal_buf, in bmp180_read_calib()
1859 sizeof(data->bmp180_cal_buf)); in bmp180_read_calib()
1861 calib->AC1 = be16_to_cpu(data->bmp180_cal_buf[AC1]); in bmp180_read_calib()
1867 calib->B1 = be16_to_cpu(data->bmp180_cal_buf[B1]); in bmp180_read_calib()
1868 calib->B2 = be16_to_cpu(data->bmp180_cal_buf[B2]); in bmp180_read_calib()
1869 calib->MB = be16_to_cpu(data->bmp180_cal_buf[MB]); in bmp180_read_calib()
1870 calib->MC = be16_to_cpu(data->bmp180_cal_buf[MC]); in bmp180_read_calib()
[all …]
H A Dbmp280.h414 __be16 bmp180_cal_buf[BMP180_REG_CALIB_COUNT / 2]; member