Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/iio/pressure/
A Dbmp280-core.c179 __be16 bmp180_cal_buf[BMP180_REG_CALIB_COUNT / 2]; member
1422 data->bmp180_cal_buf, sizeof(data->bmp180_cal_buf)); in bmp180_read_calib()
1429 if (data->bmp180_cal_buf[i] == cpu_to_be16(0) || in bmp180_read_calib()
1430 data->bmp180_cal_buf[i] == cpu_to_be16(0xffff)) in bmp180_read_calib()
1435 add_device_randomness(data->bmp180_cal_buf, sizeof(data->bmp180_cal_buf)); in bmp180_read_calib()
1437 calib->AC1 = be16_to_cpu(data->bmp180_cal_buf[AC1]); in bmp180_read_calib()
1443 calib->B1 = be16_to_cpu(data->bmp180_cal_buf[B1]); in bmp180_read_calib()
1444 calib->B2 = be16_to_cpu(data->bmp180_cal_buf[B2]); in bmp180_read_calib()
1445 calib->MB = be16_to_cpu(data->bmp180_cal_buf[MB]); in bmp180_read_calib()
1446 calib->MC = be16_to_cpu(data->bmp180_cal_buf[MC]); in bmp180_read_calib()
[all …]

Completed in 6 milliseconds