#ifndef ST_PRESS_H
#define ST_PRESS_H
#include <linux/types.h>
#include <linux/iio/common/st_sensors.h>
enum st_press_type { … };
#define LPS001WP_PRESS_DEV_NAME …
#define LPS25H_PRESS_DEV_NAME …
#define LPS331AP_PRESS_DEV_NAME …
#define LPS22HB_PRESS_DEV_NAME …
#define LPS33HW_PRESS_DEV_NAME …
#define LPS35HW_PRESS_DEV_NAME …
#define LPS22HH_PRESS_DEV_NAME …
#define LPS22DF_PRESS_DEV_NAME …
static __maybe_unused const struct st_sensors_platform_data default_press_pdata = …;
#ifdef CONFIG_IIO_BUFFER
int st_press_allocate_ring(struct iio_dev *indio_dev);
int st_press_trig_set_state(struct iio_trigger *trig, bool state);
#define ST_PRESS_TRIGGER_SET_STATE …
#else
static inline int st_press_allocate_ring(struct iio_dev *indio_dev)
{
return 0;
}
#define ST_PRESS_TRIGGER_SET_STATE …
#endif
#endif