Lines Matching refs:sc_cal_blob
239 sc->sc_cal_blob.dig_T1 = (uint16_t)b[1] << 8; in bmx280_store_raw_blob_tp()
240 sc->sc_cal_blob.dig_T1 = sc->sc_cal_blob.dig_T1 | (uint16_t)b[0]; in bmx280_store_raw_blob_tp()
241 sc->sc_cal_blob.dig_T2 = (int16_t)b[3] << 8; in bmx280_store_raw_blob_tp()
242 sc->sc_cal_blob.dig_T2 = sc->sc_cal_blob.dig_T2 | (int16_t)b[2]; in bmx280_store_raw_blob_tp()
243 sc->sc_cal_blob.dig_T3 = (int16_t)b[5] << 8; in bmx280_store_raw_blob_tp()
244 sc->sc_cal_blob.dig_T3 = sc->sc_cal_blob.dig_T3 | (int16_t)b[4]; in bmx280_store_raw_blob_tp()
246 sc->sc_cal_blob.dig_P1 = (uint16_t)b[7] << 8; in bmx280_store_raw_blob_tp()
247 sc->sc_cal_blob.dig_P1 = sc->sc_cal_blob.dig_P1 | (uint16_t)b[6]; in bmx280_store_raw_blob_tp()
248 sc->sc_cal_blob.dig_P2 = (int16_t)b[9] << 8; in bmx280_store_raw_blob_tp()
249 sc->sc_cal_blob.dig_P2 = sc->sc_cal_blob.dig_P2 | (int16_t)b[8]; in bmx280_store_raw_blob_tp()
250 sc->sc_cal_blob.dig_P3 = (int16_t)b[11] << 8; in bmx280_store_raw_blob_tp()
251 sc->sc_cal_blob.dig_P3 = sc->sc_cal_blob.dig_P3 | (int16_t)b[10]; in bmx280_store_raw_blob_tp()
252 sc->sc_cal_blob.dig_P4 = (int16_t)b[13] << 8; in bmx280_store_raw_blob_tp()
253 sc->sc_cal_blob.dig_P4 = sc->sc_cal_blob.dig_P4 | (int16_t)b[12]; in bmx280_store_raw_blob_tp()
254 sc->sc_cal_blob.dig_P5 = (int16_t)b[15] << 8; in bmx280_store_raw_blob_tp()
255 sc->sc_cal_blob.dig_P5 = sc->sc_cal_blob.dig_P5 | (int16_t)b[14]; in bmx280_store_raw_blob_tp()
256 sc->sc_cal_blob.dig_P6 = (int16_t)b[17] << 8; in bmx280_store_raw_blob_tp()
257 sc->sc_cal_blob.dig_P6 = sc->sc_cal_blob.dig_P6 | (int16_t)b[16]; in bmx280_store_raw_blob_tp()
258 sc->sc_cal_blob.dig_P7 = (int16_t)b[19] << 8; in bmx280_store_raw_blob_tp()
259 sc->sc_cal_blob.dig_P7 = sc->sc_cal_blob.dig_P7 | (int16_t)b[18]; in bmx280_store_raw_blob_tp()
260 sc->sc_cal_blob.dig_P8 = (int16_t)b[21] << 8; in bmx280_store_raw_blob_tp()
261 sc->sc_cal_blob.dig_P8 = sc->sc_cal_blob.dig_P8 | (int16_t)b[20]; in bmx280_store_raw_blob_tp()
262 sc->sc_cal_blob.dig_P9 = (int16_t)b[23] << 8; in bmx280_store_raw_blob_tp()
263 sc->sc_cal_blob.dig_P9 = sc->sc_cal_blob.dig_P9 | (int16_t)b[22]; in bmx280_store_raw_blob_tp()
268 sc->sc_cal_blob.dig_H1 = (uint8_t)b[0]; in bmx280_store_raw_blob_h()
269 sc->sc_cal_blob.dig_H2 = (int16_t)b[2] << 8; in bmx280_store_raw_blob_h()
270 sc->sc_cal_blob.dig_H2 = sc->sc_cal_blob.dig_H2 | (int16_t)b[1]; in bmx280_store_raw_blob_h()
271 sc->sc_cal_blob.dig_H3 = (uint8_t)b[3]; in bmx280_store_raw_blob_h()
272 sc->sc_cal_blob.dig_H4 = ((int16_t)((b[4] << 4) | (b[5] & 0x0F))); in bmx280_store_raw_blob_h()
273 sc->sc_cal_blob.dig_H5 = (int16_t)b[6] << 4; in bmx280_store_raw_blob_h()
274 sc->sc_cal_blob.dig_H5 = sc->sc_cal_blob.dig_H5 | (((int16_t)b[5] & 0x00f0) >> 4); in bmx280_store_raw_blob_h()
275 sc->sc_cal_blob.dig_H6 = (int8_t)b[7]; in bmx280_store_raw_blob_h()
817 DPRINTF(sc, 1, ("%s: dig_T1: %d %04x\n",__func__,sc->sc_cal_blob.dig_T1,sc->sc_cal_blob.dig_T1)); in bmx280_refresh()
818 DPRINTF(sc, 1, ("%s: dig_T2: %d %04x\n",__func__,sc->sc_cal_blob.dig_T2,sc->sc_cal_blob.dig_T2)); in bmx280_refresh()
819 DPRINTF(sc, 1, ("%s: dig_T3: %d %04x\n",__func__,sc->sc_cal_blob.dig_T3,sc->sc_cal_blob.dig_T3)); in bmx280_refresh()
820 DPRINTF(sc, 1, ("%s: dig_P1: %d %04x\n",__func__,sc->sc_cal_blob.dig_P1,sc->sc_cal_blob.dig_P1)); in bmx280_refresh()
821 DPRINTF(sc, 1, ("%s: dig_P2: %d %04x\n",__func__,sc->sc_cal_blob.dig_P2,sc->sc_cal_blob.dig_P2)); in bmx280_refresh()
822 DPRINTF(sc, 1, ("%s: dig_P3: %d %04x\n",__func__,sc->sc_cal_blob.dig_P3,sc->sc_cal_blob.dig_P3)); in bmx280_refresh()
823 DPRINTF(sc, 1, ("%s: dig_P4: %d %04x\n",__func__,sc->sc_cal_blob.dig_P4,sc->sc_cal_blob.dig_P4)); in bmx280_refresh()
824 DPRINTF(sc, 1, ("%s: dig_P5: %d %04x\n",__func__,sc->sc_cal_blob.dig_P5,sc->sc_cal_blob.dig_P5)); in bmx280_refresh()
825 DPRINTF(sc, 1, ("%s: dig_P6: %d %04x\n",__func__,sc->sc_cal_blob.dig_P6,sc->sc_cal_blob.dig_P6)); in bmx280_refresh()
826 DPRINTF(sc, 1, ("%s: dig_P7: %d %04x\n",__func__,sc->sc_cal_blob.dig_P7,sc->sc_cal_blob.dig_P7)); in bmx280_refresh()
827 DPRINTF(sc, 1, ("%s: dig_P8: %d %04x\n",__func__,sc->sc_cal_blob.dig_P8,sc->sc_cal_blob.dig_P8)); in bmx280_refresh()
828 DPRINTF(sc, 1, ("%s: dig_P9: %d %04x\n",__func__,sc->sc_cal_blob.dig_P9,sc->sc_cal_blob.dig_P9)); in bmx280_refresh()
831 DPRINTF(sc, 1, ("%s: dig_H1: %d %02x\n",__func__,sc->sc_cal_blob.dig_H1,sc->sc_cal_blob.dig_H1)); in bmx280_refresh()
832 DPRINTF(sc, 1, ("%s: dig_H2: %d %04x\n",__func__,sc->sc_cal_blob.dig_H2,sc->sc_cal_blob.dig_H2)); in bmx280_refresh()
833 DPRINTF(sc, 1, ("%s: dig_H3: %d %02x\n",__func__,sc->sc_cal_blob.dig_H3,sc->sc_cal_blob.dig_H3)); in bmx280_refresh()
834 DPRINTF(sc, 1, ("%s: dig_H4: %d %04x\n",__func__,sc->sc_cal_blob.dig_H4,sc->sc_cal_blob.dig_H4)); in bmx280_refresh()
835 DPRINTF(sc, 1, ("%s: dig_H5: %d %04x\n",__func__,sc->sc_cal_blob.dig_H5,sc->sc_cal_blob.dig_H5)); in bmx280_refresh()
836 DPRINTF(sc, 1, ("%s: dig_H6: %d %02x\n",__func__,sc->sc_cal_blob.dig_H6,sc->sc_cal_blob.dig_H6)); in bmx280_refresh()
868 comp_temp = bmx280_compensate_T_int32(&sc->sc_cal_blob, m_temp, &t_fine); in bmx280_refresh()
905 comp_temp = bmx280_compensate_T_int32(&sc->sc_cal_blob, m_temp, &t_fine); in bmx280_refresh()
910 comp_press = bmx280_compensate_P_int64(&sc->sc_cal_blob, m_press, t_fine); in bmx280_refresh()
947 comp_temp = bmx280_compensate_T_int32(&sc->sc_cal_blob, m_temp, &t_fine); in bmx280_refresh()
952 comp_hum = bmx280_compensate_H_int32(&sc->sc_cal_blob, m_hum, t_fine); in bmx280_refresh()