Lines Matching refs:be16_to_cpu
226 calib->H4 = sign_extend32(((be16_to_cpu(tmp) >> 4) & 0xff0) | in bmp280_read_calib()
227 (be16_to_cpu(tmp) & 0xf), 11); in bmp280_read_calib()
412 adc_humidity = be16_to_cpu(tmp); in bmp280_read_humid()
758 *val = be16_to_cpu(tmp); in bmp180_read_adc_temp()
785 calib->AC1 = be16_to_cpu(buf[AC1]); in bmp180_read_calib()
786 calib->AC2 = be16_to_cpu(buf[AC2]); in bmp180_read_calib()
787 calib->AC3 = be16_to_cpu(buf[AC3]); in bmp180_read_calib()
788 calib->AC4 = be16_to_cpu(buf[AC4]); in bmp180_read_calib()
789 calib->AC5 = be16_to_cpu(buf[AC5]); in bmp180_read_calib()
790 calib->AC6 = be16_to_cpu(buf[AC6]); in bmp180_read_calib()
791 calib->B1 = be16_to_cpu(buf[B1]); in bmp180_read_calib()
792 calib->B2 = be16_to_cpu(buf[B2]); in bmp180_read_calib()
793 calib->MB = be16_to_cpu(buf[MB]); in bmp180_read_calib()
794 calib->MC = be16_to_cpu(buf[MC]); in bmp180_read_calib()
795 calib->MD = be16_to_cpu(buf[MD]); in bmp180_read_calib()