Lines Matching defs:data

305 static int bmp280_read_calib(struct bmp280_data *data)  in bmp280_read_calib()
343 static int bme280_read_calib(struct bmp280_data *data) in bme280_read_calib()
412 static int bme280_read_humid_adc(struct bmp280_data *data, u16 *adc_humidity) in bme280_read_humid_adc()
440 static u32 bme280_compensate_humidity(struct bmp280_data *data, in bme280_compensate_humidity()
458 static int bmp280_read_temp_adc(struct bmp280_data *data, u32 *adc_temp) in bmp280_read_temp_adc()
487 static s32 bmp280_calc_t_fine(struct bmp280_data *data, u32 adc_temp) in bmp280_calc_t_fine()
500 static int bmp280_get_t_fine(struct bmp280_data *data, s32 *t_fine) in bmp280_get_t_fine()
514 static s32 bmp280_compensate_temp(struct bmp280_data *data, u32 adc_temp) in bmp280_compensate_temp()
519 static int bmp280_read_press_adc(struct bmp280_data *data, u32 *adc_press) in bmp280_read_press_adc()
548 static u32 bmp280_compensate_press(struct bmp280_data *data, in bmp280_compensate_press()
574 static int bmp280_read_temp(struct bmp280_data *data, s32 *comp_temp) in bmp280_read_temp()
588 static int bmp280_read_press(struct bmp280_data *data, u32 *comp_press) in bmp280_read_press()
607 static int bme280_read_humid(struct bmp280_data *data, u32 *comp_humidity) in bme280_read_humid()
630 struct bmp280_data *data = iio_priv(indio_dev); in bmp280_read_raw_impl() local
745 struct bmp280_data *data = iio_priv(indio_dev); in bmp280_read_raw() local
756 static int bme280_write_oversampling_ratio_humid(struct bmp280_data *data, in bme280_write_oversampling_ratio_humid()
781 static int bmp280_write_oversampling_ratio_temp(struct bmp280_data *data, in bmp280_write_oversampling_ratio_temp()
806 static int bmp280_write_oversampling_ratio_press(struct bmp280_data *data, in bmp280_write_oversampling_ratio_press()
831 static int bmp280_write_sampling_frequency(struct bmp280_data *data, in bmp280_write_sampling_frequency()
856 static int bmp280_write_iir_filter_coeffs(struct bmp280_data *data, int val) in bmp280_write_iir_filter_coeffs()
885 struct bmp280_data *data = iio_priv(indio_dev); in bmp280_write_raw_impl() local
920 struct bmp280_data *data = iio_priv(indio_dev); in bmp280_write_raw() local
936 struct bmp280_data *data = iio_priv(indio_dev); in bmp280_read_avail() local
986 static int bmp280_chip_config(struct bmp280_data *data) in bmp280_chip_config()
1017 struct bmp280_data *data = iio_priv(indio_dev); in bmp280_trigger_handler() local
1107 static int bme280_chip_config(struct bmp280_data *data) in bme280_chip_config()
1130 struct bmp280_data *data = iio_priv(indio_dev); in bme280_trigger_handler() local
1231 static int bmp380_cmd(struct bmp280_data *data, u8 cmd) in bmp380_cmd()
1269 static int bmp380_read_temp_adc(struct bmp280_data *data, u32 *adc_temp) in bmp380_read_temp_adc()
1298 static s32 bmp380_calc_t_fine(struct bmp280_data *data, u32 adc_temp) in bmp380_calc_t_fine()
1312 static int bmp380_get_t_fine(struct bmp280_data *data, s32 *t_fine) in bmp380_get_t_fine()
1326 static int bmp380_compensate_temp(struct bmp280_data *data, u32 adc_temp) in bmp380_compensate_temp()
1338 static int bmp380_read_press_adc(struct bmp280_data *data, u32 *adc_press) in bmp380_read_press_adc()
1367 static u32 bmp380_compensate_press(struct bmp280_data *data, in bmp380_compensate_press()
1408 static int bmp380_read_temp(struct bmp280_data *data, s32 *comp_temp) in bmp380_read_temp()
1422 static int bmp380_read_press(struct bmp280_data *data, u32 *comp_press) in bmp380_read_press()
1440 static int bmp380_read_calib(struct bmp280_data *data) in bmp380_read_calib()
1499 static int bmp380_preinit(struct bmp280_data *data) in bmp380_preinit()
1505 static int bmp380_chip_config(struct bmp280_data *data) in bmp380_chip_config()
1610 struct bmp280_data *data = iio_priv(indio_dev); in bmp380_trigger_handler() local
1701 static int bmp580_soft_reset(struct bmp280_data *data) in bmp580_soft_reset()
1738 static int bmp580_nvm_operation(struct bmp280_data *data, bool is_write) in bmp580_nvm_operation()
1813 static int bmp580_read_temp(struct bmp280_data *data, s32 *raw_temp) in bmp580_read_temp()
1835 static int bmp580_read_press(struct bmp280_data *data, u32 *raw_press) in bmp580_read_press()
1897 struct bmp280_data *data = priv; in bmp580_nvmem_read_impl() local
1949 struct bmp280_data *data = priv; in bmp580_nvmem_read() local
1963 struct bmp280_data *data = priv; in bmp580_nvmem_write_impl() local
2024 struct bmp280_data *data = priv; in bmp580_nvmem_write() local
2035 static int bmp580_preinit(struct bmp280_data *data) in bmp580_preinit()
2082 static int bmp580_chip_config(struct bmp280_data *data) in bmp580_chip_config()
2192 struct bmp280_data *data = iio_priv(indio_dev); in bmp580_trigger_handler() local
2266 static int bmp180_wait_for_eoc(struct bmp280_data *data, u8 ctrl_meas) in bmp180_wait_for_eoc()
2317 static int bmp180_read_temp_adc(struct bmp280_data *data, u32 *adc_temp) in bmp180_read_temp_adc()
2339 static int bmp180_read_calib(struct bmp280_data *data) in bmp180_read_calib()
2385 static s32 bmp180_calc_t_fine(struct bmp280_data *data, u32 adc_temp) in bmp180_calc_t_fine()
2395 static int bmp180_get_t_fine(struct bmp280_data *data, s32 *t_fine) in bmp180_get_t_fine()
2409 static s32 bmp180_compensate_temp(struct bmp280_data *data, u32 adc_temp) in bmp180_compensate_temp()
2414 static int bmp180_read_temp(struct bmp280_data *data, s32 *comp_temp) in bmp180_read_temp()
2428 static int bmp180_read_press_adc(struct bmp280_data *data, u32 *adc_press) in bmp180_read_press_adc()
2457 static u32 bmp180_compensate_press(struct bmp280_data *data, u32 adc_press, in bmp180_compensate_press()
2488 static int bmp180_read_press(struct bmp280_data *data, u32 *comp_press) in bmp180_read_press()
2507 static int bmp180_chip_config(struct bmp280_data *data) in bmp180_chip_config()
2516 struct bmp280_data *data = iio_priv(indio_dev); in bmp180_trigger_handler() local
2584 struct bmp280_data *data = d; in bmp085_eoc_irq() local
2594 struct bmp280_data *data) in bmp085_fetch_eoc_irq()
2626 struct bmp280_data *data = iio_priv(indio_dev); in bmp280_buffer_preenable() local
2635 struct bmp280_data *data = iio_priv(indio_dev); in bmp280_buffer_postdisable() local
2648 static void bmp280_pm_disable(void *data) in bmp280_pm_disable()
2657 static void bmp280_regulators_disable(void *data) in bmp280_regulators_disable()
2671 struct bmp280_data *data; in bmp280_common_probe() local
2822 struct bmp280_data *data = iio_priv(indio_dev); in bmp280_runtime_suspend() local
2830 struct bmp280_data *data = iio_priv(indio_dev); in bmp280_runtime_resume() local