Lines Matching refs:bmp280_data
83 struct bmp280_data { struct
119 int (*chip_config)(struct bmp280_data *); argument
120 int (*read_temp)(struct bmp280_data *, int *);
121 int (*read_press)(struct bmp280_data *, int *, int *);
122 int (*read_humid)(struct bmp280_data *, int *, int *);
150 static int bmp280_read_calib(struct bmp280_data *data, in bmp280_read_calib()
261 static u32 bmp280_compensate_humidity(struct bmp280_data *data, in bmp280_compensate_humidity()
286 static s32 bmp280_compensate_temp(struct bmp280_data *data, in bmp280_compensate_temp()
309 static u32 bmp280_compensate_press(struct bmp280_data *data, in bmp280_compensate_press()
335 static int bmp280_read_temp(struct bmp280_data *data, in bmp280_read_temp()
368 static int bmp280_read_press(struct bmp280_data *data, in bmp280_read_press()
401 static int bmp280_read_humid(struct bmp280_data *data, int *val, int *val2) in bmp280_read_humid()
437 struct bmp280_data *data = iio_priv(indio_dev); in bmp280_read_raw()
490 static int bmp280_write_oversampling_ratio_humid(struct bmp280_data *data, in bmp280_write_oversampling_ratio_humid()
507 static int bmp280_write_oversampling_ratio_temp(struct bmp280_data *data, in bmp280_write_oversampling_ratio_temp()
524 static int bmp280_write_oversampling_ratio_press(struct bmp280_data *data, in bmp280_write_oversampling_ratio_press()
546 struct bmp280_data *data = iio_priv(indio_dev); in bmp280_write_raw()
582 struct bmp280_data *data = iio_priv(indio_dev); in bmp280_read_avail()
611 static int bmp280_chip_config(struct bmp280_data *data) in bmp280_chip_config()
654 static int bme280_chip_config(struct bmp280_data *data) in bme280_chip_config()
688 static int bmp180_measure(struct bmp280_data *data, u8 ctrl_meas) in bmp180_measure()
733 static int bmp180_read_adc_temp(struct bmp280_data *data, int *val) in bmp180_read_adc_temp()
751 static int bmp180_read_calib(struct bmp280_data *data, in bmp180_read_calib()
794 static s32 bmp180_compensate_temp(struct bmp280_data *data, s32 adc_temp) in bmp180_compensate_temp()
806 static int bmp180_read_temp(struct bmp280_data *data, int *val) in bmp180_read_temp()
829 static int bmp180_read_adc_press(struct bmp280_data *data, int *val) in bmp180_read_adc_press()
853 static u32 bmp180_compensate_press(struct bmp280_data *data, s32 adc_press) in bmp180_compensate_press()
883 static int bmp180_read_press(struct bmp280_data *data, in bmp180_read_press()
907 static int bmp180_chip_config(struct bmp280_data *data) in bmp180_chip_config()
931 struct bmp280_data *data = d; in bmp085_eoc_irq()
941 struct bmp280_data *data) in bmp085_fetch_eoc_irq()
995 struct bmp280_data *data; in bmp280_common_probe()
1145 struct bmp280_data *data = iio_priv(indio_dev); in bmp280_runtime_suspend()
1153 struct bmp280_data *data = iio_priv(indio_dev); in bmp280_runtime_resume()