#include <linux/kernel.h>
#include <linux/iio/iio.h>
#include <linux/iio/buffer.h>
#include <linux/iio/trigger.h>
#include <linux/iio/triggered_buffer.h>
#include <linux/iio/common/st_sensors.h>
#include "st_pressure.h"
int st_press_trig_set_state(struct iio_trigger *trig, bool state)
{ … }
static int st_press_buffer_postenable(struct iio_dev *indio_dev)
{ … }
static int st_press_buffer_predisable(struct iio_dev *indio_dev)
{ … }
static const struct iio_buffer_setup_ops st_press_buffer_setup_ops = …;
int st_press_allocate_ring(struct iio_dev *indio_dev)
{ … }