Searched refs:bmp180_cal_buf (Results 1 – 2 of 2) sorted by relevance
1827 data->bmp180_cal_buf, sizeof(data->bmp180_cal_buf)); in bmp180_read_calib()1834 if (data->bmp180_cal_buf[i] == cpu_to_be16(0) || in bmp180_read_calib()1835 data->bmp180_cal_buf[i] == cpu_to_be16(0xffff)) in bmp180_read_calib()1840 add_device_randomness(data->bmp180_cal_buf, sizeof(data->bmp180_cal_buf)); in bmp180_read_calib()1842 calib->AC1 = be16_to_cpu(data->bmp180_cal_buf[AC1]); in bmp180_read_calib()1843 calib->AC2 = be16_to_cpu(data->bmp180_cal_buf[AC2]); in bmp180_read_calib()1848 calib->B1 = be16_to_cpu(data->bmp180_cal_buf[B1]); in bmp180_read_calib()1849 calib->B2 = be16_to_cpu(data->bmp180_cal_buf[B2]); in bmp180_read_calib()1850 calib->MB = be16_to_cpu(data->bmp180_cal_buf[MB]); in bmp180_read_calib()1851 calib->MC = be16_to_cpu(data->bmp180_cal_buf[MC]); in bmp180_read_calib()[all …]
411 __be16 bmp180_cal_buf[BMP180_REG_CALIB_COUNT / 2]; member